Bug 16875 - Cannot use xfont on xserver from git
Summary: Cannot use xfont on xserver from git
Status: RESOLVED FIXED
Alias: None
Product: xorg
Classification: Unclassified
Component: Server/General (show other bugs)
Version: git
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: Xorg Project Team
QA Contact: Xorg Project Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-07-28 09:41 UTC by Pachara Tinamas
Modified: 2008-07-29 10:57 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
My Xorg log file (92.19 KB, application/octet-stream)
2008-07-28 09:41 UTC, Pachara Tinamas
no flags Details

Description Pachara Tinamas 2008-07-28 09:41:19 UTC
Created attachment 17930 [details]
My Xorg log file

I use xorg source from git.
I can compile xserver collecry with util/modular/build.sh and my own option 
"--with-mesa-source=/usr/local/src/mesa-build --with-config-dbus".
I use xfont from git repository.

My problem is I cannot use xfont.
In my Xorg.0.log has some line say

[dix] Could not init font path element /usr/X11R7/lib/X11/fonts/misc/, removing from list!
[dix] Could not init font path element /usr/X11R7/lib/X11/fonts/TTF/, removing from list!
[dix] Could not init font path element /usr/X11R7/lib/X11/fonts/OTF, removing from list!
[dix] Could not init font path element /usr/X11R7/lib/X11/fonts/Type1/, removing from list!
[dix] Could not init font path element /usr/X11R7/lib/X11/fonts/100dpi/, removing from list!
[dix] Could not init font path element /usr/X11R7/lib/X11/fonts/75dpi/, removing from list!

I try to use mkfontdir in all fonts directory,it not show error, but not work.
When I try to use 

xset +fp fp=/usr/X11R7/lib/X11/fonts/misc

it show

xset:  bad font path element (#23), possible causes are:
    Directory does not exist or has wrong permissions
    Directory missing fonts.dir
    Incorrect font server address or syntax

How can I do? Please help me.

My system is gentoo x86_64 kernel 2.6.24.
Thank you.
Pachara Tinamas

PS. I can use xfont on previous version from git, about June 16, 2008 (not sure) 
with same build config.
Comment 1 James Cloos 2008-07-28 13:01:04 UTC
You need to add --disable-builtin-fonts to your configure options when
compiling the X server.

That used the be the default, but git master was changed some time back
to make --enable-builtin-fonts the default.
Comment 2 Pachara Tinamas 2008-07-29 10:57:40 UTC
Comment #1 solv my problem.

Thank a lot :)
Pachara Tinamas


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.