[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

RE: Nightly Docs (on sourceforge)

From: Lübbe Onken <l.onken_at_rac.de>
Date: 2006-03-01 10:05:03 CET

Stefan Küng wrote:

> the 'tree view' on the left (where you can quick jump to the chapters)
> have the correct (at least I think so, can't really read them) chars,
> but on the right side where the actual document is, only '#'
> chars are shown.

I think that the stylesheets just use a standard windows font there, but the
following lines in xsl/zh_CN/pdfdoc.xsl

<xsl:param name="body.font.family" select="'simsun'"></xsl:param>
<xsl:param name="monospace.font.family" select="'simsun'"></xsl:param>
<xsl:param name="title.font.family" select="'simhei'"></xsl:param>

tell xsltproc to use a different font for these.

The Chinese pdfdoc.xsl still contains some references to the "gothic" font,
which I think is wrong, since gothic is for Japanese. I'll change these to
simhei.

> Any other idea what I might have done wrong?

I guess the bug is very simple. Copy userconfig.template.xml to
userconfig.xml in the xsl/ja and xsl/zh_CN subdirectories and adjust the
paths to match your settings.

userconfig.xml tells doc.build (fop) where to find the fonts. The doc build
script doesn't copy this file automatically and it's documented nowhere...

I think you should have seen a warning that fop cannot find the fonts.

Cheers
- Lübbe

--
       ___
  oo  // \\      "De Chelonian Mobile"
 (_,\/ \_/ \     TortoiseSVN
   \ \_/_\_/>    The coolest Interface to (Sub)Version Control
   /_/   \_\     http://tortoisesvn.tigris.org
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: dev-help@tortoisesvn.tigris.org
Received on Wed Mar 1 10:06:13 2006

This is an archived mail posted to the TortoiseSVN Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.