Defect #8892

Unused fonts in rfpdf plugin folder

Added by Jean-Philippe Lang over 3 years ago. Updated about 3 years ago.

Status:ClosedStart date:2011-07-24
Priority:NormalDue date:
Assignee:Toshi MARUYAMA% Done:

0%

Category:PDF export
Target version:1.2.2
Resolution: Affected version:

Description

There are many fonts in source:/trunk/vendor/plugins/rfpdf/lib/fonts@6030 that doesn't seem to be used (eg. DejaVuSerif, DejaVuCondensed, DejaVuMono, FreeMono, vera, times...). Could we remove them?


Related issues

Related to Defect #8566: Exported PDF UTF-8 Vietnamese not correct Closed 2011-06-08

Associated revisions

Revision 6401
Added by Toshi MARUYAMA about 3 years ago

PDF: remove unused DejaVuSans-ExtraLight font (#8892, #8566).

Revision 6402
Added by Toshi MARUYAMA about 3 years ago

PDF: remove unused DejaVu fonts except DejaVuSans-BoldOblique (#8892, #8566).

FreeSans has freesansbi.rb. But there is no dejavusansbi.rb.

Revision 6426
Added by Toshi MARUYAMA about 3 years ago

PDF: remove unused FreeMono fonts (#8892).

Revision 6427
Added by Toshi MARUYAMA about 3 years ago

PDF: remove unused vera fonts (#8892).

Revision 6430
Added by Toshi MARUYAMA about 3 years ago

PDF: remove unused vera*.rb (#8892).

Revision 6431
Added by Toshi MARUYAMA about 3 years ago

PDF: remove unused times*.rb (#8892).

Revision 6432
Added by Toshi MARUYAMA about 3 years ago

PDF: remove unused courier.rb (#8892).

Revision 6433
Added by Toshi MARUYAMA about 3 years ago

PDF: remove unused symbol.rb (#8892).

Revision 6434
Added by Toshi MARUYAMA about 3 years ago

PDF: remove unused zapfdingbats.rb (#8892).

Revision 6435
Added by Toshi MARUYAMA about 3 years ago

PDF: remove unused sjis.rb (#8892).

Revision 6441
Added by Toshi MARUYAMA about 3 years ago

PDF: remove unused vendor/plugins/rfpdf/lib/barcode/* (#8892).

History

#1 Updated by Jun NAITOH over 3 years ago

Jean-Philippe Lang wrote:

There are many fonts in source:/trunk/vendor/plugins/rfpdf/lib/fonts@6030 that doesn't seem to be used (eg. DejaVuSerif, DejaVuCondensed, DejaVuMono, FreeMono, vera, times...). Could we remove them?

Yes, I think to we can remove these unused fonts.

#2 Updated by Toshi MARUYAMA about 3 years ago

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

Removed unused fonts except DejaVuSans-BoldOblique in trunk r6441 and 1.2-stable r6443.

#3 Updated by Jérémy Lal about 3 years ago

What's the status of helvetica*.rb ? Is it used, if yes, where are the font files so that
we can generate from them using ttf2ufm ?

#4 Updated by Toshi MARUYAMA about 3 years ago

helvetica*.rb is used at source:trunk/lib/redmine/export/pdf.rb@6460#L74.
Redmine 1.2 supports switching embedded or non-embedded font by "general_pdf_encoding" at source:trunk/config/locales/en.yml@6460#L140.

Also available in: Atom PDF