← Back to team overview

documentation-packages team mailing list archive

[Bug 299158] Re: DejaVu, Liberation Mono, Noto Mono, Tlwg Mono, Oxygen Mono, Bitstream Vera Mono: Combining diacritics out of place

 

This is a problem even at the desktop level. With the gnome desktop font
set to the default 'Ubuntu 11' if I use an app (gImageReader in my case,
see also https://github.com/manisandro/gImageReader/issues/613) to write
certain decomposed characters (e.g. \u0069\u0300), they are not properly
combined on the screen. This is a bad user experience. I've switched to
'DejaVu Sans 11' as a workaround, as it seems to handle everything
correctly so far. However, the related DejaVu Sans Mono Book still
messes this up (e.g. in gnome-terminal and gedit), but on different
combined characters. So for monospace needs I've found FreeMono to cover
the most ground (pkg: fonts-freefont-ttf). Try this, while switching
between the default gnome-terminal font (Ubuntu Mono?) and DejaVu Sans
Mono Book:

$ echo -e '\u0069\u0300\u0020\u0254\u0327'
ì ɔ̧

The ì renders correctly while the open o + cedilla doesn't, both here
and with the terminal font set to DejaVu Sans Mono Book, but if you
switch to the default font in the terminal the open o + cedilla renders
correctly while the ì renders with both the dot and the grave accent on
top of each other, rather than the dot disappearing like it should.

I would guess that the related font definitions (Ubuntu Regular/Mono,
DejaVu Sans Mono, possibly others) are simply incomplete when it comes
to these less common character combinations.

font-manager has been very helpful for side-by-side comparisons of
sample text in multiple fonts.

** Bug watch added: github.com/manisandro/gImageReader/issues #613
   https://github.com/manisandro/gImageReader/issues/613

-- 
You received this bug notification because you are a member of
Documentation Packages, which is subscribed to fonts-ubuntu in Ubuntu.
https://bugs.launchpad.net/bugs/299158

Title:
  DejaVu, Liberation Mono, Noto Mono, Tlwg Mono, Oxygen Mono, Bitstream
  Vera Mono: Combining diacritics out of place

Status in fonts-dejavu package in Ubuntu:
  Confirmed
Status in fonts-droid package in Ubuntu:
  Won't Fix
Status in fonts-hack package in Ubuntu:
  Incomplete
Status in fonts-liberation package in Ubuntu:
  Confirmed
Status in fonts-noto package in Ubuntu:
  Confirmed
Status in fonts-tlwg package in Ubuntu:
  Confirmed
Status in fonts-ubuntu package in Ubuntu:
  Confirmed
Status in msttcorefonts package in Ubuntu:
  Won't Fix
Status in oxygen-fonts package in Ubuntu:
  Confirmed
Status in ttf-bitstream-vera package in Ubuntu:
  Won't Fix

Bug description:
  In the Liberation Mono font, combining diacritical marks are drawn
  over the following character rather than the preceding.

  According to the Unicode standard since at least version 3.0, chapter
  3.6, verse D56, combining characters apply to the preceding base
  character. However, this font renders them on the following base
  character.

  Version info:
  Ubuntu Intrepid
  ttf-liberation 1.04~beta2-2

  To reproduce:
  1. Open gedit.
  2. Type the following three code points: U+0061 U+0301 U+0065 (Latin small letter a, Combining acute accent, Latin small letter e).
  3. Via Edit|Preferences|Font & Colors|Font, select the Liberation Mono font.

  Expected:
  * Two grapheme clusters are displayed: Latin small letter a with acute accent, Latin small letter e.

  Observed:
  * The grapheme clusters displayed are: Latin small letter a, Latin small letter e with acute accent.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/fonts-dejavu/+bug/299158/+subscriptions