summaryrefslogtreecommitdiff
path: root/Build/source/libs/xpdf/xpdf-src/xpdf/GfxFont.h
diff options
context:
space:
mode:
authorAkira Kakuto <kakuto@fuk.kindai.ac.jp>2022-04-24 03:42:26 +0000
committerAkira Kakuto <kakuto@fuk.kindai.ac.jp>2022-04-24 03:42:26 +0000
commitd743821ec3b71e00af5dc5541d4e7bf5b003c55e (patch)
tree8145068541ec45af3c223f5a35891d02e4adf273 /Build/source/libs/xpdf/xpdf-src/xpdf/GfxFont.h
parentd0ce904282bf50ad444cf1ff7df7edd12a3b5a70 (diff)
xpdf 4.04
git-svn-id: svn://tug.org/texlive/trunk@63119 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/libs/xpdf/xpdf-src/xpdf/GfxFont.h')
-rw-r--r--Build/source/libs/xpdf/xpdf-src/xpdf/GfxFont.h11
1 files changed, 9 insertions, 2 deletions
diff --git a/Build/source/libs/xpdf/xpdf-src/xpdf/GfxFont.h b/Build/source/libs/xpdf/xpdf-src/xpdf/GfxFont.h
index ded34bc1ee7..e752ded62f8 100644
--- a/Build/source/libs/xpdf/xpdf-src/xpdf/GfxFont.h
+++ b/Build/source/libs/xpdf/xpdf-src/xpdf/GfxFont.h
@@ -135,6 +135,10 @@ public:
static GfxFont *makeFont(XRef *xref, const char *tagA,
Ref idA, Dict *fontDict);
+ // Create a simple default font, to substitute for an undefined font
+ // object.
+ static GfxFont *makeDefaultFont(XRef *xref);
+
GfxFont(const char *tagA, Ref idA, GString *nameA,
GfxFontType typeA, Ref embFontIDA);
@@ -357,6 +361,7 @@ public:
private:
+ void readTrueTypeUnicodeMapping(XRef *xref);
void getHorizontalMetrics(CID cid, double *w);
void getVerticalMetrics(CID cid, double *h,
double *vx, double *vy);
@@ -398,8 +403,10 @@ public:
private:
- int hashFontObject(Object *obj);
- void hashFontObject1(Object *obj, FNVHash *h);
+ friend class GfxFont;
+
+ static int hashFontObject(Object *obj);
+ static void hashFontObject1(Object *obj, FNVHash *h);
GHash *fonts; // hash table of fonts -- this may
// include duplicates, i.e., when