Issue 111378

Summary: Unicode combining codepoints don't draw well with capital letters
Product: Writer Reporter: yaoziyuan <yaoziyuan>
Component: viewingAssignee: writerneedsconfirm <swneedsconfirm>
Status: CLOSED DUPLICATE QA Contact: issues@sw <issues>
Severity: Trivial    
Priority: P3 CC: issues
Version: OOO320m16   
Target Milestone: ---   
Hardware: PC   
OS: Linux, all   
Issue Type: DEFECT Latest Confirmation in: ---
Developer Difficulty: ---
Attachments:
Description Flags
The letter 'A' with the combining codepoint U+0340 drawn by OpenOffice
none
The letter 'A' with the combining codepoint U+0340 drawn by Firefox none

Description yaoziyuan 2010-05-05 03:23:39 UTC
Unicode combining codepoints (http://en.wikipedia.org/wiki/Combining_character)
are special Unicode characters that add diacritics other characters. For
example, putting the combining codepoint U+0340 after the letter 'a' will show
an acute mark above 'a'.

Diacritics like the above one must always be drawn in a position relatively
higher than the highest point of the original character (e.g. 'a'). For example,
because 'A' is taller than 'a', A + U+0340 will produce an acute mark higher
than a + U+0340 does. Internet Explorer, Firefox, GTK+ and KDE/Qt programs under
Linux are good examples of this behavior, but OpenOffice isn't -- it always
draws such combining codepoints at a fixed height (somewhere above 'a' but not
above 'A').

A screenshot showing how badly OpenOffice draws A with U+0340:
http://imagebin.ca/view/6N3kWN.html

A screenshot showing the right drawing (demonstrated by Firefox):
http://imagebin.ca/view/FzlicMRQ.html

As you can see, Firefox draws the diacritic in a much better position than
OpenOffice does.

The font used is the free and open source DejaVu Sans, which can be downloaded from:
http://dejavu-fonts.org/wiki/index.php?title=Download

I hope OpenOffice can draw and print such combining codepoints in the same way
as other programs do.

Best Regards,
Yao Ziyuan
http://sites.google.com/site/yaoziyuan/
Comment 1 yaoziyuan 2010-05-05 03:25:05 UTC
Created attachment 69293 [details]
The letter 'A' with the combining codepoint U+0340 drawn by OpenOffice
Comment 2 yaoziyuan 2010-05-05 03:25:38 UTC
Created attachment 69294 [details]
The letter 'A' with the combining codepoint U+0340 drawn by Firefox
Comment 3 yaoziyuan 2010-05-06 00:19:18 UTC
This is an inherent rendering bug in OpenOffice. Other programs use different
text rendering engines (e.g. Firefox and GTK+ programs use Pango) so they're not
affected.

This bug applies to all fonts, not just DejaVu Sans.
Comment 4 eric.savary 2010-05-06 00:56:29 UTC
duplicate 

*** This issue has been marked as a duplicate of 78749 ***
Comment 5 eric.savary 2010-05-06 00:56:46 UTC
closed