2
******************************************************************************
3
* Copyright (C) 1998-2001, International Business Machines Corporation and *
4
* others. All Rights Reserved. *
5
******************************************************************************
10
#include "RenderingFontInstance.h"
11
#include "GDIFontInstance.h"
13
#include "GUISupport.h"
15
#include "GDIFontMap.h"
17
GDIFontMap::GDIFontMap(HDC hdc, const char *fileName, le_int16 pointSize, GUISupport *guiSupport, RFIErrorCode &status)
18
: FontMap(fileName, pointSize, guiSupport, status), fHdc(hdc)
23
GDIFontMap::~GDIFontMap()
28
const RenderingFontInstance *GDIFontMap::openFont(const char *fontName, le_int16 pointSize, RFIErrorCode &status)
30
return new GDIFontInstance(fHdc, fontName, pointSize, status);