2012-04-29 18:52:25 +00:00
|
|
|
//
|
|
|
|
// Font.cpp
|
|
|
|
//
|
|
|
|
// $Id: //poco/Main/PDF/src/Font.cpp#2 $
|
|
|
|
//
|
|
|
|
// Library: PDF
|
|
|
|
// Package: PDFCore
|
|
|
|
// Module: Font
|
|
|
|
//
|
|
|
|
// Copyright (c) 2006, Applied Informatics Software Engineering GmbH.
|
|
|
|
// and Contributors.
|
|
|
|
//
|
2014-05-04 21:02:42 +02:00
|
|
|
// SPDX-License-Identifier: BSL-1.0
|
2012-04-29 18:52:25 +00:00
|
|
|
//
|
|
|
|
|
|
|
|
|
|
|
|
#include "Poco/PDF/Font.h"
|
|
|
|
|
|
|
|
|
|
|
|
namespace Poco {
|
|
|
|
namespace PDF {
|
|
|
|
|
|
|
|
|
|
|
|
Font::Font(HPDF_Doc* pPDF, const HPDF_Font& font):
|
|
|
|
Resource<HPDF_Font>(pPDF, font, HPDF_Font_GetFontName(font))
|
|
|
|
{
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Font::~Font()
|
|
|
|
{
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
} } // namespace Poco::PDF
|