I found a TrueType font that cannot be loaded on Windows. This should be a bug of pango in GTK 2, so I also reported it here on GNOME. However, GNOME team should not be expected to fix bugs on GTK 2, so the real problem is that we should not depend on GTK 2 anymore.
The same font cannot be loaded on Debian bookworm and Ubuntu noble either? It works on Debian bullseye. Bullseye has pango 1.46 while bookworm has pango 1.51.
Issue or Feature
I found a TrueType font that cannot be loaded on Windows. This should be a bug of pango in GTK 2, so I also reported it here on GNOME. However, GNOME team should not be expected to fix bugs on GTK 2, so the real problem is that we should not depend on GTK 2 anymore.
Steps to Reproduce
Load this font and draw some text with it: https://github.com/kaio/wangfonts/raw/master/TrueType/wt071.ttf
Your Environment
npm list canvas
oryarn list canvas
): 2.11.2 on Windows 11