Bug 315642 - Unable to render combining accent with some characters in Ubuntu and Liberation fonts
Summary: Unable to render combining accent with some characters in Ubuntu and Liberati...
Status: RESOLVED UPSTREAM
Alias: None
Product: kde
Classification: I don't know
Component: general (show other bugs)
Version: unspecified
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Unassigned bugs mailing-list
URL: https://bugreports.qt-project.org/bro...
Keywords:
Depends on:
Blocks:
 
Reported: 2013-02-22 18:02 UTC by Graeme Hewson
Modified: 2013-08-11 11:06 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
Example HTML file (771 bytes, text/html)
2013-02-22 18:02 UTC, Graeme Hewson
Details
Screenshot from Rekonq (68.94 KB, image/png)
2013-02-22 18:03 UTC, Graeme Hewson
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Graeme Hewson 2013-02-22 18:02:32 UTC
Created attachment 77513 [details]
Example HTML file

In https://en.wikipedia.org/wiki/Stress_%28linguistics%29 the following strings occur:

«земли́ (genitive of "earth, land") vs. зе́мли (plural of "earth, land") in Russian»
«In Russian and Ukrainian dictionaries, stress is indicated with an acute accent (´) on a syllable's vowel (example: вимовля́ння)»

In all the native KDE applications I've tried (Konqueror with KHTML or WebKit, Rekonq, Konsole and Kate) and using Ubuntu or Liberation fonts, these combining acute accents display as empty rectangles.

This occurs in KDE 4.9 and 4.10. Other fonts render OK. Firefox displays the characters OK using these, and other, fonts.

Experimenting, I've found some other examples which do and don't render correctly. For instance, with some Greek letters the accent renders correctly, but with other Greek letters it doesn't.

I'll attach a small example HTML file and a screenshot of it from Rekonq.
Comment 1 Graeme Hewson 2013-02-22 18:03:32 UTC
Created attachment 77514 [details]
Screenshot from Rekonq
Comment 2 Christoph Feck 2013-02-22 21:45:54 UTC
Could you add a link to the html file from comment #1? The wikipedia page link from comment #0 renders correctly on my system (Konqueror/KHTML 4.10.60).
Comment 3 Graeme Hewson 2013-02-22 21:51:44 UTC
(In reply to comment #2)

The HTML file is linked below in the attachments.
Comment 4 Graeme Hewson 2013-02-22 21:52:25 UTC
Tracking report in https://bugs.launchpad.net/ubuntu-font-family/+bug/1131890
Comment 5 Christoph Feck 2013-02-22 22:47:59 UTC
Oh, right, I missed it. Looks correct here.
Comment 6 Graeme Hewson 2013-02-23 07:25:23 UTC
What distro are you using? I'll see about reproducing the problem on my box.
Comment 7 Graeme Hewson 2013-02-27 16:01:09 UTC
I've reproduced the problem on two boxes with OpenSUSE 12.2 with KDE 4.10 installed. I tested with Liberation fonts, Konqueror and Konsole, as Ubuntu fonts, Rekonq and Kate weren't installed by default.

The problem was present in Konqueror with both KHTML and WebKit under KDE 4.10. However, testing before then with the live OpenSUSE 12.2 CD and KDE 4.8.4, the problem was present only with KHTML. The same was true after installing OpenSUSE and applying all updates, taking KDE to 4.8.5.
Comment 8 Graeme Hewson 2013-04-16 17:12:32 UTC
Reported against Liberation fonts at https://bugzilla.redhat.com/show_bug.cgi?id=952778
Comment 9 Pravin S 2013-07-17 11:45:55 UTC
This is not font bug bug rather QT bug.

If selected font does not contains some characters rendering engine should render it by fallback fonts. look AT GTK how it handles it.

For quick reproduce

simply paste "земли́"  in kwrite and apply liberation sans. Check same with gedit and observe the difference.
Comment 10 Graeme Hewson 2013-07-30 14:37:13 UTC
Problem has been reported against Qt in https://bugreports.qt-project.org/browse/QTBUG-32470 (reproducible in Qt 4.8.4; fixed in 5.0.0). Closing KDE bug.