Skip to content

IM doesn't seem to see variable fonts #8564

@lkintact

Description

@lkintact

ImageMagick version

7.1.2-13 Q16-HDRI x64 dd991e2:20260119

Operating system

Windows

Operating system, version and so on

Windows 10 Home 22H2

Description

.

Steps to Reproduce

  1. Install this variable font, Noto Sans Display, for all users: NotoSansDisplay-VariableFont_wdth,wght.ttf, zipped.
  2. Make sure you don't have the static font Noto Sans Display SemiBold installed.
  3. Run magick.exe variable_font_test.svg out.png (variable_font_test.svg, zipped).

IM displays a warning (redacted):

** (process:[...]): WARNING **: [...]: couldn't load font "Noto Sans Display SemiBold, Not-Rotated 21", falling back to "Sans Not-Rotated 21", expect ugly output.,

and generates the text in out.png in a default Sans font.

Expected behaivor: IM shouldn't display the warning and should generate the text in the output image in Noto Sans Display, semi-bold.

Images

.

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