[Libreoffice-bugs] [Bug 107521] New: Improve DirectWrite implementation font rendering on Windows

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Sat Apr 29 16:27:22 UTC 2017


https://bugs.documentfoundation.org/show_bug.cgi?id=107521

            Bug ID: 107521
           Summary: Improve DirectWrite implementation font rendering on
                    Windows
           Product: LibreOffice
           Version: 5.3.0.3 release
          Hardware: All
                OS: Windows (All)
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: graphics stack
          Assignee: libreoffice-bugs at lists.freedesktop.org
          Reporter: vstuart.foote at utsa.edu

So, at 5.3.2.2 the OpenGL and the Default rendering both are DirectWrite based
and now match output--but both are a bit roughly rendered. 

And we have the complaints of bug 106990 (seemingly from users of Default
rendering, not previously exposed to quality of OpenGL rendering).

Is this a shortcoming with our DirectWrite implementation? Are we missing a
control that leaves the ID2D1RenderTarget set to defaults and so is getting an
unappealing rendering on Windows builds?

Should we be setting Rendering and Measurement modes from
SetTextRenderingParams, and AntiAlais modes from SetTextAntialiasMode, to get
more appealing rendering for both OpengGL and Default rendering.

And would implementing IDWriteFontFace::GetRecommendedRenderingMode be helpful
to add to the font handling?

Not a dev but the DirectWrite documentation seems to suggest we are missing
something.

=-refs-=
ID2D1RenderTarget::SetTextRenderingParams
https://msdn.microsoft.com/en-us/library/windows/desktop/dd316898(v=vs.85).aspx

IDWriteRenderingParams interface
https://msdn.microsoft.com/en-us/library/windows/desktop/dd371285(v=vs.85).aspx
GetRenderingModes
https://msdn.microsoft.com/en-us/library/windows/desktop/dd371300(v=vs.85).aspx

Rendering Mode Win8 and earlier
https://msdn.microsoft.com/en-us/library/windows/desktop/jj710196(v=vs.85).aspx
Rendering Mode Win8.1 and on
https://msdn.microsoft.com/en-us/library/windows/desktop/dd368118(v=vs.85).aspx

AntiAlaisModes
https://msdn.microsoft.com/en-us/library/windows/desktop/dd368170(v=vs.85).aspx

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20170429/45c21a39/attachment-0001.html>


More information about the Libreoffice-bugs mailing list