https://bugzilla.redhat.com/show_bug.cgi?id=1806272
--- Comment #26 from Nicolas Mailhot <nicolas.mailhot(a)laposte.net> ---
(In reply to Hans de Goede from comment #24)
Thank you for adding the compat packages.
I must be honest though, this is not entirely what I was expecting. I was
expecting the compat symlinks to be part of the main dejavu-sans-fonts,
dejavu-serif-fonts, etc. packages. That way they will automatically just be
there, without packages depending on say dejavu-sans-fonts needing to adjust
their Requires.
https://src.fedoraproject.org/rpms/dejavu-fonts/blob/f32/f/dejavu-fonts.s...
For these games my plan is to add e.g.:
BuildRequires: font(dejavusans) fontconfig
To the packages and then generate the name the symlink points to using
commands like these:
fc-match -f "%{file}" "sans"
fc-match -f "%{file}" "sans:italic"
fc-match -f "%{file}" "sans:bold"
fc-match -f "%{file}" "sans:bold:italic"
fc-match -f "%{file}" "serif"
fc-match -f "%{file}" "monospace"
The idea here is to make things more future proof, so that we can deal with
any future font-file-path changes with just a rebuild.
It will be a little more future-proof, but not as much as you think. Fonts are
evolving outside the one style = one file model. Mostly, due to the influence
of web fonts, because CSS uses a stacking model, identical to the one in
fontconfig. Styles can now be spread over multiple files (that is already true
for the Math extension of DejaVu Serif) or, on the contrary, be merged into a
single file (variable fonts).
And I’ve no idea when exactly the legacy model used before fontconfig will
become totally incompatible with the distribution default font choices, but the
movement has been accelerating, thanks to the huge amount of money Google
pumped in web fonts, which is breaking the Windows fonts deadlock right now.
Companies now require their design offices to create web sites and mobile apps,
which forces those to drop legacy proprietary fonts for OFL fonts. You have
more chance to bump into Fortune500 designers in github’s font issue trackers
nowadays, than to bump into someone who knows what fontforge or Fedora are.
--
You are receiving this mail because:
You are on the CC list for the bug.