reassign 335072 x-ttcidfont-conf thanks On Fri, Oct 21, 2005 at 11:54:19AM -0700, Andrew T. Young wrote:
> 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 also 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. > > Therefore, this report is filed against the font package. > > It remains to be seen whether mkttfdir handles font-family names > containing hyphens correctly.... The font package simply registers its fonts with defoma, nothing more. x-ttcidfont-conf is responsible for the X11 stuff (i.e. fonts.dir and fonts.scale), thus reassigning. -Michael -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]