summaryrefslogtreecommitdiff
path: root/cui/source/options
diff options
context:
space:
mode:
authorJan-Marek Glogowski <glogow@fbihome.de>2020-10-22 11:56:45 +0200
committerJan-Marek Glogowski <glogow@fbihome.de>2020-10-22 15:53:24 +0200
commit90dd969e7db5aaa76117547d7892f3a9dc1db46f (patch)
tree902de5cdc7607c2d663712beb1bc333c5aa582f0 /cui/source/options
parent5bccd9318a6357e043b798034dcca3bf94a1ec5f (diff)
tdf#136915 correctly create QFont from Qt5FontFace
Store the origin of the Qt5FontFace and therefore the type of the font ID and use either QFont::fromString or QFontDatabase::font to generate the correct QFont instance. Interestingly the QFont::fromString worked with the minimal font string, ignoring the font style, but now fails with error messages when including the point size. Guess Qt supports partial font strings, as long as they match the segment types from the start. Change-Id: I6b30423a5ae9abd8ee50d6087a3ec61d85f6320f Reviewed-on: https://gerrit.libreoffice.org/c/core/+/104652 Tested-by: Jenkins Reviewed-by: Jan-Marek Glogowski <glogow@fbihome.de>
Diffstat (limited to 'cui/source/options')
0 files changed, 0 insertions, 0 deletions