Re: Better fonts by default?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I had a quick look at fedora-better-fonts and found this:

1. The defaults in
https://github.com/silenc3r/fedora-better-fonts/blob/master/fontconfig-enhanced-defaults/19-enhanced-defaults.conf
are redundant. Turning off the autohinter and selecting hintslight...
will turn it back on :D The LCD filter and subpixel order can be
selected by existing conf files inf fontconfig's conf.avail folder already.

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.


> For example, the gschema changes should go to the
gnome-settings-daemon project, where it is probably going to run up
against the fact that (I believe) Nikolaus prefers grayscale hinting.

What? 😁 Do note that I never touched GNOME settings, the grayscale
default comes from the time where subpixel rendering was guarded by
ClearType patents. All I remember saying is that subpixel rendering is
not essential to getting nicely rendered fonts, as you can see in Qt5:

https://i.postimg.cc/t4XnfGzt/Bildschirmfoto-vom-2018-11-11-11-45-41.png
https://i.postimg.cc/c4GnRngz/Bildschirmfoto-vom-2018-11-11-11-46-28.png

Download the original PNGs and compare 😊 subpixel rendering (here with
the light LCD filter) can improve contrast a bit, but grayscale looks
pretty good, too. Provided you like the overall smooth look of light
hinting.

> Unfortunately, a lot of text on the web renders really poorly without
rgba subpixel rendering (aka ClearType). It's a lot less noticeable if
you're lucky enough to have a 4K display (which I do not). But having
text look squishy and spaced incorrectly does not make for enjoyable
reading...

Subpixel rendering shouldn't modify squishiness or spacing, just add
some color to boring text. Can you send some screenshots my way?

> Can the sub pixel renderer actually know the actual subpixels on the
screen or is some pattern just assumed?

No, you have to tell FreeType what to render. By default it assumes RGB
subpixels, but you can change that in fontconfig to BGR or their
vertical cousins.

> That’s a gross over simplification “render fonts like windows” has
long been impossible for legal reasons, but “render fonts like windows”
has never been an universal standard the majority of our users subscribe to.

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.
_______________________________________________
devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx
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@xxxxxxxxxxxxxxxxxxxxxxx




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Users]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]

  Powered by Linux