ReactOS 0.4.16-dev-297-gc569aee
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
13typedef struct _CPI_HEADER
14{
21
22 // FIXME: Put it in another struct ??
25
26typedef struct _CPENTRY_HEADER
27{
36
37typedef struct _CPINFO_HEADER
38{
41 USHORT uSize; // uFontSize
43
44typedef struct _SCRFONT_HEADER
45{
51
52#endif
struct _SCRFONT_HEADER SCRFONT_HEADER
struct _CPENTRY_HEADER CPENTRY_HEADER
struct _SCRFONT_HEADER * PSCRFONT_HEADER
struct _CPI_HEADER * PCPI_HEADER
struct _CPINFO_HEADER * PCPINFO_HEADER
struct _CPINFO_HEADER CPINFO_HEADER
struct _CPENTRY_HEADER * PCPENTRY_HEADER
struct _CPI_HEADER CPI_HEADER
unsigned short USHORT
Definition: pedump.c:61
UCHAR uDeviceName[8]
Definition: cpi.h:31
UCHAR uReserved[6]
Definition: cpi.h:33
USHORT uDeviceType
Definition: cpi.h:30
ULONG uNextCPEHOffset
Definition: cpi.h:29
ULONG uCPIHOffset
Definition: cpi.h:34
USHORT uHdrSize
Definition: cpi.h:28
USHORT uCodePage
Definition: cpi.h:32
USHORT uNumFonts
Definition: cpi.h:40
USHORT uVersion
Definition: cpi.h:39
USHORT uSize
Definition: cpi.h:41
UCHAR uId0
Definition: cpi.h:15
USHORT uNumPtr
Definition: cpi.h:18
ULONG uFntInfoHdrOffset
Definition: cpi.h:20
UCHAR uPtrType
Definition: cpi.h:19
USHORT uNumCodePages
Definition: cpi.h:23
UCHAR uId[7]
Definition: cpi.h:16
UCHAR uReserved[8]
Definition: cpi.h:17
USHORT uReserved
Definition: cpi.h:48
USHORT uNumChars
Definition: cpi.h:49
UCHAR uWidth
Definition: cpi.h:47
UCHAR uHeight
Definition: cpi.h:46
uint32_t ULONG
Definition: typedefs.h:59
unsigned char UCHAR
Definition: xmlstorage.h:181