Mailinglist Archive: opensuse-doc (6 mails)

< Previous Next >
Re: [opensuse-doc] Re: questions for susedoc (Japanese fonts in susedoc)
  • From: Thomas Schraitle <thomas.schraitle@xxxxxxx>
  • Date: Fri, 22 Jan 2010 09:10:33 +0100
  • Message-id: <201001220910.33731.thomas.schraitle@xxxxxxx>

On Friday 22 January 2010 Yasuhiko Kamata wrote:

But some sorts of tagged texts in PDF were displayed with blank.
These are "guimenu", "replaceable", and "xref" (referenced text).

Do you use FOP or XEP for creating the PDF? I guess, it's FOP, right?

Yes, I'm now using FOP. XEP is not installed.

I've checked out your SVN repository and tested it with XEP. Some graphic
files were missing, but that's ok as you concentrate on the text.

At first, I had some problems with an "out of memory error". Luckily I could
solve it with an export XEP_MEMORY="-Xmx1100m". After this the PDF was created
without errors.

You can see the results here:
(It takes some time to synchronize.)

If you don't mind, I would like to suggest some improvements in your SVN

1. Rename the ENV file ENV-opensuse-html as it is misleading. For example,
something like ENV-opensuse is probably enough. This applies also to the
directory. Maybe it is even better to move all the contents in it one level
higher and remove the directory alltogether. But this is just an idea, maybe
you want to structure it further.

2. Use separate ENV files to make it easier to build only Quick Starts, User
Guide or Administration Guide. The above PDF contains 1836 pages and on slower
computers it takes ages. On computers with less memory it will probably fail.

3. In some xml/book*.xml files, there is an attribute lang="en". This should
be lang="ja", but I guess, I already know that. :)

Apart from that it is a good start! Keep on moving! :-)


(for IPAPMincho)
$ fontforge /usr/share/fonts/truetype/ipamp.otf
(for IPAPGothic)
$ fontforge /usr/share/fonts/truetype/ipagp.otf
(for IPAGothic)
$ fontforge /usr/share/fonts/truetype/ipag.otf

Basic Latin (like U+0041), Hiragana/Katakana (Japanese fundamental
characters; like U+3042, U+30A2), CJK Unified Ideographs (also called
"Kanji"; like U+4E00) were displayed as expected.

Ok, that looks good. I've used the Sazanami fonts (package sazanami-fonts).



Thomas Schraitle

SUSE LINUX GmbH >o) Documentation Specialist
Maxfeldstrasse 5 /\\
90409 Nuernberg _\_v
To unsubscribe, e-mail: opensuse-doc+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-doc+help@xxxxxxxxxxxx

< Previous Next >
List Navigation
Follow Ups