[Bug 1083212] Please drop mkfontscale/mkfontdir usage from texlive font packages
http://bugzilla.suse.com/show_bug.cgi?id=1083212 http://bugzilla.suse.com/show_bug.cgi?id=1083212#c6 Stefan Brüns <stefan.bruens@rwth-aachen.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Flags|needinfo?(stefan.bruens@rwt | |h-aachen.de) | --- Comment #6 from Stefan Brüns <stefan.bruens@rwth-aachen.de> --- (In reply to Dr. Werner Fink from comment #4)
(In reply to Stefan Brüns from comment #3)
mkfontscale is completely unrelated to fontconfig. fonts.{scale,dir} is a thing of the past, it is only needed by the obsolete X Core font mechanism. For more information, see https://www.x.org/archive/X11R7.5/doc/fonts/fonts.html
Don't teach me stuff I'ma aware more then twenty years. As I'm using xset fp ... my self I'll not remove this as it does not hurt.
*you* mentioned fontconfig when I was talking about mkfontdir/mkfontscale. It hurts, as it pulls in xorg-x11-fonts-core. Out of curiosity, which program do you use which a) uses core fonts, b) which you have configured to use one of the fonts provided by texlive-*-fonts?
(In reply to Stefan Brüns from comment #1)
Probably best achieved by:
- using %reconfigure_fonts_prereq as BuildRequires
- adding %link_avail_to_system_fontsconf <number>-<name).conf to the %install section
- using the following macro to create the %post... stanzas %reconfigure_fonts_scriptlets
see e.g. https://rudin.suse.de:8894/package/view_file/openSUSE:Factory/cantarell- fonts/cantarell-fonts.spec?expand=1
I'm aware but who decides which font should go into and which should not?
I never said these fonts should be removed in any way. This does not affect current functionality. When the mkfontscale call is removed:
- the same set of fonts is available for programs using Xft/fontconfig - the same set of fonts is available for programs using X core fonts
I'm aware
So whats wrong with using the macros mentioned above? - these call mkfontscale/mkfontdir *when installed* and otherwise skip it. The macros also make sure the font cache is updated *once* per transaction, not for each font package. -- You are receiving this mail because: You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com