Skip to content

Insert glyph without unicode def #2970

Closed
@Andreasox

Description

@Andreasox

Description of the bug

I assume it is not possible to reference a glyph without a unicode name in insert_text and insert_textbox for export to PDF.

How to reproduce the bug

At least Gotham Narrow fonts have defined a separate range of digits 0-9 without unicode names.
Downloaded from https://freefontsfamily.com/gotham-font-family/
Glyphs 0183 - 018d, they are named in the font as zero.tab, one.tab, two.tab etc. (checked for Gotham Narrow Medium)

PyMuPDF version

1.23.8

Operating system

MacOS

Python version

3.9

Metadata

Metadata

Assignees

No one assigned

    Labels

    not a bugnot a bug / user error / unable to reproducequestion

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions