Hi,

On 01/05/2013 20:14, Octavian Rasnita wrote:
Yep, good to know.

It would be nice if WxPerl would announce somehow that a font doesn't
have the necessary glifs (maybe with a warning).

Nice to have, but there is no reasonable and practical implementation I can think of. I am aware of how to check if a given font has a particular glyph technically - but it is non trivial. This also won't tell me if the operating system font handler will correctly substitute a glyph from elsewhere. And, it isn't part of wxWidgets.

It's only a problem in decade old Windows XP anyway. Elsewhere if you just accept the default GUI font for text type controls all will be the best it can be.

And btw, if the constant wxVSCROLL  is not necessary, (do I understood
correctly that it is not necessary under Linux either?) and if it
creates problems under Windows, it would be helpful if it would give an
error when it is used, or it would be helpful if it would be skipped at
least under platforms that have a problem with it.

Not quite that simple. It is really just a number that gets added to a flags mask. It isn't unique. The number might actually mean something. It just doesn't mean wxVSCROLL in this context.

I suppose it might be possible to manually go through the wxWidgets code and check what the acceptable flags are for every class. But we'd have to re-do it for every wxWidgets release. For me, that is too much maintenance burden.

Sorry I couldn't add these but hope you understand why.

Regards

Mark


Reply via email to