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

--- Comment #2 from Telesto <tele...@surfxs.nl> ---
Created attachment 144107
  --> https://bugs.documentfoundation.org/attachment.cgi?id=144107&action=edit
Bibisect log

Bisected to
author  Jan-Marek Glogowski <glo...@fbihome.de> 2018-07-09 09:06:55 +0200
committer       Khaled Hosny <khaledho...@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.

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to