Mono renders non-latin characters as squares. Fonts substitution error.
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Banshee |
New
|
Undecided
|
Unassigned | ||
mono |
New
|
Undecided
|
Unassigned | ||
mono (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: mono
When an application is being run we expect to be able to see the non-latin characters like CJK ones.
What happens is they're being shown as empty boxes|squares.
My Ubuntu version is Maverick and i'm using the default mono and winforms packages:
- libmono2.0-cil 2.6.7-3ubuntu1
- libmono-
Afaik the problem is related to WinForms or to Ubuntu itself.
Someone addressed this as an issue in thaifonts-scalable package. But as long as i'm not using that package and that issue is fixed for maverick, this is not the same bug. File /etc/fonts/
How to reproduce the issue. Lanch a mono application, like KeePass2 and type in the search box a CJK text or paste one like 我 (for chinese) or 私、わたし (for japanese). They're instantly shown as empty boxes.
ProblemType: Bug
DistroRelease: Ubuntu 10.10
Package: mono-runtime 2.6.7-3ubuntu1
ProcVersionSign
Uname: Linux 2.6.35-22-generic i686
NonfreeKernelMo
Architecture: i386
Date: Thu Nov 11 12:35:15 2010
ExecutablePath: /usr/bin/mono
InstallationMedia: Ubuntu 10.04 LTS "Lucid Lynx" - Release i386 (20100427.1)
ProcEnviron:
SHELL=/bin/bash
LANG=en_US.utf8
SourcePackage: mono
summary: |
- Non latin fonts displayed in applications. Fonts substitution error. + Mono renders non-latin characters as squares. Fonts substitution error. |
I've tried to use this command
> export LANG=ja
> mono KeePass.exe
then i get the following message
Gtk-WARNING **: Locale not supported by C library.
Using the fallback 'C' locale.
cause i know the KeePass.exe support those characters, i was running it on Windows (either real or virtualized) and characters are being shown correctly. I think it is an issue in the mono libraries for Ubuntu.
some people reported there's no such issue in OpenSuSE, maybe cause other linux suse c++ rather than pure c...
is maybe this problem caused by some pure c libraries or the mono libraries in Ubuntu?