Support Requests item #1470946, was opened at 2006-04-15 11:59 Message generated for change (Comment added) made by gokli You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=200235&aid=1470946&group_id=235 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: win32 Group: None Status: Open Priority: 5 Private: No Submitted By: Harvey King (kngharv) Assigned to: Daniel Atallah (datallah) Summary: displaying Chinese characters and font-family Initial Comment: Dear all: I am currently testing out Gaim/2.0b3 on Windows XP, using the supplied gtk 2.6.8x. I encounter a strange problem of not able to see Chinese characters in MSN *SOMETIMES*, mostly depend upon who am I talking to. This occurs in both Traditional and Simplified Chinese. So, I created a separate MSN account and start messenging myself using Web MSN Messenger. One of the interesting feature of Microsoft's Web MSN client is that you can choose 4 different font-family: Arial, Times, Courier, Tahoma, Verdana. As I suspected, Chinese fonts only successfully displayed when "Times" and "Tahoma" is used (see attached screen capture file). I suspect that I need to specify font substitution behavior. Tried to resolve this problem, I have created a local.conf in C:\Program Files\Common Files\GTK\2.0\etc\fonts directory (see below). But it's not working. Any idea what goes wrong? Thanks in advance kngharv ps. I know this is more of a GTK question than a GAIM question. any pointers on GTK for Win32 would be very appreciated. pss. my local.conf, located at C:\Program Files\Common Files\GTK\2.0\etc\fonts\local.conf <?xml version="1.0"?> <fontconfig> <dir>WINDOWSFONTDIR</dir> <dir>c:/windows/fonts</dir> <!-- Alias well known font names to available TrueType fonts --> <alias> <family>Times</family> <accept><family>Times New Roman</family></accept> </alias> <alias> <family>Helvetica</family> <accept><family>Verdana</family></accept> </alias> <alias> <family>Arial</family> <accept><family>Arial Unicode MS</family></accept> </alias> <alias> <family>Courier</family> <accept><family>Courier New</family></accept> </alias> <!-- Serif faces --> <alias> <family>Bitstream Vera Serif</family> <family>Times</family> <family>Times New Roman</family> <family>Nimbus Roman No9 L</family> <family>Luxi Serif</family> <family>Kochi Mincho</family> <family>FZZhongDengXian-Z07T</family> <family>AR PL Mingti2L Big5</family> <family>Baekmuk Batang</family> <default><family>serif</family></default> </alias> <!-- Sans-serif faces --> <alias> <family>Bitstream Vera Sans</family> <family>Helvetica</family> <family>Arial</family> <family>Verdana</family> <family>Nimbus Sans L</family> <family>Luxi Sans</family> <family>Kochi Gothic</family> <family>FZZhongDengXian-Z07T</family> <family>AR PL KaitiM Big5</family> <family>Baekmuk Dotum</family> <family>SimSun</family> <default><family>sans-serif</family></default> </alias> <!-- Monospace faces --> <alias> <family>Bitstream Vera Sans Mono</family> <family>Courier</family> <family>Courier New</family> <family>Andale Mono</family> <family>Luxi Mono</family> <family>Nimbus Mono L</family> <family>NSimSun</family> <default><family>monospace</family></default> </alias> <!-- Provide required aliases for standard names --> <alias> <family>serif</family> <prefer> <family>Bitstream Vera Serif</family> <family>Times New Roman</family> <family>Nimbus Roman No9 L</family> <family>Luxi Serif</family> <family>Times</family> <family>Kochi Mincho</family> <family>FZZhongDengXian-Z07T</family> <family>AR PL Mingti2L Big5</family> <family>Baekmuk Batang</family> </prefer> </alias> <alias> <family>sans-serif</family> <prefer> <family>Bitstream Vera Sans</family> <family>Verdana</family> <family>Nimbus Sans L</family> <family>Luxi Sans</family> <family>Arial</family> <family>Helvetica</family> <family>Kochi Gothic</family> <family>FZZhongDengXian-Z07T</family> <family>AR PL KaitiM Big5</family> <family>Baekmuk Dotum</family> <family>SimSun</family> </prefer> </alias> <alias> <family>monospace</family> <prefer> <family>Bitstream Vera Sans Mono</family> <family>Andale Mono</family> <family>Courier New</family> <family>Luxi Mono</family> <family>Nimbus Mono L</family> <family>Kochi Gothic</family> <family></family> <family>Baekmuk Dotum</family> </prefer> </alias> </fontconfig> ---------------------------------------------------------------------- Comment By: Neal Gokli (gokli) Date: 2006-10-26 14:25 Message: Logged In: YES user_id=905394 I've tried messing with local.conf and pango.aliases a few times over the past year, but I can't get it to work. I don't know much about GTK, so hopefuly someone else has already solved the problem. From the documentation, it seems that Pango should support font substitution properly. This is a big a problem with MSN, since the official client's default font is Microsoft Sans Serif, which doesn't have any Japanese characters (which I'm trying to use). The sender sees no problem, because font substitution works properly in the official client. I can copy the boxes I receive to another application and see the correct text. And if I change fonts for a message I am typing, it displays boxes or correct text depending on the font. So it's not a problem with message transmission. I tried several fonts that don't have Japanese characters, and they all had the same problem. I'm running Windows XP, and have Gaim 2.0 beta 3, though the problem existed before 2.0. I have changed a bunch of localization settings to Japanese, so there's no lack of fonts. I really hate to tell all my friends to change their font for me every time we have a conversation. I realize that it's probably not a problem with Gaim itself, but I figure that Gaim would be one of the major applications where people notice it, and could push for a fix. Does this seem to be a config file problem, a bug in Pango, or a problem with Gaim specifically? Should I submit a bug report? Thanks ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=200235&aid=1470946&group_id=235 ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Gaim-support mailing list Gaim-support@xxxxxxxxxxxxxxxxxxxxx https://lists.sourceforge.net/lists/listinfo/gaim-support