Bug#930581: root-tail: buggy patch in debian package
Hi Marc,
Axel Beckert wrote:
> > While doing so, I found that debian has a patch that actually introduces a
> > bug:
> >
> > config.h.patch Description: Use proper X fonts selector
> >
> > This replaces the correct value for the font pattern by an incorrect one
> > (USE_FONT specified a font name, not a "X fonts selector", which, as far
> > as I know, does not exist in X).
The 1.3 (and 1.2) man page states:
--font | -fn FONTSPEC
Use font FONTSPEC. This can be either a fixed
width font like -fn fixed or any font using -fn
'-*-*-*-*-*-*-*-*-*-*-*-*-*-*' with the appropriate
fields filled out (see xfontsel). Specifying a different
FONTSPEC before each filename will cause each file to be
displayed in a different font.
So according to '-*-*-*-*-*-*-*-*-*-*-*-*-*-*' is a valid string for
the base font variable, right? And Debian lets this variable default
to "-*-*-*-*-*-*-*-*-*-*-*-*-*-*", i.e. exactly the same value. Or do
I oversee something?
> Will at least check if I can still reproduce the crash reported in
> #298708 without that patch.
Actually I could neither get "-fn" nor "--font" to cause any change in
the displayed screen. I tried X font selectors like
'-misc-fixed-medium-r-*-*-12-*-*-*-*-60-iso10646-1' or
'-misc-fixed-medium-r-*-*-12-*-*-*-*-60-iso8859-1' as well as TrueType
font names like "Terminus", "$Fontname-$Fontsize", "xft:$Fontname" ,
"xft:$Fontname-$Fontsize". And I tried root-tail 1.3 and 1.2.
Not sure what I did wrong.
Regards, Axel
--
,''`. | Axel Beckert <abe@debian.org>, https://people.debian.org/~abe/
: :' : | Debian Developer, ftp.ch.debian.org Admin
`. `' | 4096R: 2517 B724 C5F6 CA99 5329 6E61 2FF9 CD59 6126 16B5
`- | 1024D: F067 EA27 26B9 C3FC 1486 202E C09E 1D89 9593 0EDE
Reply to: