Skip to content

Also select font via unprettified family nameΒ #2098

@laurmaedje

Description

@laurmaedje

Description

Typst prettifies some font names, but ideally the true name should also work, that is, in the example below both line 2 and 3 should render in New CM.

Hello \
#text(font: "NewComputerModern10")[Hello] \
#text(font: "New Computer Modern")[Hello]

Moreover, conceivably a font could be selectable via full name or perhaps also PostScript name:

_Hello_ \
#text(font: "Linux Libertine Italic")[Hello]

Use Case

More compatibility.

Metadata

Metadata

Assignees

No one assigned

    Labels

    change requestA proposal for changes to an existing featuretextText layout, shaping, internationalization, etc.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions