DirectWrite is a text layout and glyph rendering API by Microsoft. It was designed to replace GDI/GDI+ and Uniscribe for screen-oriented rendering and was shipped with Windows 7 and Windows Server 2008 R2, as well as Windows Vista and Windows Server 2008 (with Platform Update installed). DirectWrite is hardware-accelerated (using the GPU) when running on top of Direct2D, but can really render on the CPU to any target, including a GDI bitmap.
- Comprehensive support for Unicode, with over 20 scripts providing layout and rendering of every language supported in Windows. DirectWrite supports measuring, drawing, and hit-testing of multi-format text. Supported Unicode features include BIDI, line breaking, surrogates, UVS, language-guided script itemization, number substitution, and glyph shaping.
- Sub-pixel ClearType text rendering with bi-directional antialiasing which can interoperate with GDI/GDI+, Direct2D/Direct3D and any application-specific technology. When using with Direct2D, text rendering can be hardware-accelerated or can use WARP software rasterizer when hardware acceleration is not available.
- Supports advanced typographic features of OpenType, such as stylistic alternates and swashes, which were never supported in GDI and WinForms. These features were demoed at DirectWrite's launch (at PDC2008) using the Gabriola font, itself also introduced with Windows 7.
- Provides a low-level glyph rendering API for those who employ proprietary text layout and Unicode-to-glyph processing.
Internet Explorer 9 and later versions use DirectWrite layered over Direct2D for improved visual quality and performance. Firefox 4 also added DirectWrite support, but this was made non-default for some fonts in Firefox 7 due to user complaints about the rendering quality.
- Pango a cross platform library for rendering text in high quality, emphasising support for multilingual text
- Cairo a vector-based cross platform graphics library that can render text
- "The Platform Update for Windows Vista - DirectX Developer Blog - Site Home - MSDN Blogs". Blogs.msdn.com. 2009-09-10. Retrieved 2012-01-27.
- Windows 7: Introducing Direct2D and DirectWrite - PDC 2008 video 15:00-16:00 and 27:00-28:00
- tim, on August 11th, 2010 Follow tim on Twitter (2010-08-11). "Firefox 4 as Psychedelic as IE9 with Direct2D enabled « Tim Anderson's ITWriting". Itwriting.com. Retrieved 2014-08-06.
- Shankland, Stephen (2014-03-25). "Firefox 4 beta 4 adds hardware acceleration". CNET. Retrieved 2014-08-06.
- Mozilla chucks Roc at Microsoft's new hardness • The Register
- "Graphic bits » Blog Archive » DirectWrite Text Rendering in Firefox 6". Blog.mozilla.org. 2011-08-11. Retrieved 2014-08-09.
- Brandon Chester (2014-08-26). "Google Updates Chrome To Version 37 With DirectWrite Support". Retrieved 2014-08-27.