]>
git.saurik.com Git - apple/icu.git/blob - icuSources/samples/layout/GnomeFontMap.h
2 *******************************************************************************
3 * © 2016 and later: Unicode, Inc. and others.
4 * License & terms of use: http://www.unicode.org/copyright.html#License
5 *******************************************************************************
6 ******************************************************************************
7 * Copyright (C) 1998-2006, International Business Machines Corporation and *
8 * others. All Rights Reserved. *
9 ******************************************************************************
12 #ifndef __GNOMEFONTMAP_H
13 #define __GNOMEFONTMAP_H
16 #include FT_FREETYPE_H
18 #include "unicode/uscript.h"
20 #include "layout/LETypes.h"
21 #include "layout/LEFontInstance.h"
23 #include "GUISupport.h"
26 #define BUFFER_SIZE 128
28 class GnomeFontMap
: public FontMap
31 GnomeFontMap(FT_Library engine
, const char *fileName
, le_int16 pointSize
, GUISupport
*guiSupport
, LEErrorCode
&status
);
33 virtual ~GnomeFontMap();
36 virtual const LEFontInstance
*openFont(const char *fontName
, le_int16 pointSize
, LEErrorCode
&status
);