World Library  
Flag as Inappropriate
Email this Article

DirectWrite

Article Id: WHEBN0023152563
Reproduction Date:

Title: DirectWrite  
Author: World Heritage Encyclopedia
Language: English
Subject: DirectX, Direct2D, .NET Framework, Direct3D, Internet Explorer 9
Collection:
Publisher: World Heritage Encyclopedia
Publication
Date:
 

DirectWrite

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).[1] 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.[2][3]

Features

  • 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.[4]
  • Provides a low-level glyph rendering API for those who employ proprietary text layout and Unicode-to-glyph processing.

In Windows 8.1, DirectWrite gained support for color fonts.[5][6]

Uses

The XPS viewer in Windows 7 uses DirectWrite, but it renders the output on a GDI+ surface.[7]

Internet Explorer 9 and later versions use DirectWrite layered over Direct2D for improved visual quality and performance.[8][9][10] 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.[11]

Microsoft Office 2013 supports either Direct2D/DirectWrite or GDI/Uniscribe for display rendering and typography.[12]

Google Chrome in Windows supports DirectWrite from version 37.[13]

See also

  • 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

References

  1. ^ "The Platform Update for Windows Vista - DirectX Developer Blog - Site Home - MSDN Blogs". Blogs.msdn.com. 2009-09-10. Retrieved 2012-01-27. 
  2. ^ http://msdn.microsoft.com/en-us/library/windows/desktop/dd371554(v=vs.85).aspx
  3. ^ Windows 7: Introducing Direct2D and DirectWrite - PDC 2008 video 15:00-16:00 and 27:00-28:00
  4. ^ http://channel9.msdn.com/Blogs/pdc2008/PC18
  5. ^ http://msdn.microsoft.com/en-us/library/windows/desktop/hh802480(v=vs.85).aspx
  6. ^ http://channel9.msdn.com/Events/Build/2013/3-191
  7. ^ http://blogs.msdn.com/b/e7/archive/2009/02/13/advances-in-typography-and-text-rendering-in-windows-7.aspx
  8. ^ By 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. 
  9. ^ Shankland, Stephen (2014-03-25). "Firefox 4 beta 4 adds hardware acceleration". CNET. Retrieved 2014-08-06. 
  10. ^ Mozilla chucks Roc at Microsoft's new hardness • The Register
  11. ^ "Graphic bits » Blog Archive » DirectWrite Text Rendering in Firefox 6". Blog.mozilla.org. 2011-08-11. Retrieved 2014-08-09. 
  12. ^ http://blogs.msdn.com/b/murrays/archive/2012/07/29/office-adopts-new-windows-display-technology.aspx
  13. ^ Brandon Chester (2014-08-26). "Google Updates Chrome To Version 37 With DirectWrite Suppport". Retrieved 2014-08-27. 

External links

  • MSDN: Introducing DirectWrite
This article was sourced from Creative Commons Attribution-ShareAlike License; additional terms may apply. World Heritage Encyclopedia content is assembled from numerous content providers, Open Access Publishing, and in compliance with The Fair Access to Science and Technology Research Act (FASTR), Wikimedia Foundation, Inc., Public Library of Science, The Encyclopedia of Life, Open Book Publishers (OBP), PubMed, U.S. National Library of Medicine, National Center for Biotechnology Information, U.S. National Library of Medicine, National Institutes of Health (NIH), U.S. Department of Health & Human Services, and USA.gov, which sources content from all federal, state, local, tribal, and territorial government publication portals (.gov, .mil, .edu). Funding for USA.gov and content contributors is made possible from the U.S. Congress, E-Government Act of 2002.
 
Crowd sourced content that is contributed to World Heritage Encyclopedia is peer reviewed and edited by our editorial staff to ensure quality scholarly research articles.
 
By using this site, you agree to the Terms of Use and Privacy Policy. World Heritage Encyclopedia™ is a registered trademark of the World Public Library Association, a non-profit organization.
 


Copyright © World Library Foundation. All rights reserved. eBooks from Project Gutenberg are sponsored by the World Library Foundation,
a 501c(4) Member's Support Non-Profit Organization, and is NOT affiliated with any governmental agency or department.