Movatterモバイル変換


[0]ホーム

URL:


Jump to content
WikipediaThe Free Encyclopedia
Search

DirectWrite

From Wikipedia, the free encyclopedia
Windows text layout and glyph rendering API

DirectWrite is a text layout and glyph renderingAPI byMicrosoft. It was designed to replaceGDI/GDI+ andUniscribe for screen-oriented rendering and was first shipped withWindows 7 andWindows Server 2008 R2, as well asWindows Vista andWindows Server 2008 (withPlatform Update installed).[1] DirectWrite ishardware-accelerated (using theGPU) when running on top ofDirect2D, but can also use the CPU to render on any target, including aGDIbitmap.[2][3]

Features

[edit]
  • Comprehensive support forUnicode, with over 20 scripts providing layout and rendering of every language supported in Windows. DirectWrite supports measuring, drawing, andhit-testing of multi-format text. Supported Unicode features includeBIDI, line breaking, surrogates, UVS[clarification needed], language-guided script itemization, number substitution, and glyph shaping.
  • Sub-pixelClearType text rendering with bi-directionalantialiasing 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 useWARP software rasterizer when hardware acceleration is not available.
  • Supports advanced typographic features ofOpenType, such as stylistic alternates andswashes, which were never supported in GDI andWinForms. These features were demoed at DirectWrite's launch (atPDC2008) using theGabriola 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.

InWindows 8.1, DirectWrite gained support forcolor fonts.[5][6]

DWriteCore

[edit]

DWriteCore is theWindows App SDK (Project Reunion) implementation of DirectWrite that runs on versions of Windows down to Windows 10, version 1809 (10.0; Build 17763), and opens the door for cross-platform usage.[7]

Uses

[edit]

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

Internet Explorer 9 and later versions use DirectWrite layered over Direct2D for improved visual quality and performance.[9][10][11] Firefox 4 also added DirectWrite support, but rendering in the DirectWrite specific style was made non-default for some fonts in Firefox 7 due to user complaints about the rendering quality.[12]

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

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

Telegram's desktop client uses DirectWrite to render color emojis on Windows.

Steam has the option to enable DirectWrite for improved font smoothing and kerning on its desktop client

See also

[edit]
  • 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

[edit]
  1. ^"The Platform Update for Windows Vista". DirectX Developer Blog. 10 September 2009. Archived fromthe original on 8 April 2014. Retrieved27 January 2012.
  2. ^"Introducing DirectWrite".Microsoft Developer Network. Microsoft. 26 January 2022.
  3. ^Windows 7: Introducing Direct2D and DirectWrite – PDC 2008 video 15:00-16:00 and 27:00-28:00
  4. ^"Windows 7: Introducing Direct2D and DirectWrite – pdc2008".Channel 9. Microsoft. 29 October 2008. Archived from the original on 30 June 2011. Retrieved9 September 2023.{{cite web}}: CS1 maint: bot: original URL status unknown (link)
  5. ^"What's new in DirectWrite".Microsoft Developer Network. Microsoft. 4 October 2021.
  6. ^Dan McLachlan (26 June 2013)."Innovations in High Performance 2D Graphics with DirectX – Build 2013".Channel 9. Microsoft.
  7. ^"DWriteCore overview". DirectWrite.Microsoft Docs. Retrieved2021-10-19.
  8. ^Worachai Chaoweeraprasit (13 February 2009)."Advances in typography and text rendering in Windows 7".Microsoft Developer Network. Microsoft.
  9. ^Tim Anderson (11 August 2010)."Firefox 4 as Psychedelic as IE9 with Direct2D enabled". itwriting.com. Retrieved6 August 2014.
  10. ^Shankland, Stephen (25 March 2014)."Firefox 4 beta 4 adds hardware acceleration". CNET. Retrieved6 August 2014.
  11. ^"Mozilla chucks Roc at Microsoft's new hardness".The Register. 13 September 2010.
  12. ^"DirectWrite Text Rendering in Firefox 6". Blog.mozilla.org. 11 August 2011. Archived fromthe original on 10 August 2014. Retrieved9 August 2014.
  13. ^Murray Sargent."Office Adopts New Windows Display Technology".Microsoft Developer Network. Microsoft.
  14. ^Brandon Chester (26 August 2014)."Google Updates Chrome To Version 37 With DirectWrite Support".AnandTech. Retrieved27 August 2014.
Graphics and UI
Audio
Multimedia
Web
Data access
Networking
Communication
Administration and
management
Component model
Libraries
Device drivers
Security
.NET
Software factories
IPC
Accessibility
Text and multilingual
support
Retrieved from "https://en.wikipedia.org/w/index.php?title=DirectWrite&oldid=1234153129"
Categories:
Hidden categories:

[8]ページ先頭

©2009-2025 Movatter.jp