Nikolaus Waxweiler wrote:
> 2. The rest seems to be mostly boilerplate font replacements? Standard
> stuff like Arial is already covered by fontconfig/Fedora defaults, other
> replacements like Arial Black are not really replacements, but wholesale
> changes. A replacement for a font family should be a metrically
> compatible drop-in, as e.g. PDF viewers will use the same information
> (not all PDF generators embed fonts when they should...). If the
> replacement works for your use-case, good, but I would be uncomfortable
> aliasing Consolas to Fira Mono distro-wide.

Even if we accept the idea of close-looking but not metrically compatible 
replacements (I think it is better than nothing, where you get the default 
font that is neither), the list contains some errors (e.g., OpenSymbol is 
NOT a valid replacement for Wingdings, the Wingdings font from WINE
(wine-wingdings-fonts-system) is) and controversial choices, so it would 
have to be double-checked manually. (E.g., I think the closest replacement 
for Verdana is probably DejaVu Sans, not Noto Sans. The choices for the 
cursive and fantasy families are also strange. In the browser I use 
(Falkon), I configured Grand Hotel as cursive and Comic Neue as fantasy 
(Komika Text would also do the job, I guess, but Comic Neue is already 
packaged), whereas silenc3r's list has Komika Text as cursive (!) and the 
heavy Passion One as fantasy.)

> It's also technically (mostly) impossible because Windows and macOS do
> correct font rendering (linear alpha blending and gamma correction to
> various degrees) which on X11/Wayland currently only Qt5 does (see
> screenshots above). Nothing you can do anywhere else in stack weights
> that up.

Does it really? The discussion in:
https://bugreports.qt.io/browse/QTBUG-41590
sounds like they actually reverted the gamma to 1.0 on X11 because of a 
chicken&egg problem (FreeType doesn't want to enable stem darkening by 
default because of broken gamma settings in toolkits, and Qt cannot set a 
better gamma because stem darkening is not enabled).

        Kevin Kofler
_______________________________________________
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org

Reply via email to