← Back to team overview

ubuntustudio-bugs team mailing list archive

[Bug 1334495] Re: Two mixed fonts when rendering Chinese in KDE/QT apps with Droid Sans fonts

 

On 2014-07-14 09:25, Lukas Bunsen wrote:
> If I change the locale in my existing installation to simplified
> Chinese, all Chinese text is displayed correctly. (fonts-droid
> installed and language-selector-common updated to the Utopic
> version.)

Ok, with that we know that the fontconfig settings make a difference
also for KDE/QT apps.

> I also installed Kubuntu 14.04 with German locale in a virtual
> machine and applied all updates. In the fresh installation the
> problem is slightly different: In Chinese text, some characters are
> not displayed at all, instead the standard squares that are used when
> a font doesn't include the required characters are displayed.

Hmm.. I have a test installation of Kubuntu which I upgraded to try to
reproduce the problem. I couldn't.

Sure, if I uninstalled fonts-droid, those squares showed up when viewing
a piece of Chinese text with Kate, but with fonts-droid the text seemed
to be rendered normally. (Please see attachment.) So I can't help
wondering if fonts-droid was installed when you tested on your VM.

Another thing struck me: The list of Droid fonts at
https://launchpadlibrarian.net/178980889/select%20system%20font.png
is much shorter than the list I saw in the font select window (see attachment). Especially I miss Droid Sans Fallback, which is essential for CJK languages.

Can you please ensure that the fonts-droid package is completely
installed on your existing installation by running

sudo apt-get install --reinstall fonts-droid

Can you also post the output of the command

fc-match -a 'sans-serif'

** Attachment added: "fonts-droid-tests.tar.gz"
   https://bugs.launchpad.net/ubuntu/+source/fonts-droid/+bug/1334495/+attachment/4153498/+files/fonts-droid-tests.tar.gz

-- 
You received this bug notification because you are a member of Ubuntu
Studio Bugs, which is subscribed to fonts-droid in Ubuntu.
Matching subscriptions: Ubuntu Studio Bugs
https://bugs.launchpad.net/bugs/1334495

Title:
  Two mixed fonts when rendering Chinese in KDE/QT apps with Droid Sans
  fonts

Status in “fonts-droid” package in Ubuntu:
  New

Bug description:
  Bug:
  In all desktop applications, two different fonts are mixed to display Chinese text. I attached a screenshot of a paragraph of Chinese text in Kmail - some characters are displayed using a "italic" font, others in a "normal" font. The same problem exists in other applications, for example Dolphin or even Konsole. In Xterm, only the "normal" characters are displayed, where Dolphin displays italic characters Xterm leaves a white space. Websites are displayed fine, if I open the same mail in the web interface only one font is used.

  Background

  I' am using Kubuntu 14.04 with the language set to German in KDE settings.
  The output of "locale" looks a bit messed up, I don't know why, as in the KDE settings all formats are consistently set to German standard. 
  "locale                                                                                                         
  LANG=de_DE.UTF-8
  LANGUAGE=de:en:zh:en
  LC_CTYPE="de_DE.UTF-8"
  LC_NUMERIC=zh_CN.UTF-8
  LC_TIME=zh_CN.UTF-8
  LC_COLLATE="de_DE.UTF-8"
  LC_MONETARY=zh_CN.UTF-8
  LC_MESSAGES="de_DE.UTF-8"
  LC_PAPER=zh_CN.UTF-8
  LC_NAME=zh_CN.UTF-8
  LC_ADDRESS=zh_CN.UTF-8
  LC_TELEPHONE=zh_CN.UTF-8
  LC_MEASUREMENT=zh_CN.UTF-8
  LC_IDENTIFICATION=zh_CN.UTF-8
  LC_ALL=
  "

  fc-match:                                                                                                   
  »DejaVuSans.ttf: "DejaVu Sans" "Book"«

  
  This is my first bug filed at launchpad. I filed it for language-selector as other related bugs I found were filed for the same package. If it isn't language-selector, perhaps you can point me to the right package?

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/fonts-droid/+bug/1334495/+subscriptions