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

Re: Building Japanese documentation

From: <nabetaro_at_caldron.jp>
Date: 2005-11-30 02:05:28 CET

Hi, Team.

On Tue, 29 Nov 2005 22:08:48 +0100
Stefan K$(D+d(Bng <tortoisesvn@gmail.com> wrote:

> L$(D+d(Bbbe Onken wrote:
> > Hi Folks (especially nabetaro)
> >
> > I'm currently restructuring the build process for the TortoiseSVN docs, so
> > that other languages and some specialities like different fonts (e.g. for
> > Japanese) can be accomodated.
> >
> > I can sucessfully build incomplete Japanese docs when I don't use the fonts
> > specified in userconfig.xml. The resulting pdf contains japanese characters
> > in the table of contents but nowhere else, which is ok since the userconfig
> > fonts are not used.
> >
> > If I use userconfig.xml fop fails with an out of memory error. Any idea why
> > this happens?
>
> Maybe we have to set the console locale to japanese first? My guess is
> that fop doesn't know about DBCS unless the locale is set right, and
> with DBCS, a char can have multiple bytes.

Memories that are used by Java VM may be small.
Last line In Tools/fop/fop.bat:
java -cp "%LOCALCLASSPATH%" org.apache.fop.apps.Fop %1 %2 %3 %4 %5 %6 %7 %8
change to
java -Xmx256M -cp "%LOCALCLASSPATH%" org.apache.fop.apps.Fop %1 %2 %3 %4 %5 %6 %7 %8
Please try that.

> > The chm documentation created looks half way OK. At least the content pages
> > look right, but the table of contents contains a lot of rectangles instead
> > of proper characters.
>
> Rectangles are better than question marks ;)
> Seriously: do you have japanese fonts installed on your OS? If not, the
> chars indicate that your font doesn't have the char in it which should
> be shown.

I think so. ;-)
You see Japanese manuals (html, pdf and chm) I built in
http://www.caldron.jp/~nabetaro/svn/index.html (Japanese!).
Could you see the page with Internet Explorer?
It may install Japanese fonts.

Regards.

-- 
+--------------------------------------------------------+
 KURASAWA Nozomu (nabetaro)  <nabetaro @ caldron.jp>
 GnuPG FingerPrint:
    C4E5 7063 FD75 02EB E71D  559B ECF6 B9D2 8147 ADFB
+--------------------------------------------------------+
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: dev-help@tortoisesvn.tigris.org
Received on Wed Nov 30 02:06:54 2005

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.