Skip to content

Generating PDFs with UTF-8 text requires TrueType fonts #1

Description

@kriskelly

The following notice sometimes shows up in the logs when generating report PDFs:

Notice: iconv(): Detected an illegal character in input string in Zend/Pdf/Resource/Font/Simple.php on line 267

According to the following bug report, that is because default PDF fonts only support Latin1 encoding.

The proposed solution is to use TrueType fonts instead of the default fonts. I don't actually know what would be involved in that, but it would be worth investigating, especially if this hobbles the plugin for displaying internationalized text.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions