]>
git.saurik.com Git - apple/icu.git/blob - icuSources/samples/layout/GnomeFontMap.h
2 ******************************************************************************
3 * Copyright (C) 1998-2006, International Business Machines Corporation and *
4 * others. All Rights Reserved. *
5 ******************************************************************************
8 #ifndef __GNOMEFONTMAP_H
9 #define __GNOMEFONTMAP_H
12 #include FT_FREETYPE_H
14 #include "unicode/uscript.h"
16 #include "layout/LETypes.h"
17 #include "layout/LEFontInstance.h"
19 #include "GUISupport.h"
22 #define BUFFER_SIZE 128
24 class GnomeFontMap
: public FontMap
27 GnomeFontMap(FT_Library engine
, const char *fileName
, le_int16 pointSize
, GUISupport
*guiSupport
, LEErrorCode
&status
);
29 virtual ~GnomeFontMap();
32 virtual const LEFontInstance
*openFont(const char *fontName
, le_int16 pointSize
, LEErrorCode
&status
);