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

Gunnar Hjalmarsson 1334495 at bugs.launchpad.net
Mon Jul 28 21:46:47 UTC 2014


Thanks for your latest info, Lukas!

On 2014-07-28 07:59, Lukas Bunsen wrote:
> The local was mixed again, my hypothesis is that the Kubuntu
> installer sets some locale values depending on the timezone you
> choose?

Yes, that's what happens. The installer guesses the locale categories
which control various regional format aspects (as opposed to the display
language) such as date/time and number formats.

> As with the old installation, the font settings dialog only shows the
> same few fonts, and not all of the fonts you have.

That detail is odd; can't tell if it has anything to do with the actual
problem.

In the related bug #1346766 Cheng-Chia Tseng wrote in comment #7:

"Qt does not support fontconfig configuration well, the workaround is
to specify CJK font as the first candidate font instead of western font."

That statement fits well with the fact that it worked for you when you
changed the display language to Chinese. It would be valuable to know if
we can make it work by doing something similar even if the display
language is German.

As an experiment I wrote the attached fontconfig config file. Can you
please store it as

~/.config/fontconfig/conf.d/65-droid-sans-first.conf

It ought to result in a different output from the command

fc-match -a 'sans-serif'

with a bunch of Droid Sans fonts at the top of the list. The question is
if it changes the rendering in qt apps of Chinese content.

** Attachment added: "65-droid-sans-first.conf"
   https://bugs.launchpad.net/ubuntu/+source/fonts-android/+bug/1334495/+attachment/4164625/+files/65-droid-sans-first.conf

-- 
You received this bug notification because you are a member of Kubuntu
Bugs, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/1334495

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

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




More information about the kubuntu-bugs mailing list