Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-47948

Return CID0 fonts to tcpdf library

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Won't Do
    • Icon: Minor Minor
    • None
    • 2.6.5, 2.7.2
    • Language, Libraries
    • MOODLE_26_STABLE, MOODLE_27_STABLE

      I ran across this issue while working on multi-language custom certificates. The included font list was reduced in MDL-16802 to reduce the space used by lib/tcpdf/fonts folder for Moodle 2.0 release. However I noted during this project that CID0 (asian language / CJK fonts) are not embedded in the fonts folder. They are treated similarly to core PDF fonts in that they are only accessed by reference in the PDF files that use them. For practical purposes this means that their removal didn't save space (only the few characters for the definition file) and as a result its impossible to create asian character based PDF files without downloading and installing a custom fonts folder.

      There may only be a limited audience for this issue, but I think it would make the Moodle core PDF library more asian language friendly.

            Unassigned Unassigned
            moorejon Jonathan Moore
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

                Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.