2 ******************************************************************************
3 * Copyright (C) 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-2003, International Business Machines Corporation and *
8 * others. All Rights Reserved. *
9 ******************************************************************************
12 #ifndef __GDIFONTMAP_H
13 #define __GDIFONTMAP_H
17 #include "unicode/uscript.h"
19 #include "layout/LETypes.h"
20 #include "layout/LEFontInstance.h"
23 #include "GUISupport.h"
24 #include "GDIFontInstance.h"
26 #define BUFFER_SIZE 128
28 class GDIFontMap : public FontMap
31 GDIFontMap(GDISurface *surface, const char *fileName, le_int16 pointSize, GUISupport *guiSupport, LEErrorCode &status);
33 virtual ~GDIFontMap();
36 virtual const LEFontInstance *openFont(const char *fontName, le_int16 pointSize, LEErrorCode &status);