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

Re: true type fonts fixed...



On Wed, Jul 09, 2003 at 01:41:26AM -0600, Bruce Sass wrote:
> 
> ...sorta.
> 
> scenario:
> sid, kde-3.1.2, xserver-svga (v3.3.6), X-4.2.1, xfstt

Huh?  Are you combining parts of X from 3.3 (xserver) and 4.2 (the
rest)?  I'd be surprised if that worked out.

XFree86 v 4 does not require any font servers, and I think it works
with a different set of font servers than 3.3.  It handles TT builtin
(provided you load the right module, freetype, in XF86Config-4).  I
think there's another module that also can handle TT).

Finally, KDE 3.1.2 (and probably earlier, but maybe not 2) has a
control panel option for registering fonts, including specifically one
for Type1 and one for TrueType.  You need to go into administrative
mode to make this effective for all users (there is a button on the
panel to do so--you don't need to login as root).  This seems to
require that both directories be under the main font directory, which
may require a symlink, esp for TrueType.

> - KDE knows about the fonts but they are not rendered
How do you know it knows?

> - xfontsel works as expected
> 
> Purging all the font related stuff I could without --force-depends,
> then manually removing any cruft which had built up over the years
> (originally a Debian 2.0 system), got KDE to the point where it knew
> nothing about ttf.  Reinstalling and reconfiguring the font stuff
> brought it back to where it seemed to know about ttf, but still
> wouldn't render them.
> 
> scenario:
> same as above except with xfs-ttf
> - KDE renders ttf
> - xfontsel works but thinks the majority of the ttfs are in the
>   "monotype" family
> 
> The "sorta" refers to the fact that while KDE is now displaying ttf,
> if I try to select fonts for Konqueror the system slows down (I'm on a
> 66MHz box, when I say "slow" it is really s-s-s-l-l-l-o-o-o-w-w-w :-)
> or freezes (CTRL-ALT-ESC closes the font selector dialog, without the
> skull and bones cursor appearing) and an additional 50M of swap gets
> used (about half of the VM is released when the dialog closes).
> Repeated use of the kcm khtml font module pushes the swap usage up by
> about 30M per use.  Logging out of KDE recovers all the VM.
> 

Depending on where you got your TrueType fonts, you may have a huge
number of them.  You might want to pare down the list (the one in
fonts.dir, fonts.scale, and related files) so it only has your
favorites.  That might speed things up.

> 
> True type fonts work fine with other wm's (fluxbox, uwm, xfce) and
> apps no matter which ttf server is in use --- so it appears to be a
> KDE problem, or perhaps a system problem that just happens to hit KDE
> hard.
> 
> Hmmm, could having ttf available through both fontconfig (via
> x-ttfcidfont-config) and xfs-ttf be a problem...
> 

Well, I've been more thinking that not having fonts available through
fontconfig is the problem.  Someone recommended to me to make sure the
TT fonts were in fontconfig.

> HTH anyone else with font problems.
> 
> 
> - Bruce
> 
> 



Reply to: