Re: [fpc-pascal] Is there a CSS parser in FPC?

2015-03-05 Thread Graeme Geldenhuys
On 2015-03-05 14:47, Andrew Haines wrote: It was added for lazarus/lhelp and wasn't part of the original ipro component so it's mostly separated from ipro. Thank you Andrew. I'll take a second look. Regards, - Graeme - -- fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal

Re: [fpc-pascal] Is there a CSS parser in FPC?

2015-03-05 Thread Andrew Haines
On 03/03/2015 07:41 AM, Graeme Geldenhuys wrote: Hi, As the subject says, I would like to know if there is a CSS parser included with FPC (2.6.4 or Trunk)? No issue if there isn't, as I might not initially need one for the project I want to start - but looking around in the mean time wouldn't

[fpc-pascal] Is there a CSS parser in FPC?

2015-03-03 Thread Graeme Geldenhuys
Hi, As the subject says, I would like to know if there is a CSS parser included with FPC (2.6.4 or Trunk)? No issue if there isn't, as I might not initially need one for the project I want to start - but looking around in the mean time wouldn't hurt. I'm thinking of writing a couple of articles

Re: [fpc-pascal] Is there a CSS parser in FPC?

2015-03-03 Thread dev . dliw
Hi, you might also want to take a look at https://code.google.com/p/thtmlviewer It's still actively developed, so the CSS parser should be more advanced than the one of TurboPower IP. dliw ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org

Re: [fpc-pascal] Is there a CSS parser in FPC?

2015-03-03 Thread Graeme Geldenhuys
On 2015-03-03 14:33, Michael Van Canneyt wrote: FPC doesn't contain one, but I would be glad to put one in the source tree. Thanks for the info. Closer to the time I'll let you know so you can decide if the code is worthy of finding a home in FCL. ;-) Presumably the HTML browser of

Re: [fpc-pascal] Is there a CSS parser in FPC?

2015-03-03 Thread Dmitry Boyarintsev
On Tue, Mar 3, 2015 at 1:09 PM, Graeme Geldenhuys mailingli...@geldenhuys.co.uk wrote: Yes, and no problem either. FreeType (library or Object Pascal implementation) doesn't require a GUI toolkit. Hmm. I didn't consider that as an option. Ok, can it handle complex scripts languages such as

Re: [fpc-pascal] Is there a CSS parser in FPC?

2015-03-03 Thread Graeme Geldenhuys
On 2015-03-03 18:18, Dmitry Boyarintsev wrote: Ok, can it handle complex scripts languages such as Arabic or Hindi? FreeText is the primary text renderer for X11. So if Linux can display such text, then I guess it answers your question. ;-) The primary goal of this project is to document how a

Re: [fpc-pascal] Is there a CSS parser in FPC?

2015-03-03 Thread Dmitry Boyarintsev
On Tue, Mar 3, 2015 at 12:55 PM, Graeme Geldenhuys mailingli...@geldenhuys.co.uk wrote: My plan is to develop a 100% non-GUI-toolkit-dependent browser engine, which is 100% doable. The only (optional) GUI toolkit dependency would be the rasterizer integration for LCL or fpGUI - the last step

Re: [fpc-pascal] Is there a CSS parser in FPC?

2015-03-03 Thread Graeme Geldenhuys
On 2015-03-03 17:59, Dmitry Boyarintsev wrote: Can it be the last step? You need to get font information somehow for text measurements, which should come from the underlying GUI toolkit only. Yes, and no problem either. FreeType (library or Object Pascal implementation) doesn't require a GUI

Re: [fpc-pascal] Is there a CSS parser in FPC?

2015-03-03 Thread Graeme Geldenhuys
On 2015-03-03 16:13, dev.d...@gmail.com wrote: you might also want to take a look at https://code.google.com/p/thtmlviewer Thanks for the info. I see it is a descendant of PBear.com code. I remember using that back in 1998. :) It's still actively developed, so the CSS parser should be more

Re: [fpc-pascal] Is there a CSS parser in FPC?

2015-03-03 Thread Michael Van Canneyt
On Tue, 3 Mar 2015, Graeme Geldenhuys wrote: Hi, As the subject says, I would like to know if there is a CSS parser included with FPC (2.6.4 or Trunk)? No issue if there isn't, as I might not initially need one for the project I want to start - but looking around in the mean time wouldn't