Opened 15 years ago

Closed 15 years ago

Last modified 15 years ago

#24534 closed defect (fixed)

xorg-server @1.7.6 has faulty X11 fontpath

Reported by: ballapete (Peter "Pete" Dyballa) Owned by: jeremyhu (Jeremy Huddleston Sequoia)
Priority: Normal Milestone:
Component: ports Version: 1.8.2
Keywords: Cc:
Port: xorg-server

Description (last modified by jmroot (Joshua Root))

Because updated xorg-server-devel 1.8.0 fails to work I launched that "stable" version. Some tools did not launch from ~/.xinitrc because they could not find their fonts. So I checked:

	Font Path:
  /Library/Fonts,/System/Library/Fonts,built-ins,/sw/lib/X11/fonts/msttf/,/sw/lib/X11/fonts/naga10/,/sw/lib/X11/fonts/applettf/,/usr/X11/share/fonts/local/

Do you see that "built-ins" particle in font path? It seems it does not get active/executed.

In my ~/.xinitrc I have effectively:

	xset fp+ /sw/lib/X11/fonts/msttf/,/sw/lib/X11/fonts/naga10/,/sw/lib/X11/fonts/applettf/
		WM=/opt/local/bin/quartz-wm
		xset fp+ /usr/X11/share/fonts/local/
		WM=/sw/bin/blackbox
	xset fp rehash
	
	gkrellm &
	sunclock &
	/usr/local/bin/emacs-24.0.50 -geometry 100x55+696+145 -T 24.0.50 --debug-init &
	/sw/bin/emacs-22.3 -geometry 85x45+18+240 -T 22.3 &
	exec $WM

