feedback
feedback copied to clipboard
DirectWrite: Many classes have not been tagged with the right version
All these enumerations, classes and structures are tagged has Minimum supported client : Windows 10 Build 20348
But in reality, they have been introduced in another version.
Windows 10 Build 16299
(Source of this information)
- DWRITE_AUTOMATIC_FONT_AXES
- DWRITE_FONT_AXIS_ATTRIBUTES
- DWRITE_FONT_AXIS_TAG
- DWRITE_FONT_FAMILY_MODEL
- IDWriteFactory6
- IDWriteFontCollection2
- IDWriteFontFace5
- IDWriteFontFaceReference1
- IDWriteFontFallback1
- IDWriteFontFamily2
- IDWriteFontList2
- IDWriteFontResource
- IDWriteFontSet1
- IDWriteFontSetBuilder2
- IDWriteTextFormat3
- IDWriteTextLayout4
- DWRITE_MAKE_FONT_AXIS_TAG
- DWRITE_FONT_AXIS_RANGE
- DWRITE_FONT_AXIS_VALUE
Windows 10 Build 17134
(Source of this information)
Windows 10 Build 17763
(Source of this information)
Thank you for opening an issue! One of our team members will get back to you with additional information.
If this is a product issue, please close this issue and contact the product's support instead. For a list of support websites, see Support for Microsoft products and apps.
@drewbatgit Can you take a look?
This type of documentation error makes it really hard to use newer functionality of DirectWrite, and to trust this metadata in general. You never really know what version of Windows you need for any particular interface and thus have to stick with an older common denominator, e.g. the original IDWriteFactory
. (You "never really know" because it's either omitted or it could be wrong)
From my own investigation into this from a few years ago I know that everything up to IDWriteFactory7
is available on Windows 10 v1809, but it took quite a bit of digging to actually gather and verify that information.
I found a new error. It is wrote that IDWriteFontCollection1 have been introduced in Windows 7, Windows Vista with SP2 and Platform Update for Windows Vista, but I am pretty sure it has been introduced in the first release of windows 10
That's probably true since it's part of dwrite_3.h
.