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).

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.

--Octavian

----- Original Message ----- From: "Mark Dootson" <mark.doot...@znix.com>
To: <wxperl-users@perl.org>
Sent: Wednesday, May 01, 2013 8:18 PM
Subject: Re: Can we print UTF-8 chars in Wx::TextCtrl fields?


Hi,

Just a clarification.

Setting the font so that you get glyphs displayed properly is only an issue on Windows XP.

More recent versions of Windows have default GUI fonts that have a much wider range of glyphs available so this isn't an issue.

Unless, strangely, you force 'Verdana' which seems to be the font Microsoft forgot.

Regards

Mark


On 01/05/2013 17:35, Mark Dootson wrote:
Hi,

On 01/05/2013 15:21, Octavian Rasnita wrote:
Thank you Mark! Now the chars are displayed fine.

Too bad that I need to use Windows...

BTW, what happends if this program runs under Linux or Mac?
Will WxPerl use another sans-serif font available under these platforms?

Yes - a similar font chosen on the basis of wxFONTFAMILY_SWISS,
wxFONTSTYLE_NORMAL, wxFONTWEIGHT_NORMAL.

For both Linux and MacOSX (modern editions I've just tested at least) if
the font does not contain a glyph to represent a character, the font
engine will check other fonts until it finds one that does.

Regards

Mark



Reply via email to