LICENSE VIOLATION: Japanese font files for PDF reference documentation
-----------------------------------------------------------------------
Key: HB-1566
URL:
http://opensource.atlassian.com/projects/hibernate/browse/HB-1566
Project: Hibernate2
Type: Task
Reporter: Takayoshi Kimura
Priority: Critical
Attachments: userconfig.xml.patch
There are two font files, msgothic.ttf and msmincho.ttf are committed in Hibernate CVS for
Japanese PDF reference documentation.
Those font files are part of Microsoft Windows. We cannot use those files for the PDF.
The PDF file is:
http://www.hibernate.org/hib_docs/reference/ja/pdf/hibernate_reference.pdf (149pages)
The following instructions are to use sazanami font instead of Microsoft one.
Sazanami font is free, you can download sazanami font via
http://sourceforge.jp/projects/efont/ .
This is sample PDF file that uses sazanami font:
http://jbento.sourceforge.net/tmp/hibernate/hibernate_reference-sazanami.pdf (154pages)
1). Download sazanami font
I put hibernate-sazanami.zip on my sourceforge project site:
http://jbento.sourceforge.net/tmp/hibernate/hibernate-sazanami.zip (10MB)
The zipped file includes:
$ unzip -t hibernate-sazanami.zip
Archive: hibernate-sazanami.zip
testing: sazanami-gothic.ttf OK
testing: sazanami-gothic.xml OK
testing: sazanami-mincho.ttf OK
testing: sazanami-mincho.xml OK
No errors detected in compressed data of hibernate-sazanami.zip.
Those files based on sazanami-20040629 (newest one) .
2). Change to use sazanami font
$ cd /path/to/Hibernate2/
$ patch -p0 < userconfig.xml.patch
$ cd doc/reference/ja/fop/
$ unzip /path/to/hibernate-sazanami.zip
3). Run ant to generate new PDF file
$ cd /path/to/Hibernate2/
$ ant refdoc
4). Commit changes
$ cd /path/to/Hibernate2/doc/reference/ja/fop/
$ cvs rm -f ms*.ttf ms*.xml
$ cvs add sazanami-*.xml
$ cvs add -kb sazanami-*.ttf
$ cvs commit
5). Update PDF file on Hibernate site
I don't know about this step.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://opensource.atlassian.com/projects/hibernate/secure/Administrators....
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira