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

Re: Problems with Xfree86 4.0.1 v4



On Sun, 10 Sep 2000, ESZ . wrote:
> Hi everyone,
>
>
> I have been having some problems with setting up truetype fonts in X.
> Searching the web, I have found many resources that guided me to getting
> the basic framework in place, however this recent problem has been puzzling
> me.
>
> My ttf directory exists in /usr/share/fonts/truetype and in that directory
> I have created a fonts.dir with ttmkfdir. My XF86Config file has also been
> correctly tuned. However, when it comes time to start the X server it
> doesn't start. The following is the error that I receive:
>
> ---
> failed to set default font path
> '/usr/X11R6/lib/X11/fonts/misc:unscaled,/usr/X11R6/lib/X11
> /fonts/100dpi:unscaled,/usr/X11R6/lib/X11/fonts/75dpi:unscaled,/usr/X11R6/l
>ib/X11/fonts/Speedo,/usr/X11R6/lib/X11/fonts/Type1,/usr/X11R6/lib/X11/fonts/
>misc,/usr/X11R6/lib/X11/fonts/100dpi,/usr/X11R6/lib/X11/fonts/75dpi,/usr/sha
>re/fonts/truetype'
>
> Fatal server error:
> could not open default font 'fixed'
> ---
>
>
> And here is a quick excerpt of my XF86Config file:
>
> ---
> Section "Files"
>    RgbPath    "/usr/X11R6/lib/X11/rgb"
>    FontPath   "/usr/X11R6/lib/X11/fonts/misc:unscaled"
>    FontPath   "/usr/X11R6/lib/X11/fonts/cyrillic:unscaled"
>    FontPath   "/usr/X11R6/lib/X11/fonts/100dpi:unscaled"
>    FontPath   "/usr/X11R6/lib/X11/fonts/75dpi:unscaled"
>    FontPath   "/usr/X11R6/lib/X11/fonts/Speedo"
>    FontPath   "/usr/X11R6/lib/X11/fonts/Type1"
>    FontPath   "/usr/X11R6/lib/X11/fonts/misc"
>    FontPath   "/usr/X11R6/lib/X11/fonts/cyrillic"
>    FontPath   "/usr/X11R6/lib/X11/fonts/100dpi"
>    FontPath   "/usr/X11R6/lib/X11/fonts/75dpi"
>    FontPath   "/usr/share/fonts/truetype/"
>    ModulePath "/usr/X11R6/lib/modules/fonts/"
> EndSection
>
> Section "Module"
>    Load "freetype"
+    Load "xtt"
>    Load "type1"
> EndSection
> ---
>
And you should add "xtt" to support TTF.
As I remember when you use xtt module you should disable freetype
Maybe you can try.
                    Jirong.



Reply to: