WoWInterface

WoWInterface (https://www.wowinterface.com/forums/index.php)
-   MoP Beta archived threads (https://www.wowinterface.com/forums/forumdisplay.php?f=162)
-   -   Foreign Characters in Chat Frame (https://www.wowinterface.com/forums/showthread.php?t=43814)

Qupe 07-31-12 01:51 AM

Foreign Characters in Chat Frame
 
1 Attachment(s)
I looked through beta threads and searched the Beta forum, but couldn't find out what I had to change/why Chinese characters (etc..) were being printed into chat without any formatting.

I apologize if I missed somewhere this was mentioned and/or how to remedy it.

This is essentially (ok, the same) version I use on live servers; aside from joining a beta group or seeing someone type into chat that uses foreign characters, I wasn't sure if there was anything I needed to update.

Code for current chat window attached. (if there's anything anyone notices that's upright redundant (I don't fully understand the channel substitutes) please feel free to mention what they are in dummy terms).

Pre-thanks!

Ketho 07-31-12 04:27 AM

Quote:

Originally Posted by Qupe (Post 259052)
but couldn't find out what I had to change/why Chinese characters (etc..) were being printed into chat without any formatting

Do you mean e.g. chinese/foreign characters not being "properly formatted" or just being shown as plain question marks?

In case of the latter, you'd need to have a font that supports chinese characters

Qupe 07-31-12 05:38 AM

Quote:

Originally Posted by Ketho (Post 259056)
Do you mean e.g. chinese/foreign characters not being "properly formatted" or just being shown as plain question marks?

In case of the latter, you'd need to have a font that supports chinese characters

I didn't clarify well, but in the case of Chinese characters (which I think is all I've seen?) they come out with proper characters but they're completely unformatted (no font, outline, size, etc...).

I think I might not see some Cyrillic characters (which show up as "??????") but I definitely see the asian text in the window, but it's essentially 100% unformatted.

I'll try and get a screenshot, but if I've clarified what I actually meant enough, I think it should be somewhat obvious (if that sounded mean, I didn't mean it that way!).

Vlad 07-31-12 07:53 AM

Are any addons replacing fonts?

The thing is now in MoP you got 19 font files and not only the old 5 or 6. If you replace all fonts to one specific font then other non-latin languages will show up as "?" characters.

Code:

2002.ttf                2002 (Korean)
2002B.ttf                2002B (Korean)
ARHei.ttf                AR CrystalzcuheiGBK Demibold (Chinese)
ARIALN.TTF                Arial Narrow
ARKai_C.ttf                AR ZhongkaiGBK Medium (Chinese)
ARKai_T.ttf                AR ZhongkaiGBK Medium (Chinese)
bHEI00M.ttf                AR Heiti2 Medium B5 (Chinese)
bHEI01B.ttf                AR Heiti2 Bold B5 (Chinese)
bKAI00M.ttf                AR Kaiti Medium B5 (Chinese)
bLEI00D.ttf                AR Leisu Demi B5 (Chinese)
FRIZQT__.TTF                Friz Quadrata TT (Latin)
FRIZQT___CYR.TTF        FrizQuadrataCTT (Cyrilic)
K_Damage.TTF                YDIWingsM (Korean)
K_Pagetext.TTF                YDIMokM (Korean)
MORPHEUS.TTF                Morpheus (Latin)
MORPHEUS_CYR.TTF        Morpheus Cyr (Cyrilic)
NIM_____.ttf                Nimrod MT (Unsure for what purpose, has both Latin and Cyrilic)
SKURRI.TTF                Skurri (Latin)
SKURRI_CYR.TTF                Skurri Cyr (Cyrilic)

The file is 40MB zipped so couldn't upload here, thus I uploaded it on filebeam:
http://filebeam.com/2800653ff8e3eaf7c7866dffff92fbbe

In any case if it's not on topic at least it's now people know not to replace all the files above with one latin font, hehe.

p3lim 07-31-12 10:04 AM

With the default font (atleast on beta), I can't see the names of people that's written in Russian.

Vlad 07-31-12 05:52 PM

Maybe they haven't yet fixed it so the nameplates use the correct font, maybe they have some font that covers all basic nameplate characters? Or maybe it's not yet added? Or maybe they plan to add some sort of API for this?

I hope they make an API, it could tell you what language a string is written in.

p3lim 07-31-12 07:30 PM

It's not just the UI elements that has the issue, even the names above people's heads in the 3D world itself doesnt show.

Phanx 07-31-12 11:01 PM

1 Attachment(s)
Quote:

Originally Posted by Qupe (Post 259052)
... why Chinese characters (etc..) were being printed into chat without any formatting.

I believe this is a new "feature" to prevent people from seeing overlapping question marks in place of a message containing characters the chat font doesn't support. If a message contains any unsupported characters, the entire message is shown in a "default" font that includes those characters. See the attached file for an example screenshot.

Unfortunately, the font file that gets used is NOT any of the files in the Fonts folder, so you can't override it that way. At least, placing font files in a Fonts folder with the same names as all of the fonts in the Blizzard Fonts folder (listed in Vladinator's post above) has no effect -- messages with East Asian characters still appear in Friz Quadrata.

I looked through the Blizzard UI code some, and didn't find any code related to this "feature", so I'm not sure how it can be overridden at all, aside from writing your own chat frames from scratch.

It would be a lot less obnoxious if they only changed the font file, instead of also overwriting the size, outline, and shadow.

I tried logging into the game in Korean and Simplified Chinese to see how the user's locale affects this behavior, but was unable to do so... and since I can't read either of those languages, I don't know why, because I can't read the error message that pops up. :(

On a side note, this behavior does not seem to affect Russian characters; if you're using a custom font that doesn't support them, you'll still see question marks, and if your font does support them, you'll see them without any ugly font changes.

Qupe 07-31-12 11:25 PM

Well, that's pretty unfortunate.

Thanks a lot for the responses, nonetheless! Stinks mainly because there are a lot of Chinese/Korean/etc... speakers on my server which means I'm going to have to see that junk a lot =/

Phanx 07-31-12 11:29 PM

BlockChinese ;)

Vlad 08-01-12 08:30 AM

Changing to let's say, Korean, didn't really make any more files available in the MPQ's either, I hope they add something, if not I guess we'll have to make our own functions to figure out the bytes of the strings and guess the language. Who wants to write the function string.locale(...) -anyone? :P

Nimhfree 08-01-12 09:01 AM

Playing in MoP beta on the Korean server using enUS client, I have experienced proper Korean and Russian in chat. However, there are still issues displaying non-Latin names above the characters in the 3D world.

Ennie 08-01-12 09:58 AM

Quote:

Originally Posted by Vladinator (Post 259111)
Changing to let's say, Korean, didn't really make any more files available in the MPQ's either, I hope they add something, if not I guess we'll have to make our own functions to figure out the bytes of the strings and guess the language. Who wants to write the function string.locale(...) -anyone? :P

However, i can't see Cyrillic names at character select screen before i set localization to ruRU. So looks like font files setup is locale-depended
Same for Battle.net names, but not chat -_-

Vlad 08-01-12 01:46 PM

Only thing I can recommend is mailing/posting on the US forums about this, to safe it for release. If not we just gotta hope they fix this for when they release the game.

Miiru 08-30-12 02:35 PM

Quote:

Originally Posted by Vladinator (Post 259064)
Code:

2002.ttf                2002 (Korean)
2002B.ttf                2002B (Korean)
ARHei.ttf                AR CrystalzcuheiGBK Demibold (Chinese)
ARIALN.TTF                Arial Narrow
ARKai_C.ttf                AR ZhongkaiGBK Medium (Chinese)
ARKai_T.ttf                AR ZhongkaiGBK Medium (Chinese)
bHEI00M.ttf                AR Heiti2 Medium B5 (Chinese)
bHEI01B.ttf                AR Heiti2 Bold B5 (Chinese)
bKAI00M.ttf                AR Kaiti Medium B5 (Chinese)
bLEI00D.ttf                AR Leisu Demi B5 (Chinese)
FRIZQT__.TTF                Friz Quadrata TT (Latin)
FRIZQT___CYR.TTF        FrizQuadrataCTT (Cyrilic)
K_Damage.TTF                YDIWingsM (Korean)
K_Pagetext.TTF                YDIMokM (Korean)
MORPHEUS.TTF                Morpheus (Latin)
MORPHEUS_CYR.TTF        Morpheus Cyr (Cyrilic)
NIM_____.ttf                Nimrod MT (Unsure for what purpose, has both Latin and Cyrilic)
SKURRI.TTF                Skurri (Latin)
SKURRI_CYR.TTF                Skurri Cyr (Cyrilic)


do you know which of those koren fonts is the equivalent of FRIZQT__.TTF?

Miiru

Elkano 09-06-12 12:44 AM

should be 2002: http://wowprogramming.com/utils/xmlb...eOverrides.xml


All times are GMT -6. The time now is 05:21 PM.

vBulletin © 2024, Jelsoft Enterprises Ltd
© 2004 - 2022 MMOUI