There are so many problems here that I now think the only way to
actually get this to work is to make a copy of Forrest via ant and
modify the Forrest files, also via ant.  I've set this up for the
ManifoldCF site build now and we should be able to work our way
through it a problem at a time, until we get it to work.

Karl

On Thu, Jan 26, 2012 at 11:01 PM, Hitoshi Ozawa
<ozawa_hito...@ogis-ri.co.jp> wrote:
> Hi Karl,
>
> It's really not just about the font. document-to-fo.xsl, language="ja"
> attribute should be added to the
> fo:root element when generating Japanese pdf files.
>
> So, to put it all together, document-to-fo.xsl should be modified to contain
> a when block to check lang and output
> an appropriate font and language.
>
> <xsl:choose>
> <xsl:when test='lang("ja")'>IPAPGothic</xsl:when>
> <xsl:otherwise>serif</xsl:otherwise>
> </xsl:choose>
>
> The question is if there is a more general way to do this than editing the
> xsl file.
>
> H.Ozawa
>
>
> (2012/01/27 11:38), Karl Wright wrote:
>>
>> Hello,
>>
>> I have a site which has different languages in the same site.  This
>> works OK except when it comes to PDF generation.  There seems to be no
>> font choice that covers all languages; I need Dejavu for latin
>> languages, and IPA for Japanese.  The problem is that I can't figure
>> out how to configure Forrest to use one set of fonts for part of the
>> site and a different set for another, for PDF generation.  Is this
>> even possible?
>>
>> Thanks,
>> Karl
>>
>>
>
>
>