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

RE: Freetype problems under RH7.3



> Lars Clausen wrote:
> On Fri, 17 May 2002, Robert Young wrote:
> > The current FreeType code relies on X providing a font path 
> list, and on
> > this list containing paths to TrueType and other fonts. 
> Under RH7.3 the
> > XFree86 supplied has the font paths specified correctly. It doesn't
> > however, load the modules which enable XFree86 to interpret 
> these fonts
> > and hence XFree86 discards the paths to these fonts from 
> the font path.
> > Hence dia complains about not having any fonts, and the 
> usual suspect,
> > the font path, is not to blame.
> 
> But if you tell X to load the modules, won't it work?

Yes, but I consider this to be beyond most users, especially if there is a
way around it. I know that we'll get lots of RH users asking the same
question - could be annoying :-)

> > I note that other programs which use freetype have a list 
> of hard coded,
> > or user supplied, font paths. Should we look at this, or do 
> a hack by
> > looking for an xfs configuration file (/etc/X11/fs/config) 
> and using the
> > chkfontpath (a RH utility) code to extract font paths?
> 
> If it exists, we can use it.  In fact, we can include 
> hard-coded common
> font paths as well.  The more the merrier.

Should I put this in diarc? I don't think it belongs in the preferences
dialog, and if we include enough defaults for most of the known world, the
FAQ can point them to playing with diarc? Mind you, this question is posed
before I look at the code...

> > I am concious that most RH7.x users will have the same 
> troubles I have
> > experienced when we make a release.
> > 
> > I'm willing to cut some code if required.
> 
> That would be nice.  Using XGetFontPath was the quick and easy way.

And it works well in most cases!

Give us a couple of days and I'll post a patch.

Regards,
Rob.



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index] Mail converted by Mofo Magic and the Flying D

 
All trademarks and copyrights are the property of their respective owners.

Other Directory Sites: SeekWonder | Directory Owners Forum

GuideSMACK