Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 10236

Summary: Xfree86 fails upon loading Microsoft fonts
Product: Gentoo Linux Reporter: Sam Cole <samcole>
Component: [OLD] Core systemAssignee: Martin Schlemmer (RETIRED) <azarah>
Status: RESOLVED INVALID    
Severity: normal    
Priority: High    
Version: 1.4_rc1   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: XFree86 Log

Description Sam Cole 2002-11-04 21:14:30 UTC
I did a copy of microsoft fonts from my windows partition to linux. I then
installed them:

cp /mnt/win/windows/Fonts/* /usr/lib/X11/fonts/truetype/
cd /usr/lib/X11/fonts/truetype
ttmkfdir > fonts.dir
startx

And then I use any program that uses font selection and select a microsoft font
(wingdings or the like) and X crashes with a message to read the log. So I'm
attatching the log.
Comment 1 Sam Cole 2002-11-04 21:16:00 UTC
Created attachment 5377 [details]
XFree86 Log

This is my log upon crashing.
Comment 2 Martin Schlemmer (RETIRED) gentoo-dev 2002-11-05 09:13:04 UTC
Please go read  /usr/X11R6/lib/X11/doc/README.fonts, as you are doing it
totally wrong.

  # cd /usr/X11R6/lib/X11/fonts/truetype
  # ttmkfdir -e ../encodings/encodings.dir -o fonts.scale -d .
  # mkfontdir -e ../encodings -e ../encodings/large -- .

If /usr/X11R6/lib/X11/fonts/encodings/encodings.dir do not exist, you
generate it with:

 # mkfontdir -e /usr/X11R6/lib/X11/fonts/encodings \
             -e /usr/X11R6/lib/X11/fonts/encodings/large \
             -n -- /usr/X11R6/lib/X11/fonts/encodings