[MacPorts] #29530: Xorg-server-devel 1.10.1.902 sets fontpath incorrectly
MacPorts
noreply at macports.org
Sun May 22 02:18:12 PDT 2011
#29530: Xorg-server-devel 1.10.1.902 sets fontpath incorrectly
--------------------------------------+-------------------------------------
Reporter: Peter_Dyballa@… | Owner: macports-tickets@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 1.9.2
Keywords: | Port:
--------------------------------------+-------------------------------------
Comment(by Peter_Dyballa@…):
Replying to [comment:1 jeremyhu@…]:
> Nothing changed between 1.10.1 and 1.10.1.902 having to do with that
codepath.
>
> Why is your /System/Library/Fonts not valid? It should be getting setup
with startx. Please run the following and report the output:
>
> sudo /opt/local/bin/font_cache -fsv
>
{{{
font_cache [options]
-f, --force : Force cache recreation
-n, --no-osxfonts : Just cache X11 font directories
(-n just pertains to XFont cache, not fontconfig)
-s, --system : Cache system font dirs instead of user dirs
-v, --verbose : Verbose Output
Exit 1
}}}
The correct invocation is: sudo /opt/local/bin/font_cache -f -s -v
This command then reports this:
{{{
font_cache: /System/Library/Fonts
Unknown Type 1 weight "All"
Couldn't determine weight for HelveLTMM
Unknown Type 1 weight "All"
Couldn't determine weight for TimesLTMM
font_cache: /Library/Fonts
font_cache: /Library/Fonts/Extrafonts
font_cache: /Library/Fonts/Extrafonts/Bauhaus
Unknown Type 1 weight "Heavy"
Couldn't determine weight for Bauhaus-Heavy 001.000.pfb
font_cache: /Library/Fonts/PostScript 3
Unknown Type 1 weight "Compact"
Couldn't determine weight for AntiqOliCom
Unknown Type 1 weight "Poster"
Couldn't determine weight for BodonPos
Unknown Type 1 weight "Poster"
Couldn't determine weight for BodonPosCom
Unknown Type 1 weight "ExtraBold"
Couldn't determine weight for CoppeThiThrBC
Unknown Type 1 weight "Extra Bold"
Couldn't determine weight for GillSanExtBol
Unknown Type 1 weight "ExtraBold"
Couldn't determine weight for GoudyExtBol
}}}
Running it makes no difference. After GNU Emacs 23.3 (GTK2+) and GNU Emacs
24.0.50 (Xaw3d) are launched they both consume each 25 % of CPU power. The
former shows in some "windows" (parts of the X11 window, which is called
the "frame") some text, the latter none at all. Launching gkrellm takes
longest, while it consumes all of the remaining CPU power. On my 1.5 GHz
PowerBook G4 *minutes* pass.
This really does not look like a problem with fonts in the X server or in
libfontconfig. Such bugs exist in xfontsel or xfd which can't display
fonts from the foundries apple or monotype (or linotype, if such fonts are
found in fontpath). Xfontsel simply crashes, disappears from screen, xfd
at least reports:
{{{
X Error of failed request: BadValue (integer parameter out of range for
operation)
Major opcode of failed request: 45 (X_OpenFont)
Value in failed request: 0x1200012
Serial number of failed request: 67
Current serial number in output stream: 68
Exit 1
}}}
I am attaching a screenshot of the two Emacsen's view.
--
Ticket URL: <https://trac.macports.org/ticket/29530#comment:3>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list