forked from xt-sys/exectos
37 lines
779 B
C
37 lines
779 B
C
/**
|
|
* PROJECT: ExectOS
|
|
* COPYRIGHT: See COPYING.md in the top level directory
|
|
* FILE: sdk/xtdk/xtfont.h
|
|
* DESCRIPTION: XT framebuffer native font
|
|
* DEVELOPERS: Rafal Kupiec <belliash@codingworkshop.eu.org>
|
|
*/
|
|
|
|
#ifndef __XTDK_XTFONT_H
|
|
#define __XTDK_XTFONT_H
|
|
|
|
#include <xttypes.h>
|
|
#include <xtdefs.h>
|
|
|
|
|
|
/* SSF2 font header */
|
|
typedef struct _SSFN_FONT_HEADER
|
|
{
|
|
UCHAR Magic[4];
|
|
UINT Size;
|
|
UCHAR Type;
|
|
UCHAR Features;
|
|
UCHAR Width;
|
|
UCHAR Height;
|
|
UCHAR Baseline;
|
|
UCHAR Underline;
|
|
USHORT FragmentsOffset;
|
|
UINT CharactersOffset;
|
|
UINT LigatureOffset;
|
|
UINT KerningOffset;
|
|
UINT ColorMapOffset;
|
|
} SSFN_FONT_HEADER, *PSSFN_FONT_HEADER;
|
|
|
|
extern UCHAR XtFbDefaultFont[];
|
|
|
|
#endif /* __XTDK_XTFONT_H */
|