Issue 111378 - Unicode combining codepoints don't draw well with capital letters
Summary: Unicode combining codepoints don't draw well with capital letters
Status: CLOSED DUPLICATE of issue 78749
Alias: None
Product: Writer
Classification: Application
Component: viewing (show other issues)
Version: OOO320m16
Hardware: PC Linux, all
: P3 Trivial (vote)
Target Milestone: ---
Assignee: writerneedsconfirm
QA Contact: issues@sw
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-05-05 03:23 UTC by yaoziyuan
Modified: 2010-05-06 00:56 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments
The letter 'A' with the combining codepoint U+0340 drawn by OpenOffice (53.34 KB, image/png)
2010-05-05 03:25 UTC, yaoziyuan
no flags Details
The letter 'A' with the combining codepoint U+0340 drawn by Firefox (30.79 KB, image/png)
2010-05-05 03:25 UTC, yaoziyuan
no flags Details

Note You need to log in before you can comment on or make changes to this issue.
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