OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

docbook-apps message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: Re: [docbook-apps] Unicode check mark missing in XSL-FO PDF output


FOP makes exactly the same font substitutions when using the stock stylesheets and my customization:
Replacing Symbol, normal 700 with Symbol, normal 400
Replacing ZapfDingbats normal 700 with SapfDingbats, normal 400
Replacing ZapfDingbats italic 400 with SapfDingbats, normal 400
 
The check mark is displayed as a hash (#) with the stock stylesheets and as a blank square with customization.
 
Fonts used in PDF are:
 
Stock stylesheets: CourierStd, CourierStd-Bold, Arial-BoldMT, TimesNewRomanPS-BoldMT, TimesNewRomanPS-ItalicMT, and TimesNewRomanPSMT
 
Customization: CourierStd, CourierStd-Bold, Verdana (normal, bold, and italic), and TimesNewRomanPSMT
 
As you can see, Symbol and ZapfDingbats do not appear in the PDF.
FOP is configured with the auto-detect parameter and it correctly detects and embeds Verdana
 
 

-Bergfrid
On Mon, Nov 30, 2009 at 7:50 PM, Dick Hamilton <rlhamilton@frii.com> wrote:
I'm pretty sure the problem is in the font selection, so I'd suggest you check the pdf file to see what fonts it thinks it is using.
 
If they aren't what you expect, then most likely the problem is either in your customization or your font setup for fop.
 
It may also be worth trying to generate the pdf using the standard stylesheets with no stylesheet customization. That will help you eliminate your customization as the problem.
 
Hope that helps.
 
Dick Hamilton
---------------------------------
XML Press
XML for Technical Communicators
http://xmlpress.net
(970) 231-3624
-----Original Message-----
From: Bergfrid Skaara [mailto:bergfrid.digitaldias@gmail.com]
Sent: Thursday, November 26, 2009 9:41 AM
To: DocBook Apps
Subject: [docbook-apps] Unicode check mark missing in XSL-FO PDF output

Trying to use the unicode check mark symbol (&check; Hex2713) from isopub.ent, but end up with a blank square in the PDF.

I use oXygen 11 (saxon 6.5.5 and FOP) and DocBook 5 with the 1.75.2 stylesheets.The body-font-family is Verdana, the symbol-font-family is the stylesheet default.

The problem is not the entity files, oXygen resolves the entity and displays the check mark correctly on screen.
I've tried to wrap the entity in a fo-inline by the suggested template customization for FOP. This does not work for me.

I guess it is either FOP or Acrobat that is messing up, but how do I find out which one, and how do I solve it?





[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]