]>
git.saurik.com Git - apple/icu.git/blob - icuSources/samples/layout/GnomeFontMap.h
2 ******************************************************************************
3 * Copyright (C) 1998-2003, International Business Machines Corporation and *
4 * others. All Rights Reserved. *
5 ******************************************************************************
8 #ifndef __GNOMEFONTMAP_H
9 #define __GNOMEFONTMAP_H
11 #include "freetype/freetype.h"
13 #include "unicode/uscript.h"
15 #include "layout/LETypes.h"
16 #include "layout/LEFontInstance.h"
18 #include "GUISupport.h"
21 #define BUFFER_SIZE 128
23 class GnomeFontMap
: public FontMap
26 GnomeFontMap(TT_Engine engine
, const char *fileName
, le_int16 pointSize
, GUISupport
*guiSupport
, LEErrorCode
&status
);
28 virtual ~GnomeFontMap();
31 virtual const LEFontInstance
*openFont(const char *fontName
, le_int16 pointSize
, LEErrorCode
&status
);