Next in thread → Next in month →

Re: [docbook-apps] DocBook-xsl and 'fo:character'

From
Jirka Kosek <>
Date
2009-01-16T11:03:19+00:00
ID
Thread
Re: [docbook-apps] DocBook-xsl and 'fo:character'
Dongsheng Song wrote:
> Since FOP only implementes "word-by-word" font selection stragey,
> therefore, for Chinese xml, I have been encounter missing glyph
> many times.
> 
> How can I specify use 'fo:character' for every Chinese character
> in the xsl ?

Well, you can override template for text() and use string functions to
lookup Chinese characters and wrap them in fo:character.

But I think that easier (and more performant) will be just to
postprocess resulting XSL-FO.

				Jirka

-- 
------------------------------------------------------------------
  Jirka Kosek      e-mail:       http://xmlguru.cz
------------------------------------------------------------------
       Professional XML consulting and training services
  DocBook customization, custom XSLT/XSL-FO document processing
------------------------------------------------------------------
 OASIS DocBook TC member, W3C Invited Expert, ISO JTC1/SC34 member
------------------------------------------------------------------
Next in thread → Next in month →