ReactOS  0.4.13-dev-92-gf251225
prntfont.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  _UNIFM_HDR
 
struct  _INVOC
 
struct  _UNIDRVINFO
 
struct  _EXTTEXTMETRIC
 
struct  _WIDTHRUN
 
struct  _WIDTHTABLE
 
struct  _KERNDATA
 
struct  _UNI_GLYPHSETDATA
 
struct  _UNI_CODEPAGEINFO
 
struct  _GLYPHRUN
 
struct  _TRANSDATA
 
struct  _MAPTABLE
 
struct  _UFF_FILEHEADER
 
struct  _UFF_FONTDIRECTORY
 
struct  _DATA_HEADER
 
struct  _OEMFONTINSTPARAM
 

Macros

#define UNIFM_VERSION_1_0   0x10000
 
#define UNI_GLYPHSETDATA_VERSION_1_0   0x10000
 
#define UFM_SOFT   1
 
#define UFM_CART   2
 
#define UFM_SCALABLE   4
 
#define DF_TYPE_HPINTELLIFONT   0
 
#define DF_TYPE_TRUETYPE   1
 
#define DF_TYPE_PST1   2
 
#define DF_TYPE_CAPSL   3
 
#define DF_TYPE_OEM1   4
 
#define DF_TYPE_OEM2   5
 
#define DF_NOITALIC   1
 
#define DF_NOUNDER   2
 
#define DF_XM_CR   4
 
#define DF_NO_BOLD   8
 
#define DF_NO_DOUBLE_UNDERLINE   16
 
#define DF_NO_STRIKETHRU   32
 
#define DF_BKSP_OK   64
 
#define MTYPE_COMPOSE   1
 
#define MTYPE_DIRECT   2
 
#define MTYPE_PAIRED   4
 
#define MTYPE_FORMAT_MASK   7
 
#define MTYPE_SINGLE   8
 
#define MTYPE_DOUBLE   16
 
#define MTYPE_DOUBLEBYTECHAR_MASK   24
 
#define MTYPE_REPLACE   32
 
#define MTYPE_ADD   64
 
#define MTYPE_DISABLE   128
 
#define MTYPE_PREDEFIN_MASK   192
 
#define CC_NOPRECNV   0x0000FFFF
 
#define CC_DEFAULT   0
 
#define CC_CP437   -1
 
#define CC_CP850   -2
 
#define CC_CP863   -3
 
#define CC_BIG5   -10
 
#define CC_ISC   -11
 
#define CC_JIS   -12
 
#define CC_JIS_ANK   -13
 
#define CC_NS86   -14
 
#define CC_TCA   -15
 
#define CC_GB2312   -16
 
#define CC_SJIS   -17
 
#define CC_WANSUNG   -18
 
#define UFF_FILE_MAGIC   'UFF1'
 
#define UFF_VERSION_NUMBER   0x10001
 
#define FONT_DIR_SORTED   1
 
#define FONT_REC_SIG   'CERF'
 
#define WINNT_INSTALLER_SIG   'IFTN'
 
#define FONT_FL_UFM   0x0001
 
#define FONT_FL_IFI   0x0002
 
#define FONT_FL_SOFTFONT   0x0004
 
#define FONT_FL_PERMANENT_SF   0x0008
 
#define FONT_FL_DEVICEFONT   0x0010
 
#define FONT_FL_GLYPHSET_GTT   0x0020
 
#define FONT_FL_GLYPHSET_RLE   0x0040
 
#define FONT_FL_RESERVED   0x8000
 
#define DATA_UFM_SIG   'MFUD'
 
#define DATA_IFI_SIG   'IFID'
 
#define DATA_GTT_SIG   'TTGD'
 
#define DATA_CTT_SIG   'TTCD'
 
#define DATA_VAR_SIG   'RAVD'
 
#define FG_CANCHANGE   128
 
#define WM_FI_FILENAME   900
 
#define GET_UNIDRVINFO(pUFM)   ((PUNIDRVINFO)((ULONG_PTR)(pUFM) + (pUFM)->loUnidrvInfo))
 
