Pipelight fails to render CJK characters properly
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Pipelight |
Fix Released
|
Undecided
|
Unassigned | ||
Wine |
New
|
Undecided
|
Unassigned | ||
Wine "Compholio" Edition |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
All non-ASCII characters are rendered as "square symbol", it might be Wine font issue.
* The Distribution you are using
Ubuntu 14.04 i386
* The output of (as file attachment): pipelight-plugin --system-check
https:/
* The output of: pipelight-plugin --list-enabled-all
silverlight5.1
* The URL of the website you have problems with (if it is available for the public)
https:/
* The console output when starting your browser via the command line (see https:/
https:/
* The configuration file you are using (if you changed it)
N/A
* The desktop environment / window manager you are using (Unity, GNOME, Cinnamon, ....)
KDE
Workaround
-------------------
refer #4
Changed in wine-compholio: | |
status: | New → Fix Released |
Hi,
there are basically two problems. The main issue is that Silverlight is using their own font system and expects the typical CJK fonts to be installed. The second issue is that the application does not specify the font directly and due to some bugs in Wine, Silverlight will always fallback to japanese fonts if they are available. The best solution I came up with, was to install the "Microsoft Yahei" font. It still misses some special punctuation characters like , or : but everything else was displayed correctly in the login menu. I do not recommend to install any japanese fonts like Meiryo otherwise Silverlight will always use this one.
You can use the following commands to install the font for the current user:
mkdir -p /tmp/chs-fonts/ download. microsoft. com/download/ c/7/e/c7e5397d- 004f-468b- a441-dd0828dc1a 17/VistaFont_ CHS.EXE
cd /tmp/chs-fonts/
wget http://
cabextract VistaFont_CHS.EXE
mkdir -p ~/.fonts
cp *.ttf ~/.fonts/
Michael