Fonts don't scale on macOS
thekswenson opened this issue · 5 comments
thekswenson commented
thekswenson commented
I can print out the supported fonts with:
font_map = PangoCairo.font_map_get_default()
print([f.get_name() for f in font_map.list_families()])
There is no font name "Times-Roman" which seems to be the one hardcoded in the Pen class. There does exist "Times" and "Times New Roman".
thekswenson commented
thekswenson commented
I've reported a bug here at the pango project.
thekswenson commented
This is a bug in pangocairo.
See this issue: https://gitlab.gnome.org/GNOME/pango/-/issues/488
jrfonseca commented
@thekswenson thank you very much for reporting the issue and narrowing it down! Cheers.