#1 Re: PDF Engine » Embedded font problems with barcode font "Code 2 of 5 interleaved" » 2013-07-18 09:24:51

TSW

thank you, both of you.
I did a workaround by embedding every font completly if they have at least one widechar.
it works fine. We are using "2 of 5" and "code 128" both of them only work, if they are completly embedded.

#2 Re: PDF Engine » Embedded font problems with barcode font "Code 2 of 5 interleaved" » 2013-07-16 15:13:36

TSW

CreateFontPackage returns 0 = ok.
But interesting is that the font uses only widechar. i.e 61473,61477,61490,61562,61563,61641,61642

#3 PDF Engine » Embedded font problems with barcode font "Code 2 of 5 interleaved" » 2013-07-16 09:52:21

TSW
Replies: 6

Hello!

I've got a problem with embedding the font "Code 2 of 5 interleaved" ( Grandzebu. 2005. All Rights Reserved - GNU General Public License ).
The font is not rendered correctly if i don't embed the whole TTF ( EmbeddedWholeTTF:=FALSE ).
The font is listed as embeded ( pdffont )

Code2of5interleaved                  TrueType          yes no  no      14  0
Code2of5interleaved                  CID TrueType      yes no  yes   16  0

but even if i have installed the font on my pc, no text(code) is visible.

the main problem is, if i set EmbeddedWholeTTF:=TRUE, the pdf file gets really fast, really big. Maybe a problem with the font "Arial Unicode MS". Because if i do not exclude this font with (EmbeddedTTFIgnore) , two pdf pages are about 45MB.

there is another topic with the same problem "http://synopse.info/forum/viewtopic.php?id=889" (Embedding a TTF barcode font).
Sadly the author did not wrote how he fixed the problem.

Any other font works.

Using synpdf 1.18.
i'm drawing from an already created canvas to the TPDFDocumentGDI.vclcanvas

Best
Sven

Board footer

Powered by FluxBB