> This means you can only select "MS Mincho" and "MS PMincho"

I can already use both MS Mincho (monospace) and MS PMincho (the "P" stands
for "Proportional") just fine. The problem is that I cannot make these fonts
appear in different weights. (Or perhaps I've completely missed the point of
your email?)

Does anyone know what the status of JPFOP (http://jpfop.sourceforge.net) is?
The home page offers a tantalizing glimpse of what appears to be MS Mincho
and MS Gothic and multiple weights and styles.

The home page also offers instructions that are probably perfectly readable
in Japanese, or to a more experienced FOP user, but I have not been able to
get anywhere with this.

I currently have FOP 0.20.4 installed. I've copied the latest JPFOP .jar
(for 0.20.2, provided on the JPFOP site) to the same build directory as the
0.20.4 FOP .jar, and tried running this:

C:\devtools\Docs\fop>java -Xmx200m -cp
build\fop-0.20.2-jp.jar;lib\batik.jar;lib
\xalan-2.3.1.jar;lib\xercesImpl-2.0.1.jar;lib\xml-apis.jar;lib\avalon-framew
ork-
cvs-20020315.jar;lib\logkit-1.0.jar;lib\jimi-1.0.jar org.apache.fop.apps.Fop
-c
conf/userconfig.xml "C:\projects_docs\source\MakePDF.fo"
"C:\projects_docs\Techn
icalAuthorGuideJ.pdf"

This results in:

Exception in thread "main" java.lang.NoClassDefFoundError:
org/apache/log/format
/Formatter
        at org.apache.fop.apps.Fop.main(Fop.java:16)

With apologies: I'm no Java developer... anyone who knows anything about
Java will likely be dismayed at this hamfisted attempt. I'm thinking that
perhaps this JPFOP .jar is not compatible with the other .jar files.

Finally, the JPFOP 0.17.0 .zip includes some font metrics XML files with
names like MSGothicBold.xml, that would seem to offer the promise (like the
bitmap of the PDF on the home page) of multiple weights from the
msgothic.ttc. I've tried referring to these XML files in userconfig.xml with
FOP 0.20.4, but it causes FOP to crash with an unspecified error.

I wish I understood better how JPFOP created these weight-specific XML files
(and why they don't work with FOP 0.20.4).

I'd really like to get JPFOP working, not just for the multiple weight
fonts, but also because it appears to fix the FOP line break issue in
Japanese (where lines can sometimes begin with a punctuation mark).

Any advice would be greatly appreciated.

Regards,
Graham Hannington

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to