Bug 7883

Summary: Accents invisible on some capital letters except at extreme sizes
Product: DejaVu Reporter: Kim Bastin <kim.bastin>
Component: SansAssignee: Deja Vu bugs <dejavu-bugs>
Status: NEW --- QA Contact:
Severity: normal    
Priority: high CC: pclouds
Version: unspecified   
Hardware: x86 (IA32)   
OS: Windows (All)   
Whiteboard:
i915 platform: i915 features:
Attachments: Screenshot from OOo.Writer

Description Kim Bastin 2006-08-15 00:52:41 UTC
On WinXP, in DejaVu Sans v2.9, accents on some capital letters do not appear
except at very large font sizes. The size required in order to make the accent
appear varies with the character, ranging from 24pt to 38pt. I see the problem
in OOo.Writer and in Microsoft Word.

The characters affected are: 
Ẽ - Latin capital letter e with tilde
Ỹ - Latin capital letter y with tilde
Ẑ - Latin capital letter z with circumflex
Ḉ - Latin capital letter c with cedilla and acute 
Ǵ - Latin capital letter g with acute
Ḱ - Latin capital letter k with acute
Ḿ - Latin capital letter m with acute
Ṕ - Latin capital letter p with acute

There may be others - I haven't reviewed the entire font.

Furthermore, in the following capital letters with two diacritics above, the
upper diacritic does not show up, or at best only a fragment of it is visible,
at font sizes up to 108pt (I haven't tried higher):

ǕǗǙǛǞǠȪȬȰḔḖḜḮṌṎṐṒṤṦṸṺẤẦẨẪẮẰẲẴẾỀỂỄỐỒỔỖ

Latin capital letter u with diaeresis and macron
Latin capital letter u with diaeresis and acute
Latin capital letter u with diaeresis and caron
Latin capital letter u with diaeresis and grave
Latin Capital letter a with diaeresis and macron
Latin capital letter a with dot above and macron
Latin capital letter o with diaeresis and macron
Latin capital letter o with tilde and macron
Latin capital letter o with dot above and macron
Latin capital letter e with macron and grave
Latin capital letter e with macron and acute
Latin capital letter e with cedilla and breve
Latin capital letter i with diaeresis and acute
Latin capital letter o with tilde and acute
Latin capital letter o with tilde and diaeresis
Latin capital letter o with macron and grave
Latin capital letter o with macron and acute
Latin capital letter s with acute and dot above
Latin capital letter s with caron and dot above
Latin capital letter u with tilde and acute
Latin capital letter u with macron and diaeresis
Latin capital letter a with circumflex and acute
Latin capital letter a with circumflex and grave
Latin capital letter a with circumflex and hook above
Latin capital letter a with circumflex and tilde
Latin capital letter a with breve and acute
Latin capital letter a with breve and grave
Latin capital letter a with breve and hook above
Latin capital letter e with circumflex and acute
Latin capital letter e with circumflex and grave
Latin capital letter e with circumflex and hook above
Latin capital letter e with circumflex and tilde
Latin capital letter o with circumflex and acute
Latin capital letter o with circumflex and grave
Latin capital letter o with circumflex and hook above
Latin capital letter o with circumflex and tilde
Comment 1 Ben Laenen 2006-08-15 04:43:58 UTC
Can you post some screenshots of the first issue? I can't tell what's causing 
that.

Not showing the upper one of two diacritics is a problem which is caused by 
DejaVu's small line spacing. There is simply no space for two diacritics above 
a capital, and Windows is rather strict about not showing anything above the 
glyph bounds defined in the font. In Linux this isn't a problem most of the 
times and both accents will be shown (though cut-offs do happen sometimes 
still). This problem isn't easily fixable: changing line spacing would result 
in a lot of protest (a font shouldn't just change it's metrics), but with no 
room above a capital we are somewhat stuck on this issue.
Comment 2 Kim Bastin 2006-08-15 05:20:07 UTC
Created attachment 6566 [details]
Screenshot from OOo.Writer

Pity about the double diacritics, for it makes these characters unusable on the
Windows platform.

Attaching a screenshot of the examples with single diacritics, which seems to
be a different problem.

I note that in the BabelMap character grid, the characters affected appear
higher up in the cell than others that don't show the problem.
Comment 3 chemtech 2013-03-15 14:26:56 UTC
Kim Bastin
Do you still experience this issue with newer soft ?
Please check the status of your issue.
Comment 4 Kim Bastin 2013-03-16 02:04:00 UTC
Well, this was a blast from the past. Nearly six and a half years ago!

I have just copied and pasted the bug description into LibreOffice Writer 4.0.1, the successor to OOo.Writer, and set the font to DejaVu Sans. The first issue mentioned, non-appearance of certain diacritics on capital letters except at large font sizes, has apparently been fixed. The characters listed display correctly.

The second issue, with stacked diacritics above capital letters, is still present at least in most cases, and as Ben Laenen remarks in Comment 1, the problem is hard to fix. The only practical fix might be to reduce the height of the base character in such cases so that all the diacritics fit within the bounding box.

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.