#define GET_IFIMETRICS(pUFM)   ((IFIMETRICS*)((ULONG_PTR)(pUFM) + (pUFM)->loIFIMetrics))
 
#define GET_EXTTEXTMETRIC(pUFM)   ((EXTTEXTMETRIC*)((ULONG_PTR)(pUFM) + (pUFM)->loExtTextMetric))
 
#define GET_WIDTHTABLE(pUFM)   ((PWIDTHTABLE)((ULONG_PTR)(pUFM) + (pUFM)->loWidthTable))
 
#define GET_KERNDATA(pUFM)   ((PKERNDATA)((ULONG_PTR)(pUFM) + (pUFM)->loKernPair))
 
#define GET_SELECT_CMD(pUni)   ((PCHAR)(pUni) + (pUni)->SelectFont.loOffset)
 
#define GET_UNSELECT_CMD(pUni)   ((PCHAR)(pUni) + (pUni)->UnSelectFont.loOffset)
 
#define GET_GLYPHRUN(pGTT)   ((PGLYPHRUN)((ULONG_PTR)(pGTT) + ((PUNI_GLYPHSETDATA)pGTT)->loRunOffset))
 
#define GET_CODEPAGEINFO(pGTT)   ((PUNI_CODEPAGEINFO)((ULONG_PTR)(pGTT) + ((PUNI_GLYPHSETDATA)pGTT)->loCodePageOffset))
 
#define GET_MAPTABLE(pGTT)   ((PMAPTABLE)((ULONG_PTR)(pGTT) + ((PUNI_GLYPHSETDATA)pGTT)->loMapTableOffset))
 

Typedefs

typedef struct _UNIFM_HDR UNIFM_HDR
 
typedef struct _UNIFM_HDRPUNIFM_HDR
 
typedef struct _INVOC INVOC
 
typedef struct _INVOCPINVOC
 
typedef struct _UNIDRVINFO UNIDRVINFO
 
typedef struct _UNIDRVINFOPUNIDRVINFO
 
typedef struct _EXTTEXTMETRIC EXTTEXTMETRIC
 
typedef struct _EXTTEXTMETRICPEXTTEXTMETRIC
 
typedef struct _WIDTHRUN WIDTHRUN
 
typedef struct _WIDTHRUNPWIDTHRUN
 
typedef struct _WIDTHTABLE WIDTHTABLE
 
typedef struct _WIDTHTABLEPWIDTHTABLE
 
typedef struct _KERNDATA KERNDATA
 
typedef struct _KERNDATAPKERNDATA
 
typedef struct _UNI_GLYPHSETDATA UNI_GLYPHSETDATA
 
typedef struct _UNI_GLYPHSETDATAPUNI_GLYPHSETDATA
 
typedef struct _UNI_CODEPAGEINFO UNI_CODEPAGEINFO
 
typedef struct _UNI_CODEPAGEINFOPUNI_CODEPAGEINFO
 
typedef struct _GLYPHRUN GLYPHRUN
 
typedef struct _GLYPHRUNPGLYPHRUN
 
typedef struct _TRANSDATA TRANSDATA
 
typedef struct _TRANSDATAPTRANSDATA
 
typedef struct _MAPTABLE MAPTABLE
 
typedef struct _MAPTABLEPMAPTABLE
 
typedef struct _UFF_FILEHEADER UFF_FILEHEADER
 
typedef struct _UFF_FILEHEADERPUFF_FILEHEADER
 
typedef struct _UFF_FONTDIRECTORY UFF_FONTDIRECTORY
 
typedef struct _UFF_FONTDIRECTORYPUFF_FONTDIRECTORY
 
typedef struct _DATA_HEADER DATA_HEADER
 
typedef struct _DATA_HEADERPDATA_HEADER
 
typedef struct _OEMFONTINSTPARAM OEMFONTINSTPARAM
 
typedef struct _OEMFONTINSTPARAMPOEMFONTINSTPARAM
 

