XenevaOS
Loading...
Searching...
No Matches
ftmngr.h
Go to the documentation of this file.
1
30#ifndef __FTMNGR_H__
31#define __FTMNGR_H__
32
33#include <stdint.h>
34#include <string.h>
35#include <Mm\shm.h>
36/*
37 * ftmngr -- font manager for aurora kernel, loads
38 * true type fonts from font.conf file
39 */
40
41//#pragma pack(push,1)
49//#pragma pack(pop)
50
51/*
52* FontManagerInitialise -- initialise
53* font manager
54*/
55extern void FontManagerInitialise();
56
57/*
58* some system call
59*/
60extern int AuFTMngrGetFontID(char* fontname);
61
62/*
63* AuFTMngrGetNumFonts -- return number
64* system fonts installed
65*/
66extern int AuFTMngrGetNumFonts();
67
68/*
69* AuFTMngrGetFontSize -- returns font size
70* @param fontname -- name of the font
71*/
72extern int AuFTMngrGetFontSize(char* fontname);
73
74#endif
unsigned int uint32_t
Definition acefiex.h:163
int AuFTMngrGetNumFonts()
AuFTMngrGetNumFonts – return number system fonts installed.
Definition ftmngr.cpp:275
int AuFTMngrGetFontSize(char *fontname)
AuFTMngrGetFontSize – returns font size.
Definition ftmngr.cpp:262
void FontManagerInitialise()
FontManagerInitialise – initialise font manager.
Definition ftmngr.cpp:210
struct _font_seg_ FontSeg
int AuFTMngrGetFontID(char *fontname)
AuFTMngrGetFontID – returns the font id of given font name.
Definition ftmngr.cpp:247
Definition ftmngr.h:42
AuSHM * sharedSeg
Definition ftmngr.h:44
char fontname[32]
Definition ftmngr.h:43
uint32_t fontFileSz
Definition ftmngr.h:45
struct _font_seg_ * next
Definition ftmngr.h:46
struct _font_seg_ * prev
Definition ftmngr.h:47
Definition shm.h:42