ReactOS 0.4.16-dev-109-gf4cb10f
font.h
Go to the documentation of this file.
1#pragma once
2
3
4typedef struct _FONT_ENTRY
5{
12
13typedef struct _FONT_ENTRY_MEM
14{
18
20{
25
26#include <pshpack1.h> /* We don't like padding for these structures for hashing */
27
28typedef struct _FONT_ASPECT
29{
30 _ANONYMOUS_UNION union {
32 struct {
35 } Emu;
39
40typedef struct _FONT_CACHE_HASHED
41{
46 _ANONYMOUS_UNION union {
52
53#include <poppack.h>
54
55typedef struct _FONT_CACHE_ENTRY
56{
62
63C_ASSERT(FIELD_OFFSET(FONT_CACHE_ENTRY, Hashed) % sizeof(DWORD) == 0); /* for hashing */
64C_ASSERT(sizeof(FONT_CACHE_HASHED) % sizeof(DWORD) == 0); /* for hashing */
65
66/*
67 * FONTSUBST_... --- constants for font substitutes
68 */
69#define FONTSUBST_FROM 0
70#define FONTSUBST_TO 1
71#define FONTSUBST_FROM_AND_TO 2
72
73/*
74 * FONTSUBST_ENTRY --- font substitute entry
75 */
76typedef struct FONTSUBST_ENTRY
77{
82
83
84typedef struct GDI_LOAD_FONT
85{
94
unsigned int BOOL
Definition: ntddk_ex.h:94
unsigned long DWORD
Definition: ntddk_ex.h:95
unsigned short WORD
Definition: ntddk_ex.h:93
struct _FONT_CACHE_HASHED FONT_CACHE_HASHED
struct _FONT_ENTRY_MEM * PFONT_ENTRY_MEM
struct _FONT_ENTRY_COLL_MEM * PFONT_ENTRY_COLL_MEM
struct _FONT_CACHE_ENTRY FONT_CACHE_ENTRY
struct _FONT_ENTRY * PFONT_ENTRY
struct _FONT_CACHE_HASHED * PFONT_CACHE_HASHED
struct _FONT_ENTRY FONT_ENTRY
struct GDI_LOAD_FONT * PGDI_LOAD_FONT
#define FONTSUBST_FROM_AND_TO
Definition: font.h:71
struct _FONT_CACHE_ENTRY * PFONT_CACHE_ENTRY
struct _FONT_ENTRY_COLL_MEM FONT_ENTRY_COLL_MEM
struct _FONT_ASPECT * PFONT_ASPECT
struct _FONT_ENTRY_MEM FONT_ENTRY_MEM
struct _FONT_ASPECT FONT_ASPECT
struct FONTSUBST_ENTRY * PFONTSUBST_ENTRY
#define C_ASSERT(e)
Definition: intsafe.h:73
#define _ANONYMOUS_UNION
Definition: ntbasedef.h:30
long LONG
Definition: pedump.c:60
Definition: font.h:77
UNICODE_STRING FontNames[FONTSUBST_FROM_AND_TO]
Definition: font.h:79
BYTE CharSets[FONTSUBST_FROM_AND_TO]
Definition: font.h:80
LIST_ENTRY ListEntry
Definition: font.h:78
PUNICODE_STRING pFileName
Definition: font.h:86
PFONT_ENTRY_MEM PrivateEntry
Definition: font.h:92
PSHARED_MEM Memory
Definition: font.h:87
BYTE CharSet
Definition: font.h:91
UNICODE_STRING RegValueName
Definition: font.h:89
BOOL IsTrueType
Definition: font.h:90
DWORD Characteristics
Definition: font.h:88
WORD EmuBoldItalic
Definition: font.h:31
_ANONYMOUS_UNION union _FONT_ASPECT::@5092 DUMMYUNIONNAME
BYTE Italic
Definition: font.h:34
WORD RenderMode
Definition: font.h:37
BYTE Bold
Definition: font.h:33
struct _FONT_ASPECT::@5092::@5093 Emu
Definition: font.h:56
FT_BitmapGlyph BitmapGlyph
Definition: font.h:58
LIST_ENTRY ListEntry
Definition: font.h:57
FONT_CACHE_HASHED Hashed
Definition: font.h:60
DWORD dwHash
Definition: font.h:59
_ANONYMOUS_UNION union _FONT_CACHE_HASHED::@5094 DUMMYUNIONNAME
LONG lfHeight
Definition: font.h:44
LONG lfWidth
Definition: font.h:45
INT GlyphIndex
Definition: font.h:42
FT_Face Face
Definition: font.h:43
FT_Matrix matTransform
Definition: font.h:50
FONT_ASPECT Aspect
Definition: font.h:48
DWORD AspectValue
Definition: font.h:47
Definition: font.h:20
FONT_ENTRY_MEM * Entry
Definition: font.h:23
LIST_ENTRY ListEntry
Definition: font.h:21
HANDLE Handle
Definition: font.h:22
Definition: font.h:14
LIST_ENTRY ListEntry
Definition: font.h:15
FONT_ENTRY * Entry
Definition: font.h:16
Definition: font.h:5
FONTGDI * Font
Definition: font.h:7
UNICODE_STRING StyleName
Definition: font.h:9
BYTE NotEnum
Definition: font.h:10
UNICODE_STRING FaceName
Definition: font.h:8
LIST_ENTRY ListEntry
Definition: font.h:6
Definition: typedefs.h:120
#define FIELD_OFFSET(t, f)
Definition: typedefs.h:255
int32_t INT
Definition: typedefs.h:58
unsigned char BYTE
Definition: xxhash.c:193