Macro Definition Documentation

◆ CC_BIG5

#define CC_BIG5   -10

Definition at line 64 of file prntfont.h.

◆ CC_CP437

#define CC_CP437   -1

Definition at line 61 of file prntfont.h.

◆ CC_CP850

#define CC_CP850   -2

Definition at line 62 of file prntfont.h.

◆ CC_CP863

#define CC_CP863   -3

Definition at line 63 of file prntfont.h.

◆ CC_DEFAULT

#define CC_DEFAULT   0

Definition at line 60 of file prntfont.h.

◆ CC_GB2312

#define CC_GB2312   -16

Definition at line 70 of file prntfont.h.

◆ CC_ISC

#define CC_ISC   -11

Definition at line 65 of file prntfont.h.

◆ CC_JIS

#define CC_JIS   -12

Definition at line 66 of file prntfont.h.

◆ CC_JIS_ANK

#define CC_JIS_ANK   -13

Definition at line 67 of file prntfont.h.

◆ CC_NOPRECNV

#define CC_NOPRECNV   0x0000FFFF

Definition at line 59 of file prntfont.h.

◆ CC_NS86

#define CC_NS86   -14

Definition at line 68 of file prntfont.h.

◆ CC_SJIS

#define CC_SJIS   -17

Definition at line 71 of file prntfont.h.

◆ CC_TCA

#define CC_TCA   -15

Definition at line 69 of file prntfont.h.

◆ CC_WANSUNG

#define CC_WANSUNG   -18

Definition at line 72 of file prntfont.h.

◆ DATA_CTT_SIG

#define DATA_CTT_SIG   'TTCD'

Definition at line 92 of file prntfont.h.

◆ DATA_GTT_SIG

#define DATA_GTT_SIG   'TTGD'

Definition at line 91 of file prntfont.h.

◆ DATA_IFI_SIG

#define DATA_IFI_SIG   'IFID'

Definition at line 90 of file prntfont.h.

◆ DATA_UFM_SIG

#define DATA_UFM_SIG   'MFUD'

Definition at line 89 of file prntfont.h.

◆ DATA_VAR_SIG

#define DATA_VAR_SIG   'RAVD'

Definition at line 93 of file prntfont.h.

◆ DF_BKSP_OK

#define DF_BKSP_OK   64

Definition at line 45 of file prntfont.h.

◆ DF_NO_BOLD

#define DF_NO_BOLD   8

Definition at line 42 of file prntfont.h.

◆ DF_NO_DOUBLE_UNDERLINE

#define DF_NO_DOUBLE_UNDERLINE   16

Definition at line 43 of file prntfont.h.

◆ DF_NO_STRIKETHRU

#define DF_NO_STRIKETHRU   32

Definition at line 44 of file prntfont.h.

◆ DF_NOITALIC

#define DF_NOITALIC   1

Definition at line 39 of file prntfont.h.

◆ DF_NOUNDER

#define DF_NOUNDER   2

Definition at line 40 of file prntfont.h.

◆ DF_TYPE_CAPSL

#define DF_TYPE_CAPSL   3

Definition at line 36 of file prntfont.h.

◆ DF_TYPE_HPINTELLIFONT

#define DF_TYPE_HPINTELLIFONT   0

Definition at line 33 of file prntfont.h.

◆ DF_TYPE_OEM1

#define DF_TYPE_OEM1   4

Definition at line 37 of file prntfont.h.

◆ DF_TYPE_OEM2

#define DF_TYPE_OEM2   5

Definition at line 38 of file prntfont.h.

◆ DF_TYPE_PST1

#define DF_TYPE_PST1   2

Definition at line 35 of file prntfont.h.

◆ DF_TYPE_TRUETYPE

#define DF_TYPE_TRUETYPE   1

Definition at line 34 of file prntfont.h.

◆ DF_XM_CR

#define DF_XM_CR   4

Definition at line 41 of file prntfont.h.

◆ FG_CANCHANGE

#define FG_CANCHANGE   128

Definition at line 95 of file prntfont.h.

◆ FONT_DIR_SORTED

#define FONT_DIR_SORTED   1

Definition at line 76 of file prntfont.h.

◆ FONT_FL_DEVICEFONT

#define FONT_FL_DEVICEFONT   0x0010

Definition at line 84 of file prntfont.h.

◆ FONT_FL_GLYPHSET_GTT

#define FONT_FL_GLYPHSET_GTT   0x0020

Definition at line 85 of file prntfont.h.

◆ FONT_FL_GLYPHSET_RLE

#define FONT_FL_GLYPHSET_RLE   0x0040

Definition at line 86 of file prntfont.h.

◆ FONT_FL_IFI

#define FONT_FL_IFI   0x0002

Definition at line 81 of file prntfont.h.

◆ FONT_FL_PERMANENT_SF

#define FONT_FL_PERMANENT_SF   0x0008

Definition at line 83 of file prntfont.h.

◆ FONT_FL_RESERVED

#define FONT_FL_RESERVED   0x8000

Definition at line 87 of file prntfont.h.

◆ FONT_FL_SOFTFONT

#define FONT_FL_SOFTFONT   0x0004

Definition at line 82 of file prntfont.h.

◆ FONT_FL_UFM

#define FONT_FL_UFM   0x0001

Definition at line 80 of file prntfont.h.

◆ FONT_REC_SIG

#define FONT_REC_SIG   'CERF'

Definition at line 77 of file prntfont.h.

◆ GET_CODEPAGEINFO

#define GET_CODEPAGEINFO (   pGTT)    ((PUNI_CODEPAGEINFO)((ULONG_PTR)(pGTT) + ((PUNI_GLYPHSETDATA)pGTT)->loCodePageOffset))

Definition at line 106 of file prntfont.h.

◆ GET_EXTTEXTMETRIC

#define GET_EXTTEXTMETRIC (   pUFM)    ((EXTTEXTMETRIC*)((ULONG_PTR)(pUFM) + (pUFM)->loExtTextMetric))

Definition at line 100 of file prntfont.h.

◆ GET_GLYPHRUN

#define GET_GLYPHRUN (   pGTT)    ((PGLYPHRUN)((ULONG_PTR)(pGTT) + ((PUNI_GLYPHSETDATA)pGTT)->loRunOffset))

Definition at line 105 of file prntfont.h.

◆ GET_IFIMETRICS

#define GET_IFIMETRICS (   pUFM)    ((IFIMETRICS*)((ULONG_PTR)(pUFM) + (pUFM)->loIFIMetrics))

Definition at line 99 of file prntfont.h.

◆ GET_KERNDATA

#define GET_KERNDATA (   pUFM)    ((PKERNDATA)((ULONG_PTR)(pUFM) + (pUFM)->loKernPair))

Definition at line 102 of file prntfont.h.

◆ GET_MAPTABLE

#define GET_MAPTABLE (   pGTT)    ((PMAPTABLE)((ULONG_PTR)(pGTT) + ((PUNI_GLYPHSETDATA)pGTT)->loMapTableOffset))

Definition at line 107 of file prntfont.h.

◆ GET_SELECT_CMD

#define GET_SELECT_CMD (   pUni)    ((PCHAR)(pUni) + (pUni)->SelectFont.loOffset)

Definition at line 103 of file prntfont.h.

◆ GET_UNIDRVINFO

#define GET_UNIDRVINFO (   pUFM)    ((PUNIDRVINFO)((ULONG_PTR)(pUFM) + (pUFM)->loUnidrvInfo))

Definition at line 98 of file prntfont.h.

◆ GET_UNSELECT_CMD

#define GET_UNSELECT_CMD (   pUni)    ((PCHAR)(pUni) + (pUni)->UnSelectFont.loOffset)

Definition at line 104 of file prntfont.h.

◆ GET_WIDTHTABLE

#define GET_WIDTHTABLE (   pUFM)    ((PWIDTHTABLE)((ULONG_PTR)(pUFM) + (pUFM)->loWidthTable))

