sexta-feira, 30 de abril de 2010

Unifonts - DebianWiki

Unifonts - DebianWiki

These fonts are chinese Unicode fonts which include the following charsets:

  • Big5
  • GB2312-80
  • ISO8859-1,2,3,4,7,9,10,13,14,15
  • Bopomofo Extended for Minnan and Hakka (台、客語)
  • HKSCS (香港), CNS11643, GB18030, Japanese and Korean are work in progress.

Current release: 0.0.20041205-1

License: [Arphic Public License]

The fonts can be downloaded from http://debian.linux.org.tw/pub/3Anoppix/people/arne/ as tarball and deb package.

  • Mingti: ShanHeiSun-Uni ttf-arphic-uming [tgz] [deb]
  • Kaiti: Zenkai-Uni-Medium ttf-arphic-ukai [tgz] [deb]

Apt-repository: deb ftp://debian.linux.org.tw/pub/apt/ unstable main

If you have already downloaded a tarball version of the fonts and only want to upgrade to a newer release, you can use xdelta to apply binary patches.

Xdeltas of the fonts are in http://debian.linux.org.tw/pub/3Anoppix/people/arne/xdeltas/

  • For upgrading between releases download the xdelta file from the corresponding subdirectory. (Example: 0.0.20041031-1_0.0.20041205-1/)
You need to have xdelta version 1.1.3 installed. Debian users can simply get it via apt-get, others might want to visit http://www.xdelta.org. Be sure to get version 1.1.3 and not any newer one, the newer ones are not compatible and have different purposes.

Windows users can visit http://www.eng.uwaterloo.ca/~ejones/software/xdelta-win32.html

Then put your tar.gz pagage of the old font and the downloaded xdelta file into a temporary directory and use:

xdelta patch

(without the <> of course).

These pdf files show which glyphs are already encoded (Size: 35 MB each):

  • Mingti: ShanHeiSun-Uni [pdf]
  • Kaiti: Zenkai-Uni-Medium [pdf]
Xdelta files are in http://debian.linux.org.tw/pub/3Anoppix/people/arne/xdeltas/pdf/

The font packages contain two variants of the font, which only differ in the Bopomofo Extended glyphs. These glyphs are mainly used in Taiwan for teaching Taiwanese and Hakka. There exist two varaints of those glyphs, one according to the Unicode standard and one, called Modern Bopomofo Extensions (MBE), which has been developed by Mr. Yang Qing-Chu (楊青矗). The MBE variants are considered easier to read and write.

To get a picture how those glyphs differ:

  • Bopomofo Extensions according to Unicode 4.0
unicode32.png
  • Modern Bopomofo Extensions according to Mr. Yang Qing-Chu (楊青矗)
unimbe.png

The TTF in the font packages contains both variants already, the Unicode variant is the default. The MBE variant is encoded seperately as stylistic alternative to the Unicode variant. If your application supports this, you can choose which variant you want to see there.

If your applications don't support the stylistic alternatives feature, you can patch the TTF file with the xdelta file included in the tarball. To do this, copy the TTF file and the xdelta file into a temporary directory and use the xdelta command like shown above. You can also install both variants in parallel.

Development ressources:

Author: Arne Götje (高盛華), Taiwan : arne at linux dot org dot tw

If you want to contribute, please send me a mail.

Contributers:

  • Akar Chen (), Hong Kong

Nenhum comentário: