]> git.saurik.com Git - wxWidgets.git/commit
Fix text extent computation in wxMSW wxGraphicsContext.
authorVadim Zeitlin <vadim@wxwidgets.org>
Wed, 20 Jun 2012 17:54:46 +0000 (17:54 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Wed, 20 Jun 2012 17:54:46 +0000 (17:54 +0000)
commitb437ff98b0c61bf7ecdbe57d759917d1eb92a94f
tree29bf1bc054a837844752cb5c16202c8be842dd3c
parent7e3ea54f47679cb9ecd0f635b7abf32c87c40c09
Fix text extent computation in wxMSW wxGraphicsContext.

The results were incorrect for italic or bold fonts as we hardcoded
FontStyleRegular instead of using the real font style.

Closes #14421.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@71821 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
docs/changes.txt
src/msw/graphics.cpp