Putting that line into Inkscape didn't seem to help, although inkscape is getting the change. I think it might be a problem with pango. The errors I am getting are:

(inkscape:19764): Pango-WARNING **: Error loading GDEF table 28333

(inkscape:19764): Pango-WARNING **: Error loading GSUB table 28333

(inkscape:19764): Pango-WARNING **: Error loading GPOS table 28333

(inkscape:19764): Gtk-CRITICAL **: gtk_widget_show_all: assertion `GTK_IS_WIDGET (widget)' failed

(inkscape:19764): Gtk-CRITICAL **: gtk_box_pack_start: assertion `GTK_IS_WIDGET (child)' failed

(inkscape:19764): Gtk-CRITICAL **: gtk_widget_show_all: assertion `GTK_IS_WIDGET (widget)' failed

(inkscape:19764): GLib-GObject-CRITICAL **: g_object_ref: assertion `object->ref_count > 0' failed

(inkscape:19764): Pango-WARNING **: Error loading GDEF table 28333

(inkscape:19764): Pango-WARNING **: Error loading GSUB table 28333

(inkscape:19764): Pango-WARNING **: Error loading GPOS table 28333

(inkscape:19764): GLib-GObject-CRITICAL **: g_object_ref: assertion `object->ref_count > 0' failed

(inkscape:19764): Pango-WARNING **: Error loading GDEF table 28333

(inkscape:19764): Pango-WARNING **: Error loading GSUB table 28333

(inkscape:19764): Pango-WARNING **: Error loading GPOS table 28333

(inkscape:19764): Pango-WARNING **: Error loading GDEF table 28333

(inkscape:19764): Pango-WARNING **: Error loading GSUB table 28333

(inkscape:19764): Pango-WARNING **: Error loading GPOS table 28333

** (inkscape:19764): CRITICAL **: gdouble sp_document_height(SPDocument*): assertion `document->root != NULL' failed

(inkscape:19764): Pango-WARNING **: Error loading GDEF table 28333

(inkscape:19764): Pango-WARNING **: Error loading GSUB table 28333

(inkscape:19764): Pango-WARNING **: Error loading GPOS table 28333

(inkscape:19764): Pango-WARNING **: shaping failure, expect ugly output. shape-engine='BasicEngineFc', font='Lucida Grande 12', text=' '

(inkscape:19764): Pango-WARNING **: shaping failure, expect ugly output. shape-engine='BasicEngineFc', font='Lucida Grande 6.34765625', text='5'

(inkscape:19764): Pango-WARNING **: shaping failure, expect ugly output. shape-engine='BasicEngineFc', font='Bitstream Vera Sans Mono 12.5', text='?'

(inkscape:19764): Pango-WARNING **: shaping failure, expect ugly output. shape-engine='BasicEngineFc', font='Lucida Grande 15', text='No objects selected. Click, Shift+click, or drag around objects to select.'

Seems to me that pango isn't reading the font files right.

--
Matthew Peterson
Programmer
Christa McAuliffe Space Education Center

On Sat, Jun 21, 2008 at 7:50 AM, Bob Jamison <rwjj@...127...> wrote:
Matt Peterson wrote:
Inkscape wants to use Bitstream Vera Sans as the default font, but I don't have that installed on my system so every character becomes ugly rectangles. I cannot figure out how to change the font to something else.

You can probably fix this by editing gtkrc.  There should be a global $GTK_INSTALL_DIR/etc/gtk-2.0/gtkrc,
and also a user's  ~/.gtkrc-2.0.

I found some info on the web for a project with similar issues here:

http://xanana.ucsc.edu/~wgscott/xtal/wiki/index.php/Installing_Coot_on_OS_X

They have an entry:

gtk-font-name = "LucidaGrande 15"



Hope this helps.


bob