Martin and I have been working on following issue for some time and can't seem to resolve. Anyone else with a thought? Have reinstalled all packages in my build and still same problem. Did notice in fink commander that I do not seem to have any of the fontconfig1 packages in my build. Note the following began with complete from scratch build of bundle gnome and gnome-office. Started over from scratch after my original gnome build ended with same result.

Begin forward:

Done. Deleted freetype (all). Rebuilt pango-xft2 (all), libgnomeui2 (all), and gnome-print (all) and gnumeric. Still get exactly the same errors.

Stephen

On Apr 4, 2004, at 11:55 PM, James Gibbs wrote:

On Apr 3, 2004, at 11:06 PM, Stephen Fisher wrote:

Having just completed a complete from scratch x11, x11sdk and gnome and gnome office install with no errors, tried to start both abiword and gnumeric with following results:

for abiword get splash screen then nothing. Terminal reads.

/sw/bin/abiword: Line 14: 1265 Illegal instruction /sw/bin/AbiSuite-2.0/Abiword-2.0 $&

for gnumeric get nothing and following in terminal:

(gnumeric:1297) GnomePrint-WARNING: Can't create GPFontEntry, FC-FAMILY not found
**ERROR**:pangofc-fontmap.cI: Line 407 (pango_fc_font_map_list_families): assertion failed: (res ==FcResultMatch)
aborting....
Abort

Got the same crap with my old install.
Rebuilt both gnome-print and pango to no avail.

Do you have any freetype or freetype2 packages installed? Type "fink list freetype" to find out.
If so, you have to remove them, then rebuild pango-xft2 (and -dev and -shlibs) and libgnomeui.

James.

On Apr 6, 2004, at 12:55 AM, Martin Costabel wrote:

Stephen Fisher wrote:

moved the applettf directory and then rebuilt gnome-print and libgnomeui2. Tried abiword and gnumeric again, and gramps (genealogy program which was working with my gnome install and applesystemfonts) and got same error for all:

cannot open font file for font Verdana Bold Italic 10
cannot open fallback font, nothing to do

To avoid this, you could create an empty /sw/lib/X11/fonts/applettf/ directory and run the following commands from the command line:

cd /sw/lib/X11/fonts/applettf/
fondu /Library/Fonts/Verdana

yields error: Can't open temporary file for truetype output. do I need to specifiy Verdana Regular, Bold or etc. The verdana above is a suitcase file.

mkfontscale
mkfontdir

This should give you back your Vardana font that seems to have been chosen as a default font. Why Verdana should be the default, I don't know.

Verdana is not even an Apple system font, it is a Microsoft font that exists in /Library/Fonts only because Microsoft Internet Explorer installed it there.

Therefore another idea would be - and this might bring you closer to the real origin of your problem - to try and find out where on your system it is stored that Verdana should be the default font for your gnome applications. Run something like

grep Verdana -r ~/.g* ~/Library/Preferences

yields:
/Users/stephenfisher/.galeon/mozilla/galeon/prefs.bak:user_pref("font.name.sans-serif.x-western", "Verdana");
/Users/stephenfisher/.galeon/mozilla/galeon/prefs.js:user_pref("font.name.sans-serif.x-western", "Verdana");
/Users/stephenfisher/.gconf/apps/galeon/Rendering/%gconf.xml:<stringvalue>Verdana</stringvalue>
Binary file /Users/stephenfisher/Library/Preferences/Backup/BackupSet-CD-R.cat matches
Binary file /Users/stephenfisher/Library/Preferences/Backup/RestoreCatalog-CD-R.cat matches
/Users/stephenfisher/Library/Preferences/com.apple.FontBook.plist: <string>Verdana</string>
/Users/stephenfisher/Library/Preferences/com.apple.FontBook.plist: <string>Verdana</string>
/Users/stephenfisher/Library/Preferences/com.apple.recentitems.plist: <string>/Users/stephenfisher/Library/Fonts/Verdana</string>

I assume the only ones that matter here are the /Users/galeon and in particular .gconf files as the other are OSX pref files. Yet even the suspect ones are Galeon/Mozilla files not gnumeric, abiword or gramps so I don't see the connection.

