ReactOS  0.4.15-dev-1384-g878186b
cpi.h
Go to the documentation of this file.
1 /*
2  * PROJECT: ReactOS VGA Font Editor
3  * LICENSE: GPL-2.0+ (https://spdx.org/licenses/GPL-2.0+)
4  * PURPOSE: CPI (Code Page Information) MS-DOS-compatible Fonts
5  * We support only screen fonts, not printer fonts.
6  * No DR-DOS/Novell-DOS compressed font format support.
7  * COPYRIGHT: Copyright 2014 Hermes Belusca-Maito (hermes.belusca@sfr.fr)
8  */
9 
10 #ifndef __CPI_H
11 #define __CPI_H
12 
13 typedef struct _CPI_HEADER
14 {
16  UCHAR uId[7];
21 
22  // FIXME: Put it in another struct ??
25 
26 typedef struct _CPENTRY_HEADER
27 {
36 
37 typedef struct _CPINFO_HEADER
38 {
41  USHORT uSize; // uFontSize
43 
44 typedef struct _SCRFONT_HEADER
45 {
51 
52 #endif
struct _CPINFO_HEADER CPINFO_HEADER
ULONG uFntInfoHdrOffset
Definition: cpi.h:20
USHORT uDeviceType
Definition: cpi.h:30
UCHAR uHeight
Definition: cpi.h:46
struct _SCRFONT_HEADER SCRFONT_HEADER
UCHAR uId0
Definition: cpi.h:15
UCHAR uDeviceName[8]
Definition: cpi.h:31
USHORT uHdrSize
Definition: cpi.h:28
USHORT uNumChars
Definition: cpi.h:49
ULONG uCPIHOffset
Definition: cpi.h:34
UCHAR uReserved[8]
Definition: cpi.h:17
UCHAR uId[7]
Definition: cpi.h:16
struct _CPINFO_HEADER * PCPINFO_HEADER
ULONG uNextCPEHOffset
Definition: cpi.h:29
USHORT uSize
Definition: cpi.h:41
USHORT uNumFonts
Definition: cpi.h:40
struct _CPENTRY_HEADER * PCPENTRY_HEADER
UCHAR uPtrType
Definition: cpi.h:19
UCHAR uWidth
Definition: cpi.h:47
unsigned char UCHAR
Definition: xmlstorage.h:181
unsigned short USHORT
Definition: pedump.c:61
UCHAR uReserved[6]
Definition: cpi.h:33
USHORT uCodePage
Definition: cpi.h:32
USHORT uNumPtr
Definition: cpi.h:18
USHORT uNumCodePages
Definition: cpi.h:23
struct _CPI_HEADER * PCPI_HEADER
unsigned int ULONG
Definition: retypes.h:1
struct _SCRFONT_HEADER * PSCRFONT_HEADER
struct _CPI_HEADER CPI_HEADER
struct _CPENTRY_HEADER CPENTRY_HEADER
USHORT uReserved
Definition: cpi.h:48
USHORT uVersion
Definition: cpi.h:39