[Libreoffice-bugs] [Bug 136245] Page count is terribly off on file open with a large table; ultimately it will work (but seems slower). Fine in 6.0 (Windows Only)

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Sat Aug 29 20:44:49 UTC 2020


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

--- Comment #1 from Telesto <telesto at surfxs.nl> ---
My bibisect attempt lands here. 
author  Jan-Marek Glogowski <glogow at fbihome.de> 2018-07-09 09:06:55 +0200
committer       Khaled Hosny <khaledhosny at eglug.org>    2018-07-09 22:11:35
+0200
commit  fad862e290d727fc9fefe206f6e4b807482c4175 (patch)
tree    5195c1277fce198e5b69d552e9209665d8007faf
parent  9d754a59154c40235c240bb0e7f47a2006fa85bd (diff)
tdf#118555 fix HFONT fallback handing / lifecycle
Instead of storing the never changing DC in the WinFontInstance
store the HFONT, which is Windows logical font instance.

Then set the correct HFONT instance from the layout when rendering
its text.

This also changes the HFONT ownership and lifecycle. The HFONT
is moved from the mhFonts to the WinFontInstance, if available,
so it has a proper referenced lifecycle. The mhFonts is still
needed, as embedded font just supply an HFONT and no
WinFontInstance.

https://cgit.freedesktop.org/libreoffice/core/commit/?id=fad862e290d727fc9fefe206f6e4b807482c4175

However coming without warranties, as there is also sorts of quirky behavior in
the 6.2 bibisect repro.
Note 2: The 43 to 26 is also in 6.1, but is simply fast disappearing. So maybe
i'm looking in the wrong bibisect repro?

-- 
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/20200829/106885de/attachment.htm>


More information about the Libreoffice-bugs mailing list