WPDF4 embedded font

Questions about wPDF - the generic PDF printer for Delphi
darren
Posts: 23
Joined: Wed Aug 31, 2005 12:21 am

WPDF4 embedded font

Postby darren » Mon May 22, 2017 5:34 pm

I have a situation where a letter contains bullets that are wingdings. If I create the pdf from the existing rtf, with the fontmode wpEmbedSubsetTrueType_UsedChar, the bullets are empty boxes. If I use about any other embed option, the bullets come out correct. I would like to use the UsedChar option because of the smaller resulting file size. Using WPDF2, the resulting pdf has the correct bullets with UsedChar. The WPDF2 file size is the same size as one created with wpEmbedTrueTypeFonts; so maybe that is why it is generating it correctly.

Any thoughts?

Thanks

wpsupport
Site Admin
Posts: 7346
Joined: Fri Oct 24, 2003 4:06 pm
Contact:

Re: WPDF4 embedded font

Postby wpsupport » Wed May 24, 2017 9:08 am

Hi,

I would recommend to add Wingdings and any symbol fonts to the string list Type3Fonts. This makes sure they are embedded the smallest possible way.

This happens automatically if the flag wpAllSymbolFontsAsGlyph is activated in the Options property.

Julian

darren
Posts: 23
Joined: Wed Aug 31, 2005 12:21 am

Re: WPDF4 embedded font

Postby darren » Wed May 24, 2017 1:58 pm

Thank you! That worked for me.

I have one other odd scenario with bullets. The rtf has a list of bulleted items. The first bulleted line is bold. The bullet for that line does not display, but the others do. The font looks to be "Symbol", so I guess the bullet would be Symbol, Bold. I have tried all kinds of combinations and manipulating the rtf, but it always results in a "blank" display when the first letter of the line following the bullet is bolded. The text itself is Arial 11.

Any thoughts would be greatly appreciated.

Thanks again!

wpsupport
Site Admin
Posts: 7346
Joined: Fri Oct 24, 2003 4:06 pm
Contact:

Re: WPDF4 embedded font

Postby wpsupport » Tue May 30, 2017 4:43 am

Hi,

this appears to be a WPTools Issue, not wPDF - is this correct.

You may mail a test file (RTF) to support so we can check this out.

Julian


Return to “wPDF”



Who is online

Users browsing this forum: No registered users and 3 guests