Skip to content

PDF export garbles auto-skewed or auto-bolded fonts #2012

@despens

Description

@despens

This issue is unique.

  • I have used the search tool and did not find an issue describing my bug.

Operating System

other (specify in description)

Version information

9.0.3.29

Expected Behavior

Some typefaces do not provide all possible style combinations as separate versions or via parameters. The following example shows a font that has regular, bold, and italic versions, but no bold-italic version, in the editor:

Actual Behavior

Image

You can see that the bold-italic version is rendered by skewing the bold version.

This is usable in the editor. However, when exporting to PDF, the missing font is substituted by a skewed version, but with garbled symbols:

Image

This is happening on Linux and macOS, with the desktop editor and a self-hosted web editor, same version numbers of the editor.

Reproduction Steps

  1. Choose a font that doesn't have all variants available. (You can also temporarily uninstall one variant from your system.)
  2. Use the missing variant in the editor.
  3. Export to PDF.

Additional information

This is happening on Linux and macOS, with the desktop editor and a self-hosted web editor, same version numbers of the editor.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions