Author: Olivier
Date: 08-17-03 17:43
Here's the Japanese support for FPDF:
japanese.zip
The file contains the class and a simple example.
The supported encoding is SJIS.
2 fonts are available, one with proportional Latin characters, and one with half-width. To use proportional, you must first call AddSJISFont(), then you can select the font with SetFont('SJIS'). For half-width, you must call AddSJIShwFont(), then SetFont('SJIS-hw').
All styles (bold, italic and underline) are available.
All usual methods (Cell(), MultiCell(), Write() and GetStringWidth()) work with these new fonts.
Note: an alternative extension is available here:
http://www.geocities.jp/rui_hirokawa/php/pdf/mbfpdf10b.zip
|
|