Hi Greg,

On 18 Dec 2009, at 1:29, Greg Ercolano wrote:
>
>       Hmm, one of my customers just sent me a similar screenshot
>       of my app with upside-down fonts.. disturbing ;)
>
>       Of note: my app was compiled with a frozen version of
>       fltk 1.3.x from several months ago, so this problem
>       is not 1.1.x specific.

If I remember correctly, the problem was often triggered by using a  
font that was not available on the target machine - something in the  
Apple font logic then substituted a fallback font, and the fallback  
font was not flipped (for reasons that I don't recall.)

Could that be coming into play here?

>
>       I'm not sure if I can access the problem machine or not
>       to debug; the admin at the effects company is currently
>       gone for the day.
>
>       It's possible new fonts were installed on the machine
>       to cause this problem, as often fx companies need special
>       fonts for shows or programs like After Effects. So it's
>       possible such a font change could offset font index numbers,
>       as I think Ian pondered aloud elsewhere in this thread.

Yup - at some point in the past, I had an app that stored various  
preferences, one of which was the users font selection. Initially, I  
had just stored the font index, as that was easy to get, easy to  
store and easy to recover... But if the user then added or removed  
any fonts, then all bets were off...

In the end, contrived to save and restore the fonts by name, and that  
seemed to be more robust. Though not (IIRC, we don't use this app any  
more...) 100% reliable - probably due to slap-dash coding on my part.

-- 
Ian




_______________________________________________
fltk mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk

Reply via email to