xmlgraphics-fop-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From <lee.gar...@ubs.com>
Subject Problem with multiple font-family values
Date Mon, 06 Mar 2006 15:58:06 GMT
I have a block of text which contains English and Japanese (kanji) characters.  I'd like the
kanji to be displayed in Arial Unicode with the English characters using Arial Narrow. Using
FOP 0.20.5.

I've tried various options along the lines of

<fo:block
font-family="ArialNarrow, ArialUni" font-selection-strategy="character-by-character">
English is Arial Narrow. 日本語はゴシックになります
</fo:block>

The first listed font appears to get used.  In the above example the English is OK and the
kanji glyphs display as squares in the output pdf.

With font-family="ArialUni, ArialNarrow" the kanji displays OK but the English is also using
ArialUni glyphs.  I've tried with and without font-selection-strategy.

What am I doing wrong?

Thanks,

Lee 



Visit our website at http://www.ubs.com

This message contains confidential information and is intended only 
for the individual named.  If you are not the named addressee you 
should not disseminate, distribute or copy this e-mail.  Please 
notify the sender immediately by e-mail if you have received this 
e-mail by mistake and delete this e-mail from your system.

E-mail transmission cannot be guaranteed to be secure or error-free 
as information could be intercepted, corrupted, lost, destroyed, 
arrive late or incomplete, or contain viruses.  The sender therefore 
does not accept liability for any errors or omissions in the contents 
of this message which arise as a result of e-mail transmission.  If 
verification is required please request a hard-copy version.  This 
message is provided for informational purposes and should not be 
construed as a solicitation or offer to buy or sell any securities or 
related financial instruments.

Mime
View raw message