Patch #8312
Switch to TCPDF from FPDF for PDF export
Status: | Closed | Start date: | 2011-05-06 | |
---|---|---|---|---|
Priority: | Normal | Due date: | ||
Assignee: | % Done: | 0% | ||
Category: | PDF export | |||
Target version: | 1.2.0 |
Description
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)
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 |
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 |
Related issues
Associated revisions
PDF: import tcpdf.rb patch (#8312).
Contributed Jun NAITOH.
PDF: switch encoding and font whether CJK and Thainland non UTF-8 or not in TCPDF Redmine class (#8312).
Contributed Jun NAITOH.
PDF: import CJK patches and all languages use TCPDF (#8312).
Contributed Jun NAITOH.
PDF: remove unused Redmine FPDF class (#8312).
PDF: more strict Redmine TCPDF class initialize() (#8312).
pdf: remove unused "require 'rfpdf/fpdf'" (#8312)
History
#1
Updated by Toshi MARUYAMA about 11 years ago
- Assignee set to Toshi MARUYAMA
#2
Updated by Toshi MARUYAMA about 11 years ago
- Status changed from New to Closed
- Target version set to 1.2.0
Committed in r5721, thanks.