Bug 7805 - Combining characters don't display right in Mono variants
Summary: Combining characters don't display right in Mono variants
Status: RESOLVED NOTOURBUG
Alias: None
Product: DejaVu
Classification: Unclassified
Component: Mono Sans (show other bugs)
Version: unspecified
Hardware: x86 (IA32) Linux (All)
: high normal
Assignee: Deja Vu bugs
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-08-07 17:38 UTC by Maciej Katafiasz
Modified: 2007-03-09 11:12 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

Description Maciej Katafiasz 2006-08-07 17:38:19 UTC
At least combining macron and ogonek, possibly other combining characters too,
don't have right metrics in Mono variants, causing them to render wrong. This
does not affect proportional variants.

Steps to reproduce:
1. Paste "īhatōvǫ" into gedit
2. Set font to "DejaVu Sans Mono"

Results:
Combining characters are displayed to the right of base glyphs

Expected results:
They are combined visually
Comment 1 Denis Jacquerye 2006-08-08 03:17:48 UTC
This is considered a font shaper bug.

The main reason is that monowidth fonts should have all characters with the same
width. That means even zero-width characters have the standard font's width. I
know it doesn't make much sense, but that's what the specifications say.

Some font shapers know that, and therefore place characters that should be
zero-width in the negatives, i.e. on top of or below the preceding character. Qt
3 does this.

There is a fix around this. If we used OpenType features supported by Pango or
Qt4 to give change the position of those characters and give them zero-width.
They could also be positioned with the help of anchors.
However this is not done in any monowidth font out there and would need to be
tested.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.