Hi.
I'm in trouble with a Unicode issue. I want to get the outline for a free Unicode character. With "free" I mean that it can be either an Arabic char or a Chinese char, or something else. I have the right Unicode value for this character.
Everything seems to be ok since I use GetGlyphOutlineW()
for Unicode characters. But, I need to specify lfCharSet = ARABIC_CHARSET in the LOGFONT structure that I use in the SelectFont()
method.
Since it is Unicode, why do I have to specify this ?
But overall, how can I get the right charset value for a free character. I mean, how to get ARABIC_CHARSET for a 0xFE character and get GREEK_CHARSET for something else. I don't want to make a list of range, because it's very inelegant and also too hard work....
Thank you very very much