Vote #69855
完了Switch to TCPDF from FPDF for PDF export
0%
説明
This patch switches to TCPDF from FPDF in Japanese/Chinese/Korean (Thai) PDF.
I am expecting the following things by this patch.
- Improvement of maintainability
- Improvement of compatibility for Redmine plug-in
- new TCPDF API (writeHTML/writeHTMLCell)
h2. Before
|general_pdf_encoding|Class|Font name |Font type |Support locales||
|Not UTF-8 |FPDF |UHC,SJIS, GB, Big5, Helvetica|Non embedded |ja,ko,zh, zh-TW|FreeSans doesn't support Japanese/Chinese/Korean/Thai characters|
|UTF-8 |TCPDF|FreeSans |Embedded |Others |Helvetica doesn't support Cyrillic|
h2. After
|general_pdf_encoding|Class|Font name |Font type |Support locales||
|Not UTF-8 |TCPDF|UHC,SJIS, GB, Big5, Helvetica|Non embedded |ja,ko,zh, zh-TW|FreeSans doesn't support Japanese/Chinese/Korean/Thai characters|
|UTF-8 |TCPDF|FreeSans |Embedded |Others |Helvetica doesn't support Cyrillic|
journals
--------------------------------------------------------------------------------
Committed in r5721, thanks.
--------------------------------------------------------------------------------
related_issues
relates,Closed,61,Broken character encoding in pdf export
relates,Closed,8566,Exported PDF UTF-8 Vietnamese not correct