mirror of
https://github.com/reactos/reactos.git
synced 2024-11-18 21:13:52 +00:00
55da9b9c07
CORE-14044 Symptom "Installing MS Tahoma did not longer replace Tahoma.ttf, just Tahomabd.ttf" It regressed by SVN r73900 == gitd5f4f99b0e
Thanks to Doug Lyons for pinpointing the issue. fix picked from commit 0.4.11-dev-311-g3d44f79e3e
65 lines
1.4 KiB
C
65 lines
1.4 KiB
C
#pragma once
|
|
|
|
|
|
typedef struct _FONT_ENTRY
|
|
{
|
|
LIST_ENTRY ListEntry;
|
|
FONTGDI *Font;
|
|
UNICODE_STRING FaceName;
|
|
UNICODE_STRING StyleName;
|
|
BYTE NotEnum;
|
|
} FONT_ENTRY, *PFONT_ENTRY;
|
|
|
|
typedef struct _FONT_ENTRY_MEM
|
|
{
|
|
LIST_ENTRY ListEntry;
|
|
FONT_ENTRY *Entry;
|
|
} FONT_ENTRY_MEM, *PFONT_ENTRY_MEM;
|
|
|
|
typedef struct _FONT_ENTRY_COLL_MEM
|
|
{
|
|
LIST_ENTRY ListEntry;
|
|
HANDLE Handle;
|
|
FONT_ENTRY_MEM *Entry;
|
|
} FONT_ENTRY_COLL_MEM, *PFONT_ENTRY_COLL_MEM;
|
|
|
|
typedef struct _FONT_CACHE_ENTRY
|
|
{
|
|
LIST_ENTRY ListEntry;
|
|
int GlyphIndex;
|
|
FT_Face Face;
|
|
FT_BitmapGlyph BitmapGlyph;
|
|
int Height;
|
|
FT_Render_Mode RenderMode;
|
|
MATRIX mxWorldToDevice;
|
|
} FONT_CACHE_ENTRY, *PFONT_CACHE_ENTRY;
|
|
|
|
|
|
/*
|
|
* FONTSUBST_... --- constants for font substitutes
|
|
*/
|
|
#define FONTSUBST_FROM 0
|
|
#define FONTSUBST_TO 1
|
|
#define FONTSUBST_FROM_AND_TO 2
|
|
|
|
/*
|
|
* FONTSUBST_ENTRY --- font substitute entry
|
|
*/
|
|
typedef struct FONTSUBST_ENTRY
|
|
{
|
|
LIST_ENTRY ListEntry;
|
|
UNICODE_STRING FontNames[FONTSUBST_FROM_AND_TO];
|
|
BYTE CharSets[FONTSUBST_FROM_AND_TO];
|
|
} FONTSUBST_ENTRY, *PFONTSUBST_ENTRY;
|
|
|
|
|
|
typedef struct GDI_LOAD_FONT
|
|
{
|
|
PUNICODE_STRING pFileName;
|
|
PSHARED_MEM Memory;
|
|
DWORD Characteristics;
|
|
UNICODE_STRING RegValueName;
|
|
BOOL IsTrueType;
|
|
PFONT_ENTRY_MEM PrivateEntry;
|
|
} GDI_LOAD_FONT, *PGDI_LOAD_FONT;
|
|
|