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] Greek Symbol problems with fop 0.95

I believe this is a FOP limitation,including 0.95, supposedly fixed in the 
version[1].  Is anyone using the trunk version of FOP that can test this


The current workaround is to put the character inside an fo:inline with an 
explicit setting of font-family="Symbol". My book describes a way to do 


Bob Stayton
Sagehill Enterprises

----- Original Message ----- 
From: "DavePawson" <davep@dpawson.co.uk>
To: "Marcel Tromp" <mtromp.docbook@gmail.com>
Cc: <docbook-apps@lists.oasis-open.org>
Sent: Sunday, February 08, 2009 1:05 AM
Subject: Re: [docbook-apps] Greek Symbol problems with fop 0.95

> Marcel Tromp wrote:
>> I am including unicode 0x03b8 (theta) in my docbook xml. Fop seems unable
>> to render this anything else than '#'. I am only using base-14 fonts and
>> theta should be included in its symbol font.
>> Any idea how to make this work?
> Find out how to ask FOP to load that font into the PDF
> http://xmlgraphics.apache.org/fop/trunk/fonts.html#Base-14+Fonts
> Are you sure theta is 'included' in that font?
> Every font contains a particular set of glyphs. If no glyph can be found
> for a given character, FOP will issue a warning and use the glpyh for "#"
> (if available) instead. Before it does that, it consults a (currently
> hard-coded) registry of glyph substitution groups (see Glyphs.java in
> Apache XML Graphics Commons). This registry can supply alternative glyphs
> in some cases (like using space when a no-break space is requested). But
> there's no guarantee that the result will be as expected (for example, in
> the case of hyphens and similar glyphs). A better way is to use a font
> that has all the necessary glyphs. This glyph substitution is only a last
> resort.
> regards
> -- 
> Dave Pawson
> http://www.dpawson.co.uk
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: docbook-apps-unsubscribe@lists.oasis-open.org
> For additional commands, e-mail: docbook-apps-help@lists.oasis-open.org

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