← Prev in month
← Prev in thread
DOCBOOK-APPS: i18n and fo 1.29
Hi, all.
I've been working on getting the "current" release (as opposed to the stated
experimental release), version 1.29, working with Japanese.
jpfop worked fine with the supplied .fo examples, but not with the
DocBook->FO style transforms. After investigating, I determined that it was
because of the default fonts.
The first thing I did was set the fonts in param.xsl to known working
Japanese fonts. This got my task to compile a little further, but it still
failed. Looking at the .fo file, I found that the fo:root object still had a
font-family="Times Roman" despite my changing all of the params.
Further investigation showed a number of places where fixed fonts were used
instead of parameter fonts. So I went through and "fixed" them.
The included patch/diff is from the 1.29 release with fo:root's font-family
set to {$body.font.family} and a number of monospace objects set to
{$monospace.font.family}.
With this and jpfop (and by setting the fonts in param.xsl), contrary to what
many web pages say, DocBook --> PDF is now possible in Japanese.
Has this been fixed in the "experimental" version? And would you recommend
moving to it form 1.29?
--
Michael Westbay
Work: Beacon-IT http://www.beacon-it.co.jp/
Home: http://www.seaple.icc.ne.jp/~westbay
Commentary: http://www.japanesebaseball.com/
← Prev in month
← Prev in thread