Commit e512cd18 authored by Albert Astals Cid's avatar Albert Astals Cid

Add FontInfo::getType()

parent 8aeb5205
2005-06-28 Albert Astals Cid <aacid@kde.org>
* poppler/FontInfo.[cc,h]: Add FontInfo::getType()
2005-06-28 Albert Astals Cid <aacid@kde.org>
* poppler/ArthurOutputDev.cc: use transformation matrix for image
rendering
......
......@@ -162,6 +162,9 @@ FontInfo::FontInfo(GfxFont *font, PDFDoc *doc) {
} else {
name = NULL;
}
// font type
type = new GooString(fontTypeNames[font->getType()]);
// check for an embedded font
if (font->getType() == fontType3) {
......@@ -201,4 +204,5 @@ FontInfo::FontInfo(FontInfo& f) {
FontInfo::~FontInfo() {
delete name;
delete type;
}
......@@ -15,12 +15,14 @@ public:
~FontInfo();
GooString *getName() { return name; };
GooString *getType() { return type; };
GBool getEmbedded() { return emb; };
GBool getSubset() { return subset; };
GBool getToUnicode() { return hasToUnicode; };
private:
GooString *name;
GooString *type;
GBool emb;
GBool subset;
GBool hasToUnicode;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment