Re: [Xquartz-dev] Tiger fixes in 1.4.2-apple24
Am 25.11.2008 um 00:23 schrieb Jeremy Huddleston:
Again, the application you need to run is sudo /usr/X11/bin/ font_cache ... which I just realized wouldn't be on your system. Grab it from here:
http://www.opensource.apple.com/darwinsource/10.5.5/X11fonts-5.1/ font_cache.sh
That takes care of running your mkfontdir, mkfontcache, etc...
I added sym-links to /sw/lib/fontconfig2/bin/fc-cache to /usr/X11/ bin, then the script ran successfully: font_cache: Scanning user font directories to generate X11 font caches font_cache: Making fonts.dir for updated directories. font_cache: Updating FC cache font_cache: Done When I now launch: Xquartz :0 I still get: Xquartz: Starting X server: /Applications/Utilities/X11.app/Contents/ MacOS/X11 --listenonly X11.app: main(): argc=2 argv[0] = /Applications/Utilities/X11.app/Contents/MacOS/X11 argv[1] = --listenonly Waiting for startup parameters via Mach IPC. X11.app: do_start_x11_server(): argc=2 argv[0] = Xquartz argv[1] = :0 2008-11-25 12:11:36.061 X11[3513] Could not connect the action apps_table_cancel: to target of class X11Controller X11.app: Debug Info: kKLuchrData fallback failed, trying kKLKCHRData. If you are using a 3rd party keyboard layout, please see http:// xquartz.macosforge.org/trac/ticket/154 X11.app: Fallback succeeded, but this is still a bug. Please report the above information. Xquartz starting: X.Org X Server 1.4.2-apple24 Build Date: 20081123 (EE) XKB: Couldn't open rules file /usr/X11R7.4/share/X11/xkb/rules/base (EE) XKB: Couldn't open rules file /usr/X11R7.4/share/X11/xkb/rules/base Could not init font path element /usr/X11R7.4/lib/X11/fonts/misc/, removing from list! Could not init font path element /usr/X11R7.4/lib/X11/fonts/TTF/, removing from list! Could not init font path element /usr/X11R7.4/lib/X11/fonts/OTF, removing from list! Could not init font path element /usr/X11R7.4/lib/X11/fonts/Type1/, removing from list! Could not init font path element /usr/X11R7.4/lib/X11/fonts/100dpi/, removing from list! Could not init font path element /usr/X11R7.4/lib/X11/fonts/75dpi/, removing from list! Could not init font path element /Library/Fonts, removing from list! Could not init font path element /System/Library/Fonts, removing from list! Fatal server error: could not open default font 'fixed' AbortDDX Quitting Xquartz... Xquartz: start_x11_server: (ipc/mig) server died Exit 1 After I've added the X11 and X11R7.4 font paths to my ~/.fonts.conf I get after the "Build Date:..." line an extra: Thread Assertion Failed: self=Unknown Thread, expected=Xserver Thread xprFrame.c:xprInit:448 There is no other change, the same font path elements are reported missing. BTW, "Xquartz --help" launches the server visibly, i.e., a form pops up for a few seconds, partially obscured by Cocoa Emacs.app in which I am working, and X11.app starts to leap in Dock. Fc-list lists a "Times" font. "Xquartz :0 -fn Times" brings at the end a little change: Fatal server error: could not open default font 'Times' I think I could start to build X11R7.4 directly into /usr/X11 – when I've learned a bit about jhbuild. And also adding some optimisation, to see whether something breaks. -- Greetings Pete Real Time, adj.: Here and now, as opposed to fake time, which only occurs there and then.
On Nov 25, 2008, at 03:31, Peter Dyballa wrote:
Am 25.11.2008 um 00:23 schrieb Jeremy Huddleston:
Again, the application you need to run is sudo /usr/X11/bin/ font_cache ... which I just realized wouldn't be on your system. Grab it from here:
http://www.opensource.apple.com/darwinsource/10.5.5/X11fonts-5.1/font_cache....
That takes care of running your mkfontdir, mkfontcache, etc...
I added sym-links to /sw/lib/fontconfig2/bin/fc-cache to /usr/X11/ bin, then the script ran successfully:
font_cache: Scanning user font directories to generate X11 font caches font_cache: Making fonts.dir for updated directories. font_cache: Updating FC cache font_cache: Done
<snip>
Could not init font path element /usr/X11R7.4/lib/X11/fonts/misc/, removing from list!
run: sudo font_cache -s -v -f
After I've added the X11 and X11R7.4 font paths to my ~/.fonts.conf I get after the "Build Date:..." line an extra:
Thread Assertion Failed: self=Unknown Thread, expected=Xserver Thread xprFrame.c:xprInit:448
That is fine.
There is no other change, the same font path elements are reported missing.
BTW, "Xquartz --help" launches the server visibly, i.e., a form pops up for a few seconds, partially obscured by Cocoa Emacs.app in which I am working, and X11.app starts to leap in Dock.
Fc-list lists a "Times" font. "Xquartz :0 -fn Times" brings at the end a little change:
Fatal server error: could not open default font 'Times'
Yeah, that's because fontconfig is not used for server fonts. There are 2 font systems in X11. You need to make your xfs font caches by doing the: sudo font_cache -s -v -f
participants (2)
-
Jeremy Huddleston
-
Peter Dyballa