#1 2015-08-31 23:58:58

Maklom
Member
Registered: 2015-08-31
Posts: 2

Embedding a TTF

I have a simple question that I hope has a simple answer:

What is the difference between EmbeddedTTF and EmbeddedWholeTTF?

I am trying to embed a TTF logo in a PDF generated from a QuickReport so that users of the PDF can see the logo without having the TTF file installed.
I used EmbeddedTTF=TRUE which worked but the logo image in the PDF was not very clear. When I also used EmbeddedWholeTTF=TRUE there was no difference other than the size of the file increased dramatically.

I think I am missing something but not sure what, any clarity here would be much appreciated.

Cheers.

Offline

#2 2015-09-01 07:36:09

Chaa
Member
Registered: 2011-03-26
Posts: 244

Re: Embedding a TTF

If EmbeddedTTF = True then in PDF embedded font subset - only the font glyphs used in the current document.

If EmbeddedWholeTTF = True then whole font file embedded as is.

Offline

#3 2015-09-07 04:40:16

Maklom
Member
Registered: 2015-08-31
Posts: 2

Re: Embedding a TTF

Thankyou for clarifying, but it still doesn't explain why the TTF logo is really bad quality when EmbeddedTTF=TRUE.

Also, I have tested a file around the office here including the TTF logo using just TQRSynPDFDocumentFilter.AddTTFont.
Some machines can see the logo some cannot. None of the machines had the TTF file installed. Why am I getting different results?

Offline

#4 2015-09-09 11:30:47

Chaa
Member
Registered: 2011-03-26
Posts: 244

Re: Embedding a TTF

SynPDF has some problems when embedding symbol or non-standard fonts.
See also Symbol fonts in PDF.

Offline

Board footer

Powered by FluxBB