I have a strange bug… When using my own l&f in which I have CustomTypeface manager called by LookAndFeel::getTypefaceForFont(), strings rendered in progress dialog of a ThreadWithProgressDialog are unreadable.
I that normal and how can I fix this ?
Yes, I’ve seen something similar with an AlertWindow. It was displaying the wrong characters for the message, but the title was OK. I was supplying a CustomTypeface font using getAlertWindowMessageFont().
I was short of time so avoided the issue by reverting to the default sans typeface. I was also too lazy to report the issue - sorry about that![/quote]
Apparently, It may be not so simple because TextLayout is locked to System fonts (I said, apparently).
Jules, is there a way to specify custom typefaces which will be well formed in those cases ?