Definition at line 101 of file prntfont.h.

◆ MTYPE_ADD

#define MTYPE_ADD   64

Definition at line 55 of file prntfont.h.

◆ MTYPE_COMPOSE

#define MTYPE_COMPOSE   1

Definition at line 47 of file prntfont.h.

◆ MTYPE_DIRECT

#define MTYPE_DIRECT   2

Definition at line 48 of file prntfont.h.

◆ MTYPE_DISABLE

#define MTYPE_DISABLE   128

Definition at line 56 of file prntfont.h.

◆ MTYPE_DOUBLE

#define MTYPE_DOUBLE   16

Definition at line 52 of file prntfont.h.

◆ MTYPE_DOUBLEBYTECHAR_MASK

#define MTYPE_DOUBLEBYTECHAR_MASK   24

Definition at line 53 of file prntfont.h.

◆ MTYPE_FORMAT_MASK

#define MTYPE_FORMAT_MASK   7

Definition at line 50 of file prntfont.h.

◆ MTYPE_PAIRED

#define MTYPE_PAIRED   4

Definition at line 49 of file prntfont.h.

◆ MTYPE_PREDEFIN_MASK

#define MTYPE_PREDEFIN_MASK   192

Definition at line 57 of file prntfont.h.

◆ MTYPE_REPLACE

#define MTYPE_REPLACE   32

Definition at line 54 of file prntfont.h.

◆ MTYPE_SINGLE

#define MTYPE_SINGLE   8

Definition at line 51 of file prntfont.h.

◆ UFF_FILE_MAGIC

#define UFF_FILE_MAGIC   'UFF1'

Definition at line 74 of file prntfont.h.

◆ UFF_VERSION_NUMBER

#define UFF_VERSION_NUMBER   0x10001

Definition at line 75 of file prntfont.h.

◆ UFM_CART

#define UFM_CART   2

Definition at line 30 of file prntfont.h.

◆ UFM_SCALABLE

#define UFM_SCALABLE   4

Definition at line 31 of file prntfont.h.

◆ UFM_SOFT

#define UFM_SOFT   1

Definition at line 29 of file prntfont.h.

◆ UNI_GLYPHSETDATA_VERSION_1_0

#define UNI_GLYPHSETDATA_VERSION_1_0   0x10000

Definition at line 27 of file prntfont.h.

◆ UNIFM_VERSION_1_0

#define UNIFM_VERSION_1_0   0x10000

Definition at line 26 of file prntfont.h.

◆ WINNT_INSTALLER_SIG

#define WINNT_INSTALLER_SIG   'IFTN'

Definition at line 78 of file prntfont.h.

◆ WM_FI_FILENAME

#define WM_FI_FILENAME   900

Definition at line 96 of file prntfont.h.

Typedef Documentation

◆ DATA_HEADER

◆ EXTTEXTMETRIC

◆ GLYPHRUN

◆ INVOC

typedef struct _INVOC INVOC

◆ KERNDATA

◆ MAPTABLE

◆ OEMFONTINSTPARAM

◆ PDATA_HEADER

◆ PEXTTEXTMETRIC

◆ PGLYPHRUN

◆ PINVOC

typedef struct _INVOC * PINVOC

◆ PKERNDATA

◆ PMAPTABLE

◆ POEMFONTINSTPARAM

◆ PTRANSDATA

◆ PUFF_FILEHEADER

◆ PUFF_FONTDIRECTORY

◆ PUNI_CODEPAGEINFO

◆ PUNI_GLYPHSETDATA

◆ PUNIDRVINFO

◆ PUNIFM_HDR

◆ PWIDTHRUN

◆ PWIDTHTABLE

◆ TRANSDATA

◆ UFF_FILEHEADER

◆ UFF_FONTDIRECTORY

◆ UNI_CODEPAGEINFO

◆ UNI_GLYPHSETDATA

◆ UNIDRVINFO

◆ UNIFM_HDR

◆ WIDTHRUN

◆ WIDTHTABLE