Jump to content

DirectWrite: Difference between revisions

From Wikipedia, the free encyclopedia
Content deleted Content added
No edit summary
Line 1: Line 1:
'''DirectWrite''' is a text-layout and glyph-rendering [[Application programming interface|API]] by [[Microsoft]]. {{Reference necessary|text=It was designed to replace [[Graphics Device Interface|GDI]]/GDI+ and [[Uniscribe]] for screen-oriented rendering|date=December 2011}} and was shipped with [[Windows 7]] and [[Windows Server 2008 R2]], as well as [[Windows Vista]] and [[Windows Server 2008]] (with [[Windows Vista Platform Update|Platform Update]] installed).<ref>{{cite web|url=http://blogs.msdn.com/directx/archive/2009/09/10/windows-7-transition-pack-for-windows-vista.aspx |title=The Platform Update for Windows Vista - DirectX Developer Blog - Site Home - MSDN Blogs |publisher=Blogs.msdn.com |date=2009-09-10 |accessdate=2012-01-27}}</ref>
'''DirectWrite''' is a text-layout and glyph-rendering [[Application programming interface|API]] by [[Microsoft]]. {{Reference necessary|text=It was designed to replace [[Graphics Device Interface|GDI]]/GDI+ and [[Uniscribe]] for screen-oriented rendering|date=December 2011}} and was shipped with [[Windows 7]] and [[Windows Server 2008 R2]], as well as [[Windows Vista]] and [[Windows Server 2008]] (with [[Windows Vista Platform Update|Platform Update]] installed).<ref>{{cite web|url=http://blogs.msdn.com/directx/archive/2009/09/10/windows-7-transition-pack-for-windows-vista.aspx |title=The Platform Update for Windows Vista - DirectX Developer Blog - Site Home - MSDN Blogs |publisher=Blogs.msdn.com |date=2009-09-10 |accessdate=2012-01-27}}</ref>and Platform Update Supplement for Windows Vista and for Windows Server 2008(KB2117917)<ref>{{cite web|url=http://support.microsoft.com/kb/2117917 |title=Platform Update Supplement for Windows Vista and for Windows Server 2008 |publisher=Support.microsoft.com |date=2011-02-08 |accessdate=2012-01-27}}</ref> & KB2505189<ref>{{cite web|url=http://support.microsoft.com/kb/2505189 |title=An update is available for DirectWrite and XPS issues in Windows Vista SP2 and in Windows Server 2008 SP2 |publisher=Support.microsoft.com |date=2011-08-22 |accessdate=2012-01-27}}</ref> update installed.

Microsoft has fixed many DirectWrite bugs in Windows 7 through Windows 7 Service Pack 1(SP1)<ref>http://www.microsoft.com/downloads/en/details.aspx?FamilyID=c3202ce6-4056-4059-8a1b-3a9b77cdfdda</ref>, KB2505438 update<ref>http://support.microsoft.com/kb/2505438</ref>, KB2665364 security update<ref>http://support.microsoft.com/kb/2665364</ref> and KB2670838 update<ref>{{cite web|url=http://support.microsoft.com/kb/2670838 |title=A platform update is available for Windows 7 SP1 and Windows Server 2008 R2 SP1 |publisher=Microsoft Support web site |date=2012-11-14 |accessdate=2012-11-14}}</ref>.


==Features==
==Features==
Line 69: Line 71:
==External links==
==External links==
*[http://msdn.microsoft.com/en-us/library/dd371554(VS.85).aspx MSDN: Introducing DirectWrite]
*[http://msdn.microsoft.com/en-us/library/dd371554(VS.85).aspx MSDN: Introducing DirectWrite]
*http://support.microsoft.com/kb/2117917
*http://support.microsoft.com/kb/2505189
*http://www.microsoft.com/downloads/en/details.aspx?FamilyID=c3202ce6-4056-4059-8a1b-3a9b77cdfdda
*http://support.microsoft.com/kb/2505438
*http://support.microsoft.com/kb/2665364


==References==
==References==

Revision as of 06:37, 17 December 2012

DirectWrite is a text-layout and glyph-rendering API by Microsoft. [citation needed] 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]and Platform Update Supplement for Windows Vista and for Windows Server 2008(KB2117917)[2] & KB2505189[3] update installed.

Microsoft has fixed many DirectWrite bugs in Windows 7 through Windows 7 Service Pack 1(SP1)[4], KB2505438 update[5], KB2665364 security update[6] and KB2670838 update[7].

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

Supported scripts

‡ No default system font provided in Windows. Braille, Ogham, and Runic are supported by Segoe UI Symbol.

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. ^ "Platform Update Supplement for Windows Vista and for Windows Server 2008". Support.microsoft.com. 2011-02-08. Retrieved 2012-01-27.
  3. ^ "An update is available for DirectWrite and XPS issues in Windows Vista SP2 and in Windows Server 2008 SP2". Support.microsoft.com. 2011-08-22. Retrieved 2012-01-27.
  4. ^ http://www.microsoft.com/downloads/en/details.aspx?FamilyID=c3202ce6-4056-4059-8a1b-3a9b77cdfdda
  5. ^ http://support.microsoft.com/kb/2505438
  6. ^ http://support.microsoft.com/kb/2665364
  7. ^ "A platform update is available for Windows 7 SP1 and Windows Server 2008 R2 SP1". Microsoft Support web site. 2012-11-14. Retrieved 2012-11-14.