D2D: Tweaks to spacing

This commit is contained in:
Brian Ferguson 2013-07-28 12:01:35 -06:00
parent 6aab840dfb
commit 2dda00a071

View File

@ -320,7 +320,7 @@ void CanvasD2D::DrawTextW(const WCHAR* str, UINT strLen, const TextFormat& forma
if (!m_AccurateText) if (!m_AccurateText)
{ {
float emOffset = xOffset / 22.0f; float emOffset = xOffset / 25.0f;
DWRITE_TEXT_RANGE range = {0, strLen}; DWRITE_TEXT_RANGE range = {0, strLen};
Microsoft::WRL::ComPtr<IDWriteTextLayout1> textLayout; Microsoft::WRL::ComPtr<IDWriteTextLayout1> textLayout;