Stefan Br�ns changed bug 1083212
What Removed Added
Flags needinfo?(stefan.bruens@rwth-aachen.de)  

Comment # 3 on bug 1083212 from
(In reply to Dr. Werner Fink from comment #2)
> (In reply to Stefan Br�ns from comment #0)
> > 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.
> 
> I'll not drop this, see /etc/fonts/conf.avail/ and the texlive enable and
> disable files below ... but this is an addon for the user him/her self as by
> default this might cause trouble

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

> (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


You are receiving this mail because: