[Lazarus] Examples of CairoCanvas usage

Henry Vermaak henry.vermaak at gmail.com
Tue Feb 10 15:52:27 CET 2015

On Tue, Feb 10, 2015 at 03:19:23PM +0100, Michael Van Canneyt wrote:
> On Tue, 10 Feb 2015, Juha Manninen wrote:
> >On Tue, Feb 10, 2015 at 2:27 PM, Michael Van Canneyt
> ><michael at freepascal.org> wrote:
> >>It is a completely reworked version of the one in fpGUI, without
> >>external dependencies but with serious improvements: the font
> >>embedding in the fpgui version is, well, rudimentary, so that has
> >>been completely reworked, it can now embed fonts on-the-fly, without
> >>external tools :)
> >>
> >>I also made a start of improving memory usage, page caching and made
> >>the start for compression.
> >>
> >>I haven't committed the reworked version yet, but it is nearly
> >>complete, so you can expect this soon.
> >
> >Sounds very good! This will be included in some future FPC release.
> >Even better!  I will be following the trunk commits.
> >
> >BTW, does anybody know how to create PDFs with embedded fonts in a
> >server without X or any other GUI?  What libs are needed?
> You can check libharu.

The only snag is that the Unicode support hasn't been released last time
I checked, so you'll have to build the development version from source.
We embed the Liberation TrueType fonts and that works quite well.


More information about the Lazarus mailing list