[Libreoffice-bugs] [Bug 142174] Characters shift to top in vertical layout with the Skia backend enabled

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Mon May 10 00:45:16 UTC 2021


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

--- Comment #11 from Mark Hung <marklh9 at gmail.com> ---
(In reply to V Stuart Foote from comment #9)
> Created attachment 171800 [details]
> Not quite right yet with Skia rendering
> 
> With Mark Hung's commits [1][2] applied the vertical glyphs still are
> extending outside the frame on Writer canvas.
> 

It still needs:
https://gerrit.libreoffice.org/c/core/+/115017  (not merged yet) 

But this is only useful if user turns off Skia.

> Canvas was at 118% zoom, and I had to <Ctrl>+A select all the text and
> assign it Libertinus Serif as there was considerable difference in font
> fallback with Skia as compared to default GDI. Setting all the text in the
> frame to Libertinus Serif cleared that (with a couple of undefined gylphs).

I did find upright glyphs that use fallback fonts in vertical writing shift up
roughly the height of the font ascender. I'm working on a solution right now.
It's consistent when Skia enabled (Windows), DWriteTextRenderer ( need the
patch above and with Skia disabled ), Cairo(Linux) on current Master. But I'm
not sure if appearance of the font fallback is the main point of this issue.
Maybe it worth another ticket ( and use non fallback font for this issue ).

> 
> And, is the Frame size different between Skia rendering and default GDI?
> Kind of seems to shrink on canvas--is that maybe part of the issue?
> 
I didn't look at this yet. But maybe it worth another ticket?

> =-ref-=
> https://gerrit.libreoffice.org/c/core/+/115148
> https://gerrit.libreoffice.org/c/core/+/115016

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20210510/1cc4fe39/attachment-0001.htm>


More information about the Libreoffice-bugs mailing list