]> git.saurik.com Git - wxWidgets.git/commit
Handle underlined and strikethrough attributes in wxGTK native font info.
authorVadim Zeitlin <vadim@wxwidgets.org>
Sat, 15 Sep 2012 23:17:12 +0000 (23:17 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Sat, 15 Sep 2012 23:17:12 +0000 (23:17 +0000)
commita349dc1085c34b54deaaab3022b01dfd8aeb3cbd
treea7616a3c3e2dc54988de4554aac96bc1721a887d
parentcba4e486a4f8ab05674bac6ed8c6bfa58ab25131
Handle underlined and strikethrough attributes in wxGTK native font info.

These attributes were not handled by wxFont::GetNativeFontInfoDesc() as it
only serialized the Pango font description which doesn't support them.

Fix this by handling these attributes explicitly and prepending them to the
Pango font string if necessary.

Closes #14559.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@72488 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
include/wx/fontutil.h
interface/wx/font.h
src/gtk/font.cpp
src/unix/fontutil.cpp
tests/font/fonttest.cpp