Here are some of the new additions to DirectWrite. The new remote-font APIs can be used with public or private Web services. In addition, they can be used to access raw, OpenType font files.
Direct2D is a hardware-accelerated, immediate-mode, 2-D graphics API that provides high performance and high quality rendering for 2-D geometry, bitmaps, and text. DirectWrite provides support for high-quality text rendering, resolution-independent outline fonts, and full Unicode text and layout support, and much, much more.
The implementation supports Windows bit x86 and Windows bit x64 targets using SSE2 intrinsics, and is fully cross-platform with the optimized Xbox XDK version. An optional filter has been added to XAudio2 voice sends. This makes 3D-filtering scenarios, such as obstruction and occlusion, easier and more efficient.
The new SetSourceSampleRate method, added to XAudio2 source voices, makes it easy to dynamically reuse voices with data of arbitrary sampling rates. This allows for better voice-pooling support. This helper code has been added to allow titles to build their own effects xAPOs that are optimized for both Xbox and Windows.
The xWMAEncode tool can now encode source data of arbitrary sampling rate and has improved support for encoding short source files.
In addition to the functionality that was in the branding tool, the new tool allows users to create and edit their own set of test cases and passes.
These custom test cases and passes can then be used to produce test reports. The GameStatisticsExample sample demonstrates how to get and set statistics viewed by the Windows 7 version of Game Explorer.
The new Collision sample illustrates the implementation of a collision library utilizing the new XNAMath library, which performs cross-platform vectorized math operations. The HDRToneMappingCS11 sample has been expanded to implement blur and bloom effects in addition to tone mapping using compute shader, as well as providing pixel shader implementations for comparison.
The MultithreadedRendering11 sample has been significantly updated, with more complex art assets and more intensive per-thread processing.
The SubD11 sample has been updated with a new facial model, and the sample now leverages the adjacency computation feature of the Samples Content Exporter.
Technical Preview of Direct2D Direct2D is a hardware-accelerated, immediate-mode, 2-D graphics API that provides high performance and high quality rendering for 2-D geometry, bitmaps, and text. This technical preview allows developers to evaluate the API and write simple applications, with some of the more advanced functionality possible on properly configured machines.
Technical Preview of DirectWrite DirectWrite provides support for high-quality text rendering, resolution-independent outline fonts, and full Unicode text and layout support, and much, much more.
A device-independent text layout system that improves text readability in documents and in UI. Support for multi-format text.
Support for the advanced typography features of OpenType fonts.At the same time Microsoft introduced another new API, DirectWrite, supporting text rendering, resolution-independent outline fonts, and full Unicode text and layout support.
I'm toying with a little 2D game engine in C# and decided to use Direct2D and DirectWrite for rendering.
I know there's the Windows API Code Pack and SlimDX, . Introduction to DirectWrite. 27 May, C++, The DirectWrite API is DPI aware, therefor I recommend you to make your DirectWrite application DPI aware by using a manifest. This can be done by making a file with the following contents: Download demo application.
Text Metrics In order to assist your layout, custom font selection, and other metric intensive operations, starting in Windows 8, DirectWrite has a number of new APIs to express all the info about fonts that you might require to develop rich text apps.
Fixes an issue in which you may experience slow performance in applications that use the DirectWrite API (for example, Internet Explorer 9).
This issue occurs on a computer that is running Windows 7 or Windows Server R2. Feb 11, · The Platform Update for Windows 7 enables improved features and performance on Windows 7 SP1 and Windows Server R2 SP1.
It includes updates to the following components: Direct2D, DirectWrite, Direct3D, Windows Imaging Component (WIC), Windows Advanced Rasterization Platform (WARP), Windows Animation Manager (WAM), XPS Document API.