2 * Definitions for Graphics Device Drivers interface
4 * Copyright 2023 Piotr Caban
6 * This library is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU Lesser General Public
8 * License as published by the Free Software Foundation; either
9 * version 2.1 of the License, or (at your option) any later version.
11 * This library is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 * Lesser General Public License for more details.
16 * You should have received a copy of the GNU Lesser General Public
17 * License along with this library; if not, write to the Free Software
18 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
27 #define FM_SEL_ITALIC 0x1
28 #define FM_SEL_UNDERSCORE 0x2
29 #define FM_SEL_NEGATIVE 0x4
30 #define FM_SEL_OUTLINED 0x8
31 #define FM_SEL_STRIKEOUT 0x10
32 #define FM_SEL_BOLD 0x20
33 #define FM_SEL_REGULAR 0x40
35 typedef struct _IFIMETRICS
{
38 PTRDIFF dpwszFamilyName
;
39 PTRDIFF dpwszStyleName
;
40 PTRDIFF dpwszFaceName
;
41 PTRDIFF dpwszUniqueName
;
48 BYTE jWinPitchAndFamily
;
56 FWORD fwdWinDescender
;
58 FWORD fwdMacDescender
;
60 FWORD fwdTypoAscender
;
61 FWORD fwdTypoDescender
;
63 FWORD fwdAveCharWidth
;
67 FWORD fwdSubscriptXSize
;
68 FWORD fwdSubscriptYSize
;
69 FWORD fwdSubscriptXOffset
;
70 FWORD fwdSubscriptYOffset
;
71 FWORD fwdSuperscriptXSize
;
72 FWORD fwdSuperscriptYSize
;
73 FWORD fwdSuperscriptXOffset
;
74 FWORD fwdSuperscriptYOffset
;
75 FWORD fwdUnderscoreSize
;
76 FWORD fwdUnderscorePosition
;
77 FWORD fwdStrikeoutSize
;
78 FWORD fwdStrikeoutPosition
;
93 ULONG ulPanoseCulture
;
98 } IFIMETRICS
, *PIFIMETRICS
;
100 #endif /* _WINDDI_ */