ArtifexSoftware / urw-base35-fonts

Repo for URW++ base 35 font set
Other
93 stars 16 forks source link

Remove inappropriate generic aliases for D050000L #46

Closed DestyNova closed 1 year ago

DestyNova commented 1 year ago

This PR removes the generic "fantasy" font aliases for the D050000L symbol font.

The D050000L font was marked as an alias for "fantasy" but shouldn't be. As a result, if another "fantasy" font isn't installed with a higher priority, D050000L is used by some browsers (in my case Firefox, but not Chromium) when a fantasy font is requested. This results in unreadable text:

Screenshot_2023-02-12_19-04

According to the W3C CSS1 generic font-family definitions: "Fantasy fonts are primarily decorative or expressive fonts that contain decorative or expressive representations of characters. These do not include Pi or Picture fonts which do not represent actual characters."

After removing the aliases locally and running fc-cache -rv, the text is readable again (although it just uses the default sans-serif font now since I apparently don't have another fantasy font installed).

(Also see my bugrep on the Pop!_OS tracker, someone else's Fedora report and an issue in this repo that provided the solution)

fabiangreffrath commented 1 year ago

Fixes #27

jendrikw commented 11 months ago

Thanks, when can we expect a release?