[Bug 1083212] New: Please drop mkfontscale/mkfontdir usage from texlive font packages
![](https://seccdn.libravatar.org/avatar/3035b38ff33cf86f480bb169b8500b80.jpg?s=120&d=mm&r=g)
http://bugzilla.opensuse.org/show_bug.cgi?id=1083212 Bug ID: 1083212 Summary: Please drop mkfontscale/mkfontdir usage from texlive font packages Classification: openSUSE Product: openSUSE Tumbleweed Version: Current Hardware: Other OS: Other Status: NEW Severity: Normal Priority: P5 - None Component: Other Assignee: bnc-team-screening@forge.provo.novell.com Reporter: stefan.bruens@rwth-aachen.de QA Contact: qa-bugs@suse.de Found By: --- Blocker: --- Currently, the various texlive font packages create fonts.dir/fonts.scale using mkfontdir/mkfontscale. This is quite pointless: - the font packages go into /usr/share/fonts/texlive-<package>/, but this is outside the X server font path, which is (see /var/log/Xorg.0.log) [191632.294] (==) FontPath set to: /usr/share/fonts/misc:unscaled, /usr/share/fonts/Type1/, /usr/share/fonts/100dpi:unscaled, /usr/share/fonts/75dpi:unscaled, /usr/share/fonts/ghostscript/, /usr/share/fonts/cyrillic:unscaled, /usr/share/fonts/truetype/, i.e. to use any of this fonts, the user had to additionally use xset +fp ... for each package - this is for the vast majority of programs unnecessary, as it is only needed for server side font rendering, current programs use client side rendering. -- You are receiving this mail because: You are on the CC list for the bug.
![](https://seccdn.libravatar.org/avatar/3035b38ff33cf86f480bb169b8500b80.jpg?s=120&d=mm&r=g)
http://bugzilla.opensuse.org/show_bug.cgi?id=1083212 http://bugzilla.opensuse.org/show_bug.cgi?id=1083212#c1 --- Comment #1 from Stefan Brüns <stefan.bruens@rwth-aachen.de> --- 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://build.opensuse.org/package/view_file/openSUSE:Factory/cantarell-font... -- You are receiving this mail because: You are on the CC list for the bug.
![](https://seccdn.libravatar.org/avatar/3035b38ff33cf86f480bb169b8500b80.jpg?s=120&d=mm&r=g)
http://bugzilla.opensuse.org/show_bug.cgi?id=1083212 http://bugzilla.opensuse.org/show_bug.cgi?id=1083212#c11 Stefan Brüns <stefan.bruens@rwth-aachen.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |REOPENED CC| |sndirsch@suse.com Resolution|FIXED |--- --- Comment #11 from Stefan Brüns <stefan.bruens@rwth-aachen.de> --- The texlive font packages still pull in mkfontdir/mkfontscale/xorg-x11-core-fonts. As you will have learned from https://bugzilla.opensuse.org/show_bug.cgi?id=1106850 , specifying the dependency on mkfontscale etc. is not on the font packages, but on the (few legacy) applications still depending on core fonts. Adding these dependency is bad for space and time reason, on both "user" systems and on the OBS: - additional time to download/update - additional time to run fonts-config (optional run of mkfontdir/mkfontscale) - additional space for extra packages and generated data -- You are receiving this mail because: You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com