diff options
author | Tomaž Vajngerl <tomaz.vajngerl@collabora.com> | 2015-10-22 19:03:01 +0200 |
---|---|---|
committer | Tomaž Vajngerl <tomaz.vajngerl@collabora.com> | 2015-10-22 19:16:14 +0200 |
commit | 825b3df7f1d987021ec4a08ff8e7ed78e5772c97 (patch) | |
tree | ea377df8cb251150d9606bf1c09a2dfbb7377b62 /include/systools | |
parent | 8e49a523c932936c1e38e0d26e5946619c2ed321 (diff) |
tdf#94138 fix printing of edit form fields
There are 2 bugs:
- In Window::GetDrawPixelFont we asked for the font to the
current window, which didn't work correctly when printing. The
device itself should provide the font and not the window.
- In paint method the font wasn't setup correctly which should
happen before painting by calling ApplySettings. The effect of
this is that print preview didn't show the correct font for the
edit control and similar when you copy + paste the edit control.
The work around for this is to call ApplySettings again.
Change-Id: I74960355823c71c1d5a18a82bbc86561a3c4b760
Diffstat (limited to 'include/systools')
0 files changed, 0 insertions, 0 deletions