Bug 101227 - Let LibreOffice work with DirectWrite directly on Windows for glyph rendering
Summary: Let LibreOffice work with DirectWrite directly on Windows for glyph rendering
Status: RESOLVED INVALID
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: UI (show other bugs)
Version:
(earliest affected)
unspecified
Hardware: All Windows (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-07-30 16:38 UTC by Volga
Modified: 2016-12-03 04:56 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Volga 2016-07-30 16:38:03 UTC
DirectWrite is a glyph rendering API introduced by Microsoft, it was shipped with Windows since Windows 7. DirectWrite provides independent glyph rendering from the rendering system that enable Windows application developers to improve the text experience within their applications. In this case you can try to get high-quality rendering for many Asian and African scripts for screen rendering on Windows, especially for playing an slide show presentation via Impress.

Since both Chrome and Firefox started using DirectWrite to render a glyph on screen on Windows, I think LibreOffice should do the same. On Firefox for Windows DW can be enabled or disable via a corresponding option in the about:config page.
Comment 1 V Stuart Foote 2016-07-30 17:47:35 UTC
We already use DirectWrite for OpenGL and Graphite support.

Current GSOC Common SAL Layout w/Harfbuzz effort should improve things further and move us away from GDI and Uniscribe.

=-ref-=
http://opengrok.libreoffice.org/xref/core/vcl/win/gdi/winlayout.cxx
http://opengrok.libreoffice.org/xref/core/vcl/win/gdi/winlayout.hxx

https://cgit.freedesktop.org/libreoffice/core/log/?h=feature/commonsallayout
Comment 2 Volga 2016-07-31 08:35:56 UTC
Oh, I forgot that I should add “provide an option to let user choose whether using DW to render text”
Comment 3 Volga 2016-12-03 04:11:51 UTC
Well, I means we should allow users to use DirectWrite to render text without OpenGL.