(Presumingly /sw/lib/X11/fonts/msttf and /sw/lib/X11/fonts/applettf don't add anything – except memory use.)

Change History (12)

comment:1 Changed 15 years ago by jmroot (Joshua Root)

Description: modified (diff)
Owner: changed from macports-tickets@… to jeremyhu@…
Port: xorg-server added

Please remember to fill in the Port field and cc the maintainer.

comment:2 Changed 15 years ago by jeremyhu (Jeremy Huddleston Sequoia)

This is my font path from xorg-server and xorg-server-devel:

Font Path:

/usr/X11/lib/X11/fonts/misc/,/usr/X11/lib/X11/fonts/TTF/,/usr/X11/lib/X11/fonts/OTF,/usr/X11/lib/X11/fonts/Type1/,/usr/X11/lib/X11/fonts/75dpi/:unscaled,/usr/X11/lib/X11/fonts/100dpi/:unscaled,/usr/X11/lib/X11/fonts/75dpi/,/usr/X11/lib/X11/fonts/100dpi/,/Users/jeremy/Library/Fonts,/Library/Fonts,/System/Library/Fonts

Try launching without your .xinitrc and debug to figure out what the problem is. This is the first of any such issue I've heard about.

If your problem is in the 1.7.x server and fixed in 1.8.0, then this will be fixed "magically" when I update xorg-server to 1.8.1 when it is released next week.

comment:3 Changed 15 years ago by ballapete (Peter "Pete" Dyballa)

Launching xorg-server @1.7.6 without my ~/.xinitrc shows that it can use shell scripts in ~/.xinitrc.d! Renaming that directory, Font Path is indeed re-established and I have *almost* your value: I have an additional ~/.fonts directory in it...

But why is it using the fonts of the system's (could be: old) X11 installation? I would have assumed it uses those (modern ones?) from MacPorts...

Anyway, it's nice to see that xorg-server-devel and xorg-server can work with (shell) scripts in ~/.xinitrc.d! So it's time that a documentation comes up helping to make the transition from ~/.xinitrc to "modular" ~/.xinitrc.d...

comment:4 Changed 15 years ago by jeremyhu (Jeremy Huddleston Sequoia)

the fontpath should be getting set by /opt/X11/lib/X11/xinit/xinitrc.d/10-fontdir.sh

comment:5 Changed 15 years ago by jeremyhu (Jeremy Huddleston Sequoia)

Mine shows:

fontpath="/opt/X11/lib/X11/fonts/misc/,/opt/X11/lib/X11/fonts/TTF/,/opt/X11/lib/X11/fonts/OTF,/opt/X11/lib/X11/fonts/Type1/,/opt/X11/lib/X11/fonts/75dpi/:unscaled,/opt/X11/lib/X11/fonts/100dpi/:unscaled,/opt/X11/lib/X11/fonts/75dpi/,/opt/X11/lib/X11/fonts/100dpi/"

so I'm not sure why you're getting /usr/X11 values.

comment:6 in reply to:  4 Changed 15 years ago by ballapete (Peter "Pete" Dyballa)

Replying to jeremyhu@…:

the fontpath should be getting set by /opt/X11/lib/X11/xinit/xinitrc.d/10-fontdir.sh

I have /opt/local/lib/X11/xinit/xinitrc.d/10-fontdir.sh – and it has now, that xorg-server-devel is activated (XQuartz 2.5.1 (xorg-server 1.8.0)), this contents:

if [ -x /usr/X11/bin/xset ] ; then
        fontpath="/usr/X11/lib/X11/fonts/misc/,/usr/X11/lib/X11/fonts/TTF/,/usr/X11/lib/X11/fonts/OTF,/usr/X11/lib/X11/fonts/Type1/,/usr/X11/lib/X11/fonts/75dpi/:unscaled,/usr/X11/lib/X11/fonts/100dpi/:unscaled,/usr/X11/lib/X11/fonts/75dpi/,/usr/X11/lib/X11/fonts/100dpi/"

        [ -e "$HOME"/.fonts/fonts.dir ] && fontpath="$fontpath,$HOME/.fonts"
        [ -e "$HOME"/Library/Fonts/fonts.dir ] && fontpath="$fontpath,$HOME/Library/Fonts"
        [ -e /Library/Fonts/fonts.dir ] && fontpath="$fontpath,/Library/Fonts"
        [ -e /System/Library/Fonts/fonts.dir ] && fontpath="$fontpath,/System/Library/Fonts"

        /usr/X11/bin/xset fp= "$fontpath"
        unset fontpath
fi

In /Library/Fonts I have created subdirectories to contain particular groups of (for example Linux Libertine, those of my PostScript 3 printer, those once in iTunes, and of course a whole bunch of) public domain fonts. I think this is a good way of handling these extraneous fonts. Could the script be extended to scan for subdirectories?

There could also be another script to add for example TeX fonts to X11 Font Path...

comment:7 Changed 15 years ago by jeremyhu (Jeremy Huddleston Sequoia)

Resolution: fixed
Status: newclosed

ah, you're right. I was looking in /opt/X11 (XQuartz), not /opt/local... sorry. xinit should set the fontpath correctly in:

r66705

I suggest you do the following (rather than using a ~/.xinitrc):

mkdir ~/.xinitrc.d

cat > ~/.xinitrc.d/10-fontpath.sh <<EOF xset fp+ /sw/lib/X11/fonts/msttf/,/sw/lib/X11/fonts/naga10/,/sw/lib/X11/fonts/applettf/ xset fp+ /usr/X11/share/fonts/local/ xset fp rehash EOF

cat > ~/.xinitrc.d/50-misc.sh <<EOF gkrellm & sunclock & /usr/local/bin/emacs-24.0.50 -geometry 100x55+696+145 -T 24.0.50 --debug-init & /sw/bin/emacs-22.3 -geometry 85x45+18+240 -T 22.3 & EOF

cat > ~/.xinitrc.d/99-blackbox.sh <<EOF -x /sw/bin/blackbox ? && exec /sw/bin/blackbox EOF

comment:8 Changed 15 years ago by ballapete (Peter "Pete" Dyballa)

I had already two scripts, one extending Font Path and the second launching my standard X clients, and thought of putting USERWM into ~/.MacOSX/environment.plist, but this is definitely a better solution! Thanks for this.

With /opt/local/bin/blackbox startup is this:

20.04.10 23:39:07 [0x0-0x11aa1a9].org.macports.X11[23061] com.apple.console X11.app: DISPLAY does not look like a launchd set variable, unsetting. 
20.04.10 23:39:07 [0x0-0x11aa1a9].org.macports.X11[23061] com.apple.console X11.app: main(): argc=2 
20.04.10 23:39:07 [0x0-0x11aa1a9].org.macports.X11[23061] com.apple.console  argv[0] = /Applications/MacPorts/X11.app/Contents/MacOS/X11.bin 
20.04.10 23:39:07 [0x0-0x11aa1a9].org.macports.X11[23061] com.apple.console  argv[1] = -psn_0_18522537 
20.04.10 23:39:07 [0x0-0x11aa1a9].org.macports.X11[23061] com.apple.console X11.app: Could not connect to server (DISPLAY is not set).  Starting X server. 
20.04.10 23:39:07 [0x0-0x11aa1a9].org.macports.X11[23061] com.apple.console Waiting for startup parameters via Mach IPC. 
20.04.10 23:39:07 [0x0-0x11aa1a9].org.macports.X11[23061] com.apple.console X11.app: Launching /opt/local/bin/startx: 
20.04.10 23:39:07 [0x0-0x11aa1a9].org.macports.X11[23061] com.apple.console  argv[0] = /bin/sh 
20.04.10 23:39:07 [0x0-0x11aa1a9].org.macports.X11[23061] com.apple.console  argv[1] = -c 
20.04.10 23:39:07 [0x0-0x11aa1a9].org.macports.X11[23061] com.apple.console  argv[2] = /opt/local/bin/startx 
20.04.10 23:39:07 org.macports.privileged_startx[23089] com.apple.console font_cache: Scanning system font directories to generate X11 font caches 
20.04.10 23:39:07 org.macports.privileged_startx[23089] com.apple.console font_cache: Scanning system font directories to generate X11 font caches 
20.04.10 23:39:08 [0x0-0x11aa1a9].org.macports.X11[23061] com.apple.console xauth:  creating new authority file /Users/pete/.serverauth.23083 
20.04.10 23:39:09 [0x0-0x11aa1a9].org.macports.X11[23061] com.apple.console X11.app: No launchd socket handed off, unsetting DISPLAY 
20.04.10 23:39:09 [0x0-0x11aa1a9].org.macports.X11[23061] com.apple.console X11.app: do_start_x11_server(): argc=6 
20.04.10 23:39:09 [0x0-0x11aa1a9].org.macports.X11[23061] com.apple.console  argv[0] = /opt/local/bin/X 
20.04.10 23:39:09 [0x0-0x11aa1a9].org.macports.X11[23061] com.apple.console  argv[1] = :35 
20.04.10 23:39:09 [0x0-0x11aa1a9].org.macports.X11[23061] com.apple.console  argv[2] = -dpi 
20.04.10 23:39:09 [0x0-0x11aa1a9].org.macports.X11[23061] com.apple.console  argv[3] = 96 
20.04.10 23:39:09 [0x0-0x11aa1a9].org.macports.X11[23061] com.apple.console  argv[4] = -auth 
20.04.10 23:39:09 [0x0-0x11aa1a9].org.macports.X11[23061] com.apple.console  argv[5] = /Users/pete/.serverauth.23083 
20.04.10 23:39:09 [0x0-0x11aa1a9].org.macports.X11[23061] com.apple.console  argv[5] = /Users/pete/.serverauth.23083 
20.04.10 23:39:10 [0x0-0x11aa1a9].org.macports.X11[23061] com.apple.console Xquartz starting: 
20.04.10 23:39:10 [0x0-0x11aa1a9].org.macports.X11[23061] com.apple.console X.Org X Server 1.7.6 
20.04.10 23:39:10 [0x0-0x11aa1a9].org.macports.X11[23061] com.apple.console Build Date: 20100404 
20.04.10 23:39:10 [0x0-0x11aa1a9].org.macports.X11[23061] com.apple.console [dix] Could not init font path element /opt/local/lib/X11/fonts/misc/, removing from list! 
20.04.10 23:39:10 [0x0-0x11aa1a9].org.macports.X11[23061] com.apple.console [dix] Could not init font path element /opt/local/lib/X11/fonts/TTF/, removing from list! 
20.04.10 23:39:10 [0x0-0x11aa1a9].org.macports.X11[23061] com.apple.console [dix] Could not init font path element /opt/local/lib/X11/fonts/OTF, removing from list! 
20.04.10 23:39:10 [0x0-0x11aa1a9].org.macports.X11[23061] com.apple.console [dix] Could not init font path element /opt/local/lib/X11/fonts/Type1/, removing from list! 
20.04.10 23:39:10 [0x0-0x11aa1a9].org.macports.X11[23061] com.apple.console [dix] Could not init font path element /opt/local/lib/X11/fonts/100dpi/, removing from list! 
20.04.10 23:39:10 [0x0-0x11aa1a9].org.macports.X11[23061] com.apple.console [dix] Could not init font path element /opt/local/lib/X11/fonts/75dpi/, removing from list! 
20.04.10 23:39:13 [0x0-0x11aa1a9].org.macports.X11[23061] com.apple.console The XKEYBOARD keymap compiler (xkbcomp) reports: 
20.04.10 23:39:13 [0x0-0x11aa1a9].org.macports.X11[23061] com.apple.console >  
20.04.10 23:39:13 [0x0-0x11aa1a9].org.macports.X11[23061] com.apple.console Error:             
20.04.10 23:39:13 [0x0-0x11aa1a9].org.macports.X11[23061] com.apple.console Can't find file "empty" for symbols include 
20.04.10 23:39:13 [0x0-0x11aa1a9].org.macports.X11[23061] com.apple.console >  
20.04.10 23:39:13 [0x0-0x11aa1a9].org.macports.X11[23061] com.apple.console                    
20.04.10 23:39:13 [0x0-0x11aa1a9].org.macports.X11[23061] com.apple.console Exiting 
20.04.10 23:39:13 [0x0-0x11aa1a9].org.macports.X11[23061] com.apple.console >  
20.04.10 23:39:13 [0x0-0x11aa1a9].org.macports.X11[23061] com.apple.console                    
20.04.10 23:39:13 [0x0-0x11aa1a9].org.macports.X11[23061] com.apple.console Abandoning symbols file "default" 
20.04.10 23:39:13 [0x0-0x11aa1a9].org.macports.X11[23061] com.apple.console Errors from xkbcomp are not fatal to the X server 
20.04.10 23:39:18 org.macports.privileged_startx[23089] com.apple.console font_cache: Updating FC cache 
20.04.10 23:39:18 org.macports.privileged_startx[23089] com.apple.console font_cache: Updating FC cache 
20.04.10 23:39:23 org.macports.privileged_startx[23089] com.apple.console font_cache: Done 
20.04.10 23:39:23 org.macports.privileged_startx[23089] com.apple.console font_cache: Done 
20.04.10 23:43:47 [0x0-0x11aa1a9].org.macports.X11[23061] com.apple.console X connection to :35.0 broken (explicit kill or server shutdown). 
20.04.10 23:43:47 [0x0-0x11aa1a9].org.macports.X11[23061] com.apple.console blackbox: managing screen 0 using TrueColor visual 0x22, depth 24 
20.04.10 23:43:47 [0x0-0x11aa1a9].org.macports.X11[23061] com.apple.console xinit:  connection to X server lost. 
20.04.10 23:43:47 [0x0-0x11aa1a9].org.macports.X11[23061] com.apple.console waiting for X server to shut down  
20.04.10 23:43:47 com.apple.launchd[142] com.apple.console ([0x0-0x11aa1a9].org.macports.X11[23061]) Stray process with PGID equal to this dead job: PID 23119 PPID 23083 xinit 
20.04.10 23:43:47 com.apple.launchd[142] com.apple.console ([0x0-0x11aa1a9].org.macports.X11[23061]) Stray process with PGID equal to this dead job: PID 23083 PPID 1 sh 
20.04.10 23:43:47 com.apple.launchd[142] com.apple.console ([0x0-0x11aa1a9].org.macports.X11[23061]) Exited with exit code: 1 
20.04.10 23:43:47 com.apple.launchd[142] com.apple.console ([0x0-0x11aa1a9].org.macports.X11[23061]) Exited with exit code: 1 

and with /sw/bin/blackbox it's:

20.04.10 23:43:53 [0x0-0x11ab1aa].org.macports.X11[23458] com.apple.console X11.app: DISPLAY does not look like a launchd set variable, unsetting. 
20.04.10 23:43:53 [0x0-0x11ab1aa].org.macports.X11[23458] com.apple.console X11.app: main(): argc=2 
20.04.10 23:43:53 [0x0-0x11ab1aa].org.macports.X11[23458] com.apple.console  argv[0] = /Applications/MacPorts/X11.app/Contents/MacOS/X11.bin 
20.04.10 23:43:53 [0x0-0x11ab1aa].org.macports.X11[23458] com.apple.console  argv[1] = -psn_0_18526634 
20.04.10 23:43:53 [0x0-0x11ab1aa].org.macports.X11[23458] com.apple.console X11.app: Could not connect to server (DISPLAY is not set).  Starting X server. 
20.04.10 23:43:53 [0x0-0x11ab1aa].org.macports.X11[23458] com.apple.console X11.app: Launching /opt/local/bin/startx: 
20.04.10 23:43:53 [0x0-0x11ab1aa].org.macports.X11[23458] com.apple.console  argv[0] = /bin/sh 
20.04.10 23:43:53 [0x0-0x11ab1aa].org.macports.X11[23458] com.apple.console  argv[1] = -c 
20.04.10 23:43:53 [0x0-0x11ab1aa].org.macports.X11[23458] com.apple.console  argv[2] = /opt/local/bin/startx 
20.04.10 23:43:53 [0x0-0x11ab1aa].org.macports.X11[23458] com.apple.console Waiting for startup parameters via Mach IPC. 
20.04.10 23:43:53 org.macports.privileged_startx[23485] com.apple.console font_cache: Scanning system font directories to generate X11 font caches 
20.04.10 23:43:54 [0x0-0x11ab1aa].org.macports.X11[23458] com.apple.console xauth:  creating new authority file /Users/pete/.serverauth.23479 
20.04.10 23:43:54 [0x0-0x11ab1aa].org.macports.X11[23458] com.apple.console X11.app: No launchd socket handed off, unsetting DISPLAY 
20.04.10 23:43:54 [0x0-0x11ab1aa].org.macports.X11[23458] com.apple.console X11.app: do_start_x11_server(): argc=6 
20.04.10 23:43:54 [0x0-0x11ab1aa].org.macports.X11[23458] com.apple.console  argv[0] = /opt/local/bin/X 
20.04.10 23:43:54 [0x0-0x11ab1aa].org.macports.X11[23458] com.apple.console  argv[1] = :36 
20.04.10 23:43:54 [0x0-0x11ab1aa].org.macports.X11[23458] com.apple.console  argv[2] = -dpi 
20.04.10 23:43:54 [0x0-0x11ab1aa].org.macports.X11[23458] com.apple.console  argv[3] = 96 
20.04.10 23:43:54 [0x0-0x11ab1aa].org.macports.X11[23458] com.apple.console  argv[4] = -auth 
20.04.10 23:43:54 [0x0-0x11ab1aa].org.macports.X11[23458] com.apple.console  argv[5] = /Users/pete/.serverauth.23479 
20.04.10 23:43:54 [0x0-0x11ab1aa].org.macports.X11[23458] com.apple.console  argv[5] = /Users/pete/.serverauth.23479 
20.04.10 23:43:54 [0x0-0x11ab1aa].org.macports.X11[23458] com.apple.console  argv[5] = /Users/pete/.serverauth.23479 
20.04.10 23:43:55 [0x0-0x11ab1aa].org.macports.X11[23458] com.apple.console Xquartz starting: 
20.04.10 23:43:55 [0x0-0x11ab1aa].org.macports.X11[23458] com.apple.console X.Org X Server 1.7.6 
20.04.10 23:43:55 [0x0-0x11ab1aa].org.macports.X11[23458] com.apple.console Build Date: 20100404 
20.04.10 23:43:55 [0x0-0x11ab1aa].org.macports.X11[23458] com.apple.console Thread Assertion Failed: self=Unknown Thread, expected=Xserver Thread 
20.04.10 23:43:55 [0x0-0x11ab1aa].org.macports.X11[23458] com.apple.console xprFrame.c:xprInit:474 
20.04.10 23:43:55 [0x0-0x11ab1aa].org.macports.X11[23458] com.apple.console 0   X11.bin                             0x00015dc4 spewCallStack + 36 
20.04.10 23:43:55 [0x0-0x11ab1aa].org.macports.X11[23458] com.apple.console 1   X11.bin                             0x00019688 xprInit + 72 
20.04.10 23:43:55 [0x0-0x11ab1aa].org.macports.X11[23458] com.apple.console 2   X11.bin                             0x0001b26c xprHideWindows + 4044 
20.04.10 23:43:55 [0x0-0x11ab1aa].org.macports.X11[23458] com.apple.console 3   X11.bin                             0x000133e4 QuartzSetupScreen + 52 
20.04.10 23:43:55 [0x0-0x11ab1aa].org.macports.X11[23458] com.apple.console 4   X11.bin                             0x0000f128 DarwinPrintBanner + 504 
20.04.10 23:43:55 [0x0-0x11ab1aa].org.macports.X11[23458] com.apple.console 5   X11.bin                             0x000da30c AddScreen + 380 
20.04.10 23:43:55 [0x0-0x11ab1aa].org.macports.X11[23458] com.apple.console 6   X11.bin                             0x0000fb34 InitOutput + 180 
20.04.10 23:43:55 [0x0-0x11ab1aa].org.macports.X11[23458] com.apple.console 7   X11.bin                             0x000ca84c dix_main + 636 
20.04.10 23:43:55 [0x0-0x11ab1aa].org.macports.X11[23458] com.apple.console 8   X11.bin                             0x00015b88 QuartzReadSystemKeymap + 1960 
20.04.10 23:43:55 [0x0-0x11ab1aa].org.macports.X11[23458] com.apple.console 9   libSystem.B.dylib                   0x935b20d4 _pthread_start + 320 
20.04.10 23:43:56 [0x0-0x11ab1aa].org.macports.X11[23458] com.apple.console [dix] Could not init font path element /opt/local/lib/X11/fonts/misc/, removing from list! 
20.04.10 23:43:56 [0x0-0x11ab1aa].org.macports.X11[23458] com.apple.console [dix] Could not init font path element /opt/local/lib/X11/fonts/TTF/, removing from list! 
20.04.10 23:43:56 [0x0-0x11ab1aa].org.macports.X11[23458] com.apple.console [dix] Could not init font path element /opt/local/lib/X11/fonts/OTF, removing from list! 
20.04.10 23:43:56 [0x0-0x11ab1aa].org.macports.X11[23458] com.apple.console [dix] Could not init font path element /opt/local/lib/X11/fonts/Type1/, removing from list! 
20.04.10 23:43:56 [0x0-0x11ab1aa].org.macports.X11[23458] com.apple.console [dix] Could not init font path element /opt/local/lib/X11/fonts/100dpi/, removing from list! 
20.04.10 23:43:56 [0x0-0x11ab1aa].org.macports.X11[23458] com.apple.console [dix] Could not init font path element /opt/local/lib/X11/fonts/75dpi/, removing from list! 
20.04.10 23:43:58 [0x0-0x11ab1aa].org.macports.X11[23458] com.apple.console The XKEYBOARD keymap compiler (xkbcomp) reports: 
20.04.10 23:43:58 [0x0-0x11ab1aa].org.macports.X11[23458] com.apple.console >  
20.04.10 23:43:58 [0x0-0x11ab1aa].org.macports.X11[23458] com.apple.console Error:             
20.04.10 23:43:58 [0x0-0x11ab1aa].org.macports.X11[23458] com.apple.console Can't find file "empty" for symbols include 
20.04.10 23:43:58 [0x0-0x11ab1aa].org.macports.X11[23458] com.apple.console >  
20.04.10 23:43:58 [0x0-0x11ab1aa].org.macports.X11[23458] com.apple.console                    
20.04.10 23:43:58 [0x0-0x11ab1aa].org.macports.X11[23458] com.apple.console Exiting 
20.04.10 23:43:58 [0x0-0x11ab1aa].org.macports.X11[23458] com.apple.console >  
20.04.10 23:43:58 [0x0-0x11ab1aa].org.macports.X11[23458] com.apple.console                    
20.04.10 23:43:58 [0x0-0x11ab1aa].org.macports.X11[23458] com.apple.console Abandoning symbols file "default" 
20.04.10 23:43:58 [0x0-0x11ab1aa].org.macports.X11[23458] com.apple.console Errors from xkbcomp are not fatal to the X server 
20.04.10 23:44:06 org.macports.privileged_startx[23485] com.apple.console font_cache: Updating FC cache 
20.04.10 23:44:06 org.macports.privileged_startx[23485] com.apple.console font_cache: Updating FC cache 
20.04.10 23:44:10 org.macports.privileged_startx[23485] com.apple.console font_cache: Done 
20.04.10 23:44:10 org.macports.privileged_startx[23485] com.apple.console font_cache: Done 
21.04.10 00:16:48 [0x0-0x11ab1aa].org.macports.X11[23458] com.apple.console X connection to :36.0 broken (explicit kill or server shutdown). 
21.04.10 00:16:48 [0x0-0x11ab1aa].org.macports.X11[23458] com.apple.console blackbox: managing screen 0 using TrueColor visual 0x22, depth 24 
21.04.10 00:16:48 [0x0-0x11ab1aa].org.macports.X11[23458] com.apple.console xinit:  connection to X server lost. 
21.04.10 00:16:48 [0x0-0x11ab1aa].org.macports.X11[23458] com.apple.console waiting for X server to shut down  
21.04.10 00:16:48 com.apple.launchd[142] com.apple.console ([0x0-0x11ab1aa].org.macports.X11[23458]) Stray process with PGID equal to this dead job: PID 23515 PPID 23479 xinit 
21.04.10 00:16:48 com.apple.launchd[142] com.apple.console ([0x0-0x11ab1aa].org.macports.X11[23458]) Stray process with PGID equal to this dead job: PID 23479 PPID 1 sh 
21.04.10 00:16:48 com.apple.launchd[142] com.apple.console ([0x0-0x11ab1aa].org.macports.X11[23458]) Exited with exit code: 1 
21.04.10 00:16:48 com.apple.launchd[142] com.apple.console ([0x0-0x11ab1aa].org.macports.X11[23458]) Exited with exit code: 1 

This works with xorg-server-devel as well.

comment:9 Changed 15 years ago by jeremyhu (Jeremy Huddleston Sequoia)

20.04.10 23:39:10 [0x0-0x11aa1a9].org.macports.X11[23061] com.apple.console [dix] Could not init font path element /opt/local/lib/X11/fonts/misc/, removing from list! 
20.04.10 23:39:10 [0x0-0x11aa1a9].org.macports.X11[23061] com.apple.console [dix] Could not init font path element /opt/local/lib/X11/fonts/TTF/, removing from list! 
20.04.10 23:39:10 [0x0-0x11aa1a9].org.macports.X11[23061] com.apple.console [dix] Could not init font path element /opt/local/lib/X11/fonts/OTF, removing from list! 
20.04.10 23:39:10 [0x0-0x11aa1a9].org.macports.X11[23061] com.apple.console [dix] Could not init font path element /opt/local/lib/X11/fonts/Type1/, removing from list! 
20.04.10 23:39:10 [0x0-0x11aa1a9].org.macports.X11[23061] com.apple.console [dix] Could not init font path element /opt/local/lib/X11/fonts/100dpi/, removing from list! 
20.04.10 23:39:10 [0x0-0x11aa1a9].org.macports.X11[23061] com.apple.console [dix] Could not init font path element /opt/local/lib/X11/fonts/75dpi/, removing from list! 

That looks odd... are your font directories ok? Make sure you have fonts in those dirs.

comment:10 Changed 15 years ago by ballapete (Peter "Pete" Dyballa)

There are indeed no font files...

Is this a bug in the port activate/deactivate commands?

comment:11 Changed 15 years ago by ballapete (Peter "Pete" Dyballa)

Which xorg-server-devel is now active I have my X11 fonts in

17408	/opt/local/share/fonts/100dpi
16112	/opt/local/share/fonts/75dpi
 6020	/opt/local/share/fonts/OTF
  556	/opt/local/share/fonts/Speedo
 1036	/opt/local/share/fonts/TTF
 2860	/opt/local/share/fonts/Type1
  592	/opt/local/share/fonts/cyrillic
  764	/opt/local/share/fonts/encodings
 8168	/opt/local/share/fonts/misc
 4620	/opt/local/share/fonts/urw-fonts
  220	/opt/local/share/fonts/util

Rebuilding xorg-server-devel configure finds:

checking for root directory for font files... /opt/local/share/fonts
checking for directory for misc files... ${FONTROOTDIR}/misc
checking for directory for OTF files... ${FONTROOTDIR}/OTF
checking for directory for TTF files... ${FONTROOTDIR}/TTF
checking for directory for Type1 files... ${FONTROOTDIR}/Type1
checking for directory for 75dpi files... ${FONTROOTDIR}/75dpi
checking for directory for 100dpi files... ${FONTROOTDIR}/100dpi
checking for ${prefix}/etc/X11/fontpath.d... no
checking for default font path... ${FONTROOTDIR}/misc/,${FONTROOTDIR}/TTF/,${FONTROOTDIR}/OTF/,${FONTROOTDIR}/Type1/,${FONTROOTDIR}/100dpi/,${FONTROOTDIR}/75dpi/,/Library/Fonts,/System/Library/Fonts

In xorg-server-1.7.6 this does not happen. The command 'port installed' shows that I have installed:

  font-adobe-100dpi @1.0.1_0 (active)
  font-adobe-75dpi @1.0.1_0 (active)
  font-adobe-utopia-100dpi @1.0.2_0 (active)
  font-adobe-utopia-75dpi @1.0.2_0 (active)
  font-adobe-utopia-type1 @1.0.2_0 (active)
  font-alias @1.0.1_0 (active)
  font-arabic-misc @1.0.1_0 (active)
  font-bh-100dpi @1.0.1_0 (active)
  font-bh-75dpi @1.0.1_0 (active)
  font-bh-lucidatypewriter-100dpi @1.0.1_0 (active)
  font-bh-lucidatypewriter-75dpi @1.0.1_0 (active)
  font-bh-ttf @1.0.1_0 (active)
  font-bh-type1 @1.0.1_0 (active)
  font-bitstream-100dpi @1.0.1_0 (active)
  font-bitstream-75dpi @1.0.1_0 (active)
  font-bitstream-speedo @1.0.1_0 (active)
  font-bitstream-type1 @1.0.1_0 (active)
  font-cronyx-cyrillic @1.0.1_0 (active)
  font-cursor-misc @1.0.1_0 (active)
  font-daewoo-misc @1.0.1_0 (active)
  font-dec-misc @1.0.1_0 (active)
  font-ibm-type1 @1.0.1_0 (active)
  font-isas-misc @1.0.1_0 (active)
  font-jis-misc @1.0.1_0 (active)
  font-micro-misc @1.0.1_0 (active)
  font-misc-cyrillic @1.0.1_0 (active)
  font-misc-ethiopic @1.0.1_0 (active)
  font-misc-meltho @1.0.1_0 (active)
  font-misc-misc @1.1.0_0 (active)
  font-mutt-misc @1.0.1_0 (active)
  font-schumacher-misc @1.1.0_0 (active)
  font-screen-cyrillic @1.0.2_0 (active)
  font-sony-misc @1.0.1_0 (active)
  font-sun-misc @1.0.1_0 (active)
  font-winitzki-cyrillic @1.0.1_0 (active)
  font-xfree86-type1 @1.0.2_0 (active)

comment:12 Changed 15 years ago by jeremyhu (Jeremy Huddleston Sequoia)

Ah... you don't have the symlink for some reason...

r66728

Note: See TracTickets for help on using tickets.