Skip to content
EntityQ1043748· pop 8· linked from 126 articles

DirectWrite

Sign in to save

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 first 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 also use the CPU to render on any target, including a GDI bitmap.

Described at

DirectWrite (DWrite) - Win32 apps | Microsoft Learn

Today's applications must support high-quality text rendering, resolution-independent outline fonts, and full Unicode text and layout support. DirectWrite, a [DirectX](../directx.md) API, provides these features and more.

msdn.microsoft.com

Today's applications must support high-quality text rendering, resolution-independent outline fonts, and full Unicode text and layout support. DirectWrite, a DirectX API, provides these features and more. A device-independent text layout system that improves text readability in documents and in UI. High-quality, sub-pixel, Microsoft ClearType text rendering that can use GDI , Direct2D , or application-specific rendering technology. Hardware-accelerated text, when used with Direct2D . Support for multi-format text. Support for the advanced typography features of OpenType fonts. Support for the layout and rendering of text in all supported languages. GDI -compatible layout and rendering. The API supports measuring, drawing, and hit-testing of multi-format text. DirectWrite handles text in all supported languages for global and localized applications, building on the key language infrastructure found in Windows 7. DirectWrite also provides a low-level glyph rendering API for developers who want to perform their own layout and Unicode-to-glyph processing. Windows App SDK introduces a new version of DirectWrite—called DWriteCore—that runs on versions of Windows down to Windows 8, and opens the door for you to use it cross-platform. For more details, see DWriteCore overview . What's new in DirectWrite Here are some of the new additions to DirectWrite. Programming Guide The following topics provide an overview of the DirectWrite API. API Reference Describes the DirectWrite API. Sample Code This section contains information about sample programs for DirectWrite. Want to try using Ask Learn to clarify or guide you through this topic? Ask Learn is an AI assistant that can answer questions, clarify concepts, and define terms using trusted Microsoft documentation.

Excerpt from a page describing this subject · 4,476 chars · not written by Vinony

Article · Русский

DirectWrite — интерфейс программирования приложений (API) компании Microsoft для форматирования текста на экране и рендеринга отдельных глифов. Он был разработан, чтобы заменить GDI/GDI+ и Uniscribe. Поддерживается в операционных системах Windows 7, Windows 8, Windows Server 2008 R2, а также доступно обновление для Windows Vista и Windows Server 2008 (SP2). Microsoft Office 2013 может использовать Direct2D/DirectWrite или GDI/Uniscribe.

Abstract from DBpedia / Wikipedia · CC BY-SA

Available in 8 languages

via Wikidata sitelinks · CC0

DirectWrite · Vinony