[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#335063: marked as done (xutils: mkfontdir installs faulty fonts.dir for ttf-bitstream-vera pkg.)



Your message dated Fri, 15 Oct 2010 00:19:32 +0200
with message-id <20101014221932.GA11264@debian.org>
and subject line Re: Bug#335063: xutils: mkfontdir installs faulty fonts.dir for ttf-bitstream-vera pkg.
has caused the Debian Bug report #335063,
regarding xutils: mkfontdir installs faulty fonts.dir for ttf-bitstream-vera pkg.
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
335063: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=335063
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: xutils
Version: 4.3.0.dfsg.1-14sarge1
Severity: important


After installing the ttf-bitstream-vera font package,
I find that X gives a "could not init fontpath element"
error message for the TrueType fonts.  This appears to be
caused by faulty fonts.dir and fonts.scale files created in
/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType directory; they have
blanks instead of underscores in the XLFDs for the Bitstream fonts.
The blanks make X barf when it tries to set up these fonts.

I have inspected the defoma hintfile installed with the Bitstream
package.  It gives the font families as Bitstream-Vera-Sans,
Bitstream-Vera-Serif, etc., which is (I think) reasonable.
Probably the problem could be avoided for *this* font by changing
the hyphens to underscores; but it seems to me the X utilities
ought to be written to handle such cases gracefully, rather than
making everybody who packages a font worry about replacing (normal)
hyphens with (ugly) underscores in the defoma hintfiles.  That's why
I'm filing this bug against xutils (which provides mkfontdir)
and xbase-clients (the package that provides mkfontscale).

It may turn out that both these programs use some common xlib
function to parse fontnames and font-family names, in which case
this bug should be reassigned to the appropriate package.

Note, by the way, that defoma's Defoma::Id module correctly
handles these fonts, installing XLFD names with underscores in the
/var/lib/defoma/x-ttcidfont-conf.d/id-cache file.

A further complication is that Bug 219854 says that TrueType fonts
should be using mkttfdir rather than mkfontdir, and that a bug
report should be filed against font packages that violate this.
This is evidently the case with the Bitstream font package; I see my
system doesn't even have the fttools package installed, which should
have been a dependency of the font package if it had used mkttfdir.
It remains to be seen whether mkttfdir handles font-family names
containing hyphens correctly....

-- System Information:
Debian Release: 3.1
Architecture: i386 (i686)
Kernel: Linux 2.4.27-2-k7
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1)

Versions of packages xutils depends on:
ii  cpp                4:3.3.5-3             The GNU C preprocessor (cpp)
ii  libc6              2.3.2.ds1-22          GNU C Library: Shared libraries an
ii  xfree86-common     4.3.0.dfsg.1-14sarge1 X Window System (XFree86) infrastr
ii  zlib1g             1:1.2.2-4.sarge.2     compression library - runtime

-- no debconf information


--- End Message ---
--- Begin Message ---
Brice Goglin <Brice.Goglin@ens-lyon.org> (22/03/2007):
> About 2 years ago, you reported a bug to the Debian BTS regarding
> ttf-bitstream-vera fonts not being installed properly. Can you
> reproduce this problem with Xorg/Etch?

3 years later, closing, got no reply…

Mraw,
KiBi.

Attachment: signature.asc
Description: Digital signature


--- End Message ---

Reply to: