Project

General

Profile

Actions

Patch #8312

closed

Switch to TCPDF from FPDF for PDF export

Added by Jun NAITOH almost 13 years ago. Updated almost 13 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Toshi MARUYAMA
Category:
PDF export
Target version:
Start date:
2011-05-06
Due date:
% Done:

0%

Estimated time:

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

Files


Related issues

Related to Redmine - Defect #61: Broken character encoding in pdf exportClosedToshi MARUYAMA

Actions
Related to Redmine - Defect #8566: Exported PDF UTF-8 Vietnamese not correctClosedToshi MARUYAMA2011-06-08

Actions
Actions #1

Updated by Toshi MARUYAMA almost 13 years ago

  • Assignee set to Toshi MARUYAMA
Actions #2

Updated by Toshi MARUYAMA almost 13 years ago

  • Status changed from New to Closed
  • Target version set to 1.2.0

Committed in r5721, thanks.

Actions

Also available in: Atom PDF