Re: [Inkscape-user] No Inkscape window in MacOS 10.5.2
Re: [Inkscape-user] No Inkscape window in MacOS 10.5.2
- Subject: Re: [Inkscape-user] No Inkscape window in MacOS 10.5.2
- From: Jeremy Huddleston <email@hidden>
- Date: Tue, 19 Feb 2008 17:35:45 -0800
In Inkscape.app, the reason we call fc-cache manually and force it
to rebuild the first time a user opens Inkscape is so we can pop up
a dialog and warn the user that it takes some time, and that they
should wait for Inkscape to load rather than submitting us bug
reports when the window doesn't appear immediately -- fc-cache
cantake up to a five minutes on Tiger to build the entire font cache
for some users. If we don't do this, then the cache is rebuilt if
necessary when the app starts anyway through the standard mechanism.
We call "/usr/X11/bin/fc-cache -f" and set a FONTCONFIG_PATH path to
point to a custom version of fonts.conf that searches the following
directories:
<dir>/Library/Fonts</dir>
<dir>/Network/Library/Fonts</dir>
<dir>/System/Library/Fonts</dir>
<dir>/usr/X11R6/lib/X11/fonts</dir>
<dir>/usr/share/fonts</dir>
<dir>/var/root/Library/Fonts</dir>
<dir>~/.fonts</dir>
<dir>~/Library/Fonts</dir>
Some of these (though I forget which) were not in Tiger/Panther's
fontconfig configuration and we were getting bug reports about
that. Does this method of specifying directories still work
correctly under new versions of XQuartz on Leopard? Or should we be
doing something different now?
Right now, all those directories are included except for /var/root/
Library/Fonts (private, no permissions), /usr/share/fonts (doesn't
exist), and /Network/Library/Fonts (not added by default). If you
really think the user should be add /Network/Library/Fonts, you should
tell the user to add it in their own ~/.fonts.conf file.
Additionally, you should not be running fc-cache on newer systems,
since we're now taking care of this at server startup. I think you
should probably do this instead of always running fontconfig:
[ -d ${HOME}/.fontconfig ] || fc-cache
That way, you're sure not to clobber the standard cache by mistake.
Attachment:
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________
Do not post admin requests to the list. They will be ignored.
X11-users mailing list (email@hidden)
This email sent to email@hidden