Closed GoogleCodeExporter closed 8 years ago
Can you check to see if you have the Liberation fonts package installed? That
error should only appear if it can't find the font file.
Did you compile Gargoyle with the BUNDLED_FONTS option set to no? Ordinarily it
should use the bundled Luxi Mono font as a fallback.
Original comment by bcressey@gmail.com
on 9 Mar 2011 at 3:46
Oh, I think it's an issue with the "Basic Floorplan Example Toolkit.ini" file
that comes with Glimmr. It has the old style mono* directives instead of using
the new system font loading code.
Try removing the monor - monoz and propr - propz lines, and replacing them with
this.
monofont Liberation Mono
propfont Linux Libertine O
Original comment by bcressey@gmail.com
on 9 Mar 2011 at 3:51
The error should also not happen if you have a current copy of garglk.ini in
one of the default locations - /etc/garglk.ini or ~/garglk.ini.
The propfont / monofont directives in that file will override any of the older
prop* / mono* entries.
Original comment by bcressey@gmail.com
on 9 Mar 2011 at 11:23
Ah, yes that seemed to fix it.
That solution would not have occurred to me, thanks.
Perhaps I should open a bug report with the Glimmr people instead. Has this
been a problem long?
Original comment by thecsapp...@gmail.com
on 9 Mar 2011 at 11:54
Opening a bug report with Glimmr makes sense - those lines can be removed from
the ini file without affecting the Canvas Editor.
During last year's development cycle, the font handling code changed in a
number of ways, and Glimmr happened to be released before the current method
was fully baked.
As a result, it has a few vestigial traces of the old method, which would try
to satisfy the prop* and mono* directives by loading a system font as a
fallback option. This caused a lot of compatibility issues and ultimately had
to be scrapped.
Original comment by bcressey@gmail.com
on 14 Mar 2011 at 6:51
[deleted comment]
Just discovered this thread. The next release package for Glimmr will include
an up-to-date .ini file. (The only reason for including a .ini is to eliminate
the default margins; they are not appropriate in the canvas editor.)
Original comment by Ek.Temple@gmail.com
on 19 Jan 2012 at 1:21
Original issue reported on code.google.com by
thecsapp...@gmail.com
on 9 Mar 2011 at 6:03Attachments: