The default font used for Qt4 is broken (regarding Cyrillic text) [regression, 10.04 to 12.04)

Bug #945461 reported by Julius Schwartzenberg
80
This bug affects 18 people
Affects Status Importance Assigned to Milestone
ubuntu-font-family-sources (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

Since I switched from Ubuntu Lucid to Ubuntu Precise, the fonts in all my Qt4 applications look significantly worse. Especially cyrillic characters are not displayed properly. In Ubuntu Lucid everything works fine.

Cyrillic letters look significantly different, less pronounced than Latin letters.
Some characters are not included and displayed with a square and a cross (the Ukrainian і (capital І) is an example of this).
Konsole in KDE4 is completely unusable when cyrillic characters are displayed.

Expected behavour: the fonts should look good. Cyrillic characters should not look out of place among Latin characters. In Ubuntu Lucid everything looks fine. I would suggest reverting the set of default fonts to the set from Lucid if the issues with the current fonts cannot be solved.

ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: libqtcore4 4:4.8.0-1ubuntu8
ProcVersionSignature: Ubuntu 3.2.0-17.27-generic 3.2.6
Uname: Linux 3.2.0-17-generic x86_64
ApportVersion: 1.93-0ubuntu2
Architecture: amd64
Date: Sat Mar 3 09:57:52 2012
InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Alpha amd64 (20120204)
ProcEnviron:
 LANGUAGE=nl_NL
 TERM=xterm
 PATH=(custom, user)
 LANG=nl_NL.UTF-8
 SHELL=/bin/bash
SourcePackage: qt4-x11
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Julius Schwartzenberg (jschwart) wrote :
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in qt4-x11 (Ubuntu):
status: New → Confirmed
tags: added: oneiric2precise regression-release
tags: added: lucid2precise
Revision history for this message
RussianNeuroMancer (russianneuromancer) wrote :

Duplicates of this bug: bug 974506, bug 990635.

Paul Sladen (sladen)
affects: qt4-x11 (Ubuntu) → ubuntu-font-family-sources (Ubuntu)
Revision history for this message
Julius Schwartzenberg (jschwart) wrote :

It appears it's the Bitstream Vera Sans font that is broken.

Revision history for this message
Paul Sladen (sladen) wrote :

Julius: Thank you for the long bug. We've known for a while that the Ubuntu Cyrillic could do with a little more work, it has been very hard to get native Cyrillic readers (the people most able to get it fixed) to say definitively what could be improved:

> Cyrillic characters should not look out of place among Latin characters.

Which Cyrillic characters look out of place. (Thanks to some feedback from the Serbian community we dealt with several of the Serbian Cyrillic-specific characters, see bug #708578. This are /fixed/ but not yet shipped. They will hopefully be SRUed when available and tested to people's happiness).

Revision history for this message
Paul Sladen (sladen) wrote :

Julius: (mid-air collision). Please could you attach some screenshots showing exactly what you're seeing so that we can both investigate more thoroughly. For debugging the Ubuntu Font Family we also have a couple of magic debugging characters '' and '' . Please could you copy and _paste_ these in if possible as they will show the version number and the hinting state.

Changed in ubuntu-font-family-sources (Ubuntu):
status: Confirmed → Incomplete
Revision history for this message
Paul Sladen (sladen) wrote :

If this is the Kubuntu 12.04 installer, it could be: bug #974506.

Revision history for this message
Julius Schwartzenberg (jschwart) wrote :

I'm about to leave here, but I will make some screenshots later today.

I would not say that Cyrillic needs more attention in the sense that on Lucid everything worked perfectly fine. I will make a shot in Lucid (including those characters) and a shot in Precise and you will see everything looking identical except for the Cyrillic fonts that suddenly became out of place. It should not be hard to see it because the Cyrillic and Latin alphabets have many identical characters. For example А and A should look identical. Same with О and O. Currently they do not in Qt4 applications in Precise, in Lucid they did.

I'm not a native reader, but I am quite familiar with Russian and Ukrainian.

Надеюсь эта неполадка вскоре будет устранена :)

Revision history for this message
Julius Schwartzenberg (jschwart) wrote :

This screenshot shows the same file displayed both in Lucid and in Precise.

The output in Lucid looks perfect, in Precise it does not work properly. The lines that should look pretty much identical and which do look identical in Lucid, look different in Precise. There are problem with the font rendering and the spacing.

Revision history for this message
Julius Schwartzenberg (jschwart) wrote :
Revision history for this message
Stanislav Sidorenko (ssidorenko) wrote :

Looks like Naum-Gothic font is used by default. Removing 'fonts-nanum' package solved the issue for me.

Changed in ubuntu-font-family-sources (Ubuntu):
status: Incomplete → New
Gannet (ken20001)
Changed in ubuntu-font-family-sources (Ubuntu):
status: New → Confirmed
description: updated
Revision history for this message
Paul Sladen (sladen) wrote :

Hello, I'm going to mark this as "Invalid" for ubuntu-font-family-sources. There is obvious an issue, but it's not with the Ubuntu Font Family; none of the fonts shown in Julius' screenshot from comment #9:

  https://launchpadlibrarian.net/103620378/cyrillic_lucid_precise.png

are Ubuntu or Ubuntu Mono. So, somewhere, a font, or font-rendering is changing, but not AFAICT because of UFF.

Changed in ubuntu-font-family-sources (Ubuntu):
status: Confirmed → Invalid
summary: - The default font used for Qt4 is broken (regarding cyrillic text)
+ The default font used for Qt4 is broken (regarding Cyrillic text)
+ [regression, 10.04 to 12.04)
Revision history for this message
Paul Sladen (sladen) wrote :

Marking as dup of bug #990635 as that has made the most progress with debugging. Krill reckons it is related to 'fonts-nanum' and probably a configuration in '/etc/fonts'; in which case we need to work out the before and after situations.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.