summaryrefslogtreecommitdiff
path: root/pango/pangowin32-dwrite-fontmap.cpp
diff options
context:
space:
mode:
authorChun-wei Fan <fanchunwei@src.gnome.org>2022-08-16 16:01:24 +0800
committerChun-wei Fan <fanchunwei@src.gnome.org>2022-09-26 11:04:25 +0800
commitb406dd6e1282e7a98ed9a7b3d8b0e6af416a9797 (patch)
treeaa5827324ce905d33acae19305fca9cae3e54552 /pango/pangowin32-dwrite-fontmap.cpp
parent894821e8b4593ece2437481fd607022b36d94f1f (diff)
downloadpango-b406dd6e1282e7a98ed9a7b3d8b0e6af416a9797.tar.gz
PangoWin32: Also use DirectWrite for font descriptions on LOGFONTA's
Extend the support to use DirectWrite to query the font descriptions from LOGFONTA's, by using a temporary LOGFONTW which uses the UTF-16'fied facename converted directly using g_locale_to_utf8 (), since DirectWrite expects us to use LOGFONTW's for its GDI interop operations.
Diffstat (limited to 'pango/pangowin32-dwrite-fontmap.cpp')
0 files changed, 0 insertions, 0 deletions