Depending on what you find, the procedure to follow afterwards and the conclusions for the true origin of your problem would be different.
In addition to previously reported errors for abiword and gnumeric.

Now this is interesting, because it seems to indicate that these "previously reported errors" are not related to applesystemfonts.

This is weird. Did you try to remove the .gnome* directories in your home directory? Or any other ~/.g* directories like ~/.gconf? Maybe there is a definition of a default font somewhere in there that doesn't work.

You haven't tried this yet, have you?

No. There are alot of files in these directories. Do I remove the whole directory or something specific?

The only package that depends on applesystemfonts is abiword. If you remove the abiword package, nothing else should ask you to install applesystemfonts.
If this is true then why am I getting the font errors above for every installed gnome program that relies on gnome 2.4 when I simply move the applettf directory. (Gnucash still works but then it is still basically a gnome 1.4 program.) Seems to me there is some conflict wherein applesystemfonts inserts a default font dependency rather than just make the apple fonts available if you want to use them which I thought was the purpose of the program. This behavior is I think also why when I deleted applesystemfonts from my previous install gnome started bombing; i.e. couldn't find verdana default font.

It is possible that some gnome programs choose Verdana as default font when it is available. This would explain this behavior. It would not explain the other error you have been talking about.

--
Martin


From: Stephen Fisher <[EMAIL PROTECTED]>
Date: April 10, 2004 8:27:33 AM CDT
To: Martin Costabel <[EMAIL PROTECTED]>
Subject: Re: [Fink-beginners] Abiword and Gnumeric fail


On Apr 10, 2004, at 3:19 AM, Martin Costabel wrote:

Did you restart X11 after you did the first step above? If you run "xset -q",

output from xset-q.

Keyboard Control:
auto repeat: on key click percent: 0 LED mask: 00000000
auto repeat delay: 660 repeat rate: 25
auto repeating keys: 00ffffffffffff7f
80ffffffffffffff
ffffffffffffffff
ffffffffffffffff
bell percent: 50 bell pitch: 400 bell duration: 100
Pointer Control:
acceleration: 2/1 threshold: 4
Screen Saver:
prefer blanking: yes allow exposures: yes
timeout: 600 cycle: 600
Colors:
default colormap: 0x20 BlackPixel: 0 WhitePixel: 16777215
Font Path:

/sw/lib/x11/fonts/applettf,/sw/lib/X11/fonts/applettf/,/usr/X11R6/lib/X11/font
s/misc/,/usr/X11R6/lib/X11/fonts/Speedo/,/usr/X11R6/lib/X11/fonts/Type1/,/usr/X1
1R6/lib/X11/fonts/CID/,/usr/X11R6/lib/X11/fonts/75dpi/,/usr/X11R6/lib/X11/fonts/
100dpi/
Bug Mode: compatibility mode is disabled
DPMS (Energy Star):
Display is not capable of DPMS
Font cache:
hi-mark (KB): 5120 low-mark (KB): 3840 balance (%): 70

you need to see in the Font Path: /sw/lib/X11/fonts/applettf/. If this is not there, you should run, while X11 is running:

looks like path is there

xset +fp /sw/lib/X11/fonts/applettf

did this. contents of file font.dir: font is there

Verdana.ttf -microsoft-Verdana-medium-r-normal--0-0-0-0-p-0-iso8859-1
Verdana.ttf -microsoft-Verdana-medium-r-normal--0-0-0-0-p-0-iso10646-1
VerdanaBold.ttf -microsoft-Verdana-bold-r-normal--0-0-0-0-p-0-iso8859-1
VerdanaBold.ttf -microsoft-Verdana-bold-r-normal--0-0-0-0-p-0-iso10646-1
VerdanaBoldItalic.ttf -microsoft-Verdana-bold-i-normal--0-0-0-0-p-0-iso8859-1
VerdanaBoldItalic.ttf -microsoft-Verdana-bold-i-normal--0-0-0-0-p-0-iso10646-1
VerdanaItalic.ttf -microsoft-Verdana-medium-i-normal--0-0-0-0-p-0-iso8859-1
VerdanaItalic.ttf -microsoft-Verdana-medium-i-normal--0-0-0-0-p-0-iso10646-1

rebuilt gnumeric and abiword again. same error messages.




Reply via email to