azbycxdw909 / garglk

Automatically exported from code.google.com/p/garglk
Other
0 stars 0 forks source link

2011.1 for Mac selects wrong font #146

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. The problem is intermittent, I haven't found a trigger.
2. Open up any glulx game (other game types are probably also affected, but I 
haven't tested)

What is the expected output? What do you see instead?
The main text displayed should be Linux Libertine, a serif font. Instead, I see 
a larger, chunkier, sanserif bold italic. (Screenshot attached.) The fixed 
width font (status window) is unaffected.

What version of the product are you using? On what operating system?
2010.1, Mac

Please provide any additional information below.
Restarting the system or reinstalling Gargoyle will cause the font to display 
correctly; simply restarting the story file or the Gargoyle application does 
not.  This issue has occurred perhaps 3-4 times for me in the last 2 months or 
so. The cause is unclear.

Original issue reported on code.google.com by Ek.Temple@gmail.com on 14 Apr 2011 at 2:28

Attachments:

GoogleCodeExporter commented 8 years ago
I've only seen this happen when launching more than one story file at once.

Here we're somewhat at the mercy of the Apple APIs - the font loading code 
depends on the OS to find the fonts by name. It mostly works but occasionally 
does not, if there's a hiccup in whatever Apple subsystem is responsible for 
matching fonts.

The main Gargoyle release uses a much older set of APIs, for compatibility with 
Tiger, and these aren't quite as reliable under Snow Leopard. I have not seen 
this issue in the past nine months, but then I'm always running a locally 
compiled x64 build which uses the new 10.6 APIs.

I suspect the ultimate fix will involve abandoning 10.4. I hate to do it, but 
it will almost be justifiable once Lion comes out.

Original comment by bcressey@gmail.com on 11 Jun 2011 at 5:23

GoogleCodeExporter commented 8 years ago
The new release will be built under 10.5, so I'm going to tentatively mark this 
as resolved with the hope that it clears up.

Original comment by bcressey@gmail.com on 5 Oct 2011 at 5:37

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
Just discovered  issue 140 , and tried downloading the garglk.ini from the new 
sources folder. That seemed to clear things up--it looks like the old font 
specifications (as described in  issue 140 ) may have been to blame. 

Original comment by Ek.Temple@gmail.com on 19 Jan 2012 at 1:20

GoogleCodeExporter commented 8 years ago
Unfortunately, this is now occurring again (using 2011.1). The .ini file seems 
to have nothing to do with it. Trashing it and restarting Gargoyle has no 
effect, for example.

Original comment by Ek.Temple@gmail.com on 21 Jan 2012 at 4:43

GoogleCodeExporter commented 8 years ago

Original comment by bcressey@gmail.com on 23 Jan 2012 at 5:39

GoogleCodeExporter commented 8 years ago

Original comment by bcressey@gmail.com on 23 Jan 2012 at 5:39