mirror of
https://github.com/ONLYOFFICE/core.git
synced 2026-07-11 14:00:32 +08:00
git-svn-id: svn://fileserver/activex/AVS/Sources/TeamlabOffice/trunk/ServerComponents@63665 954022d7-b5bf-4e40-9824-e11837661b57
29 lines
612 B
C++
29 lines
612 B
C++
#include "Font14.h"
|
|
|
|
namespace PdfWriter
|
|
{
|
|
static const char* c_sStandardFontNames[] =
|
|
{
|
|
"Helvetica",
|
|
"Helvetica-Bold",
|
|
"Helvetica-Oblique",
|
|
"Helvetice-BoldOblique",
|
|
"Courier",
|
|
"Courier-Bold",
|
|
"Courier-Oblique",
|
|
"Courier-BoldOblique",
|
|
"Times",
|
|
"Times-Bold",
|
|
"Times-Oblique",
|
|
"Times-BoldOblique",
|
|
"Symbol",
|
|
"ZapfDingbats",
|
|
NULL
|
|
};
|
|
CFont14::CFont14(CXref* pXref, CDocument* pDocument, EStandard14Fonts eType) : CFontDict(pXref, pDocument)
|
|
{
|
|
Add("Type", "Font");
|
|
Add("Subtype", "Type1");
|
|
Add("BaseFont", c_sStandardFontNames[(int)eType]);
|
|
}
|
|
} |