Re: [Mingw-w64-public] [PATCH 3/4] dwrite1_1.h: Added DWRITE_PANOSE declaration.
On 01/22/2018 09:30 PM, Kai Tietz via Mingw-w64-public wrote: > Hmm, ok. Shouldn't we special case unnamed union/struct? Unless I'm missing something, all structs are named in this patch. Thanks for reviews, Jacek -- Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot ___ Mingw-w64-public mailing list Mingw-w64-public@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mingw-w64-public
Re: [Mingw-w64-public] [PATCH 3/4] dwrite1_1.h: Added DWRITE_PANOSE declaration.
Hmm, ok. Shouldn't we special case unnamed union/struct? Kai 2018-01-22 19:00 GMT+01:00 Jacek Caban: > Signed-off-by: Jacek Caban > --- > mingw-w64-headers/include/dwrite_1.h | 53 > > 1 file changed, 53 insertions(+) > > > > -- > Check out the vibrant tech community on one of the world's most > engaging tech sites, Slashdot.org! http://sdm.link/slashdot > ___ > Mingw-w64-public mailing list > Mingw-w64-public@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/mingw-w64-public > -- Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot ___ Mingw-w64-public mailing list Mingw-w64-public@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mingw-w64-public
[Mingw-w64-public] [PATCH 3/4] dwrite1_1.h: Added DWRITE_PANOSE declaration.
Signed-off-by: Jacek Caban--- mingw-w64-headers/include/dwrite_1.h | 53 1 file changed, 53 insertions(+) diff --git a/mingw-w64-headers/include/dwrite_1.h b/mingw-w64-headers/include/dwrite_1.h index c0d15acb..56728da1 100644 --- a/mingw-w64-headers/include/dwrite_1.h +++ b/mingw-w64-headers/include/dwrite_1.h @@ -47,6 +47,59 @@ struct DWRITE_FONT_METRICS1 : public DWRITE_FONT_METRICS { BOOL hasTypographicMetrics; }; +union DWRITE_PANOSE { +UINT8 values[10]; +UINT8 familyKind; +struct { +UINT8 familyKind; +UINT8 serifStyle; +UINT8 weight; +UINT8 proportion; +UINT8 contrast; +UINT8 strokeVariation; +UINT8 armStyle; +UINT8 letterform; +UINT8 midline; +UINT8 xHeight; +} text; +struct { +UINT8 familyKind; +UINT8 toolKind; +UINT8 weight; +UINT8 spacing; +UINT8 aspectRatio; +UINT8 contrast; +UINT8 scriptTopology; +UINT8 scriptForm; +UINT8 finials; +UINT8 xAscent; +} script; +struct { +UINT8 familyKind; +UINT8 decorativeClass; +UINT8 weight; +UINT8 aspect; +UINT8 contrast; +UINT8 serifVariant; +UINT8 fill; +UINT8 lining; +UINT8 decorativeTopology; +UINT8 characterRange; +} decorative; +struct { +UINT8 familyKind; +UINT8 symbolKind; +UINT8 weight; +UINT8 spacing; +UINT8 aspectRatioAndContrast; +UINT8 aspectRatio94; +UINT8 aspectRatio119; +UINT8 aspectRatio157; +UINT8 aspectRatio163; +UINT8 aspectRatio211; +} symbol; +}; + #undef INTERFACE #define INTERFACE IDWriteFontCollection DECLARE_INTERFACE_(IDWriteFontFace1, IDWriteFontFace) -- Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot___ Mingw-w64-public mailing list Mingw-w64-public@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mingw-w64-public