https://bugs.documentfoundation.org/show_bug.cgi?id=155325

خالد حسني <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
     Ever confirmed|0                           |1
             Status|UNCONFIRMED                 |NEW

--- Comment #3 from خالد حسني <[email protected]> ---
Linux Libertine G seems to be doing something fishy with tt followed by space:

First check stand alone tt:

$ hb-shape LinLibertine_R_G.ttf "tt"
[t_t+1257]

Then standalone space:

$ hb-shape LinLibertine_R_G.ttf "tt t tt"
[space+512]

Then tt followed by space:

$ hb-shape LinLibertine_R_G.ttf "tt t tt"
[t_t+1769|space@-512,0+0]

Notice how when followed by space the advance width of the t_t glyph gets the
advance width of the space glyph add to it, then space gets a negative advance
width to compensate for this.

This seems like a font bug. I don’t think there is a good reason to do this.
But we also probably have a bug caused by this resulting in calculating the
spacing between glyphs differently for cursor position and for actual drawing
resulting in this discrepancy.

In general, Linux Libertine G is rather have some issues and is not maintained.
We probably are better off not distributing it any more.

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to