mirror of
https://github.com/chibicitiberiu/rainmeter-studio.git
synced 2024-02-24 04:33:31 +00:00
D2D: Tweaks to spacing
This commit is contained in:
parent
6aab840dfb
commit
2dda00a071
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user