https://bugs.documentfoundation.org/show_bug.cgi?id=104846
--- Comment #7 from V Stuart Foote <[email protected]> ---
(In reply to Khaled Hosny from comment #6)
> This is a font bug; the font has glyphs with large descenders that goes
> below the font clipping metrics (usWinDescent of the “OS/2” table). The font
> has to be fixed.
I don't doubt the metrics to be bad, but there still is an issue with composing
the table with the OpenGL rendering. Try the STR from comment 3, restated
here.
1. Download László's Graphite "fontfeatures.odt" sampler [1]
2. Open with recent build of master or 5.3.1
3. With OpenGL rendering enabled
4. scroll to the first tables row holding the liga examples
5. zoom to 400% and pan to show the "Result column" ending with the "gf"
ligature
6. note that glyphs on the bottom row of the table cell are clipped
7. "adjust the table column" by grabbing the right edge and dragging
8. drag wider to bring the "gfi" and "gj" ligature result up a line
9. note glyphs that had been clipped, are fully formed
10. drag narrower to push back down and they are again clipped.
11. close document, and disable OpenGL rendering restart with Default rendering
12. repeat opening and zoom & pan to the liga row
13. the "gf", "gfi", and "gj" ligature results are clipped regardless of
position--so different handling of layout between the Default rendering and the
OpenGL rendering.
So, rather than just the font metrics which are bad, there is a
DirectWrite/Direct2D aspect here in composing to canvas. Not sure we can
entirely NOTOURBUG this--at the least it is something to test against when the
DirectWrite calls are eventually refactored.
=-ref-=
[1] http://www.numbertext.org/linux/fontfeatures.odt
--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs