#1 Re: PDF Engine » Converting EMF content containing the Calibri font to PDF » 2025-02-07 12:46:07

Hello,
as you already stated:
The two characters "ft" are transformed into one character. This is called ligature.

I create the EMF files myself - so that is the reason why I know that the content is created via ExtTextout.
The Delphi code looks like this:
              ExtTextout (Preview.Canvas.Handle, nXPos, nYPos, ETO_GLYPH_INDEX, nil, PChar(FontObjects.GR.lpGlyphs), FontObjects.GR.nGlyphs, PInteger(FontObjects.GR.lpDx))

I use the current SynPDF version (1.18).

Thanks a lot!

#3 Re: PDF Engine » Converting EMF content containing the Calibri font to PDF » 2025-02-06 16:31:10

Hello,
I just set this option - without success :-(.
Unfortunately, I cannot attach the small sample EMF file ...

#4 PDF Engine » Converting EMF content containing the Calibri font to PDF » 2025-02-06 15:58:40

Juergen_Bauer
Replies: 7

Hello,

I would like to use your great component to convert EMF content to PDF.
But when the EMF file contains text with the font Calibri and is printed via:
   ExtTextout (Preview.Canvas.Handle, nXPos, nYPos, ETO_GLYPH_INDEX, nil, PChar(FontObjects.GR.lpGlyphs), FontObjects.GR.nGlyphs, PInteger(FontObjects.GR.lpDx))

the resulting PDF file "looses" some characters.
So if I print the German word "Auftrag", the PDF contains only "Au rag" ...

Any ideas?

Thanks a lot!

Board footer

Powered by FluxBB