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

Re: XFree86 4.0.1 and TrueType fonts



On Sun, Nov 12, 2000 at 02:24:01PM +0100, Andrea Vettorello wrote:
> Marc Wilson wrote:
> 
> > [...]
> >
> > It really is just that simple.  I had zero luck getting xfstt to cooperate
> > with XF4, and had all sorts of weird font-isms until I disabled it.  Aterm
> > would display hash instead of line-drawing characters, rxvt wouldn't even
> > START, Eterm would start, but not display the menus properly, etc.
> 
> I've added this in the font path and xfstt seems to work right now:
> 
> Section "Files"
>         FontPath        "tcp/127.0.0.1:7101"   # xfstt
>         FontPath        "/usr/share/fonts/truetype"
>         FontPath        "/usr/lib/X11/fonts/misc"
>         FontPath        "/usr/lib/X11/fonts/75dpi/:unscaled"
>         FontPath        "/usr/lib/X11/fonts/100dpi/:unscaled"
>         FontPath        "/usr/lib/X11/fonts/Type1"
>         FontPath        "/usr/lib/X11/fonts/Speedo"
>         FontPath        "/usr/lib/X11/fonts/75dpi"
>         FontPath        "/usr/lib/X11/fonts/100dpi"
> EndSection
> 
> Anyway, i'm still little confused about true type font with XF4. Without xfstt
> Netscape show in the preference font requester the same true type font label as
> "monotype".

Well, the new xfs with X4 does support TrueType fonts.  Use 'mkttfdir'
in the fttools package to make a fonts.dir file in
/usr/share/fonts/truetype.  Add the truetype path to the config file for
xfs and restart it.  xfstt then becomes redundant.


-- 
#! /bin/sh
# ppp-address: What's my Internet Address for ppp0 ?
/sbin/ifconfig ppp0 2> /dev/null | grep 'inet addr:' | sed \
's=.*inet addr\:\([0-9]\{1,3\}\.[0-9]\{1,3\}\.[0-9]\{1,3\}\.[0-9]\{1,3\}\).*=\1='



Reply to: