summaryrefslogtreecommitdiff
path: root/Build/source/texk/ttf2pk2/ttfenc.h
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2021-02-25 19:22:25 +0000
committerKarl Berry <karl@freefriends.org>2021-02-25 19:22:25 +0000
commitad547a6b5986815fda458221149728d9d9ab1d87 (patch)
tree16296910eb3eca724371474ea9aea3994dc69614 /Build/source/texk/ttf2pk2/ttfenc.h
parent947b43de3dd21d58ccc2ffadefc4441ea1c2a813 (diff)
restore Build,TODO from r57911
git-svn-id: svn://tug.org/texlive/trunk@57915 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/ttf2pk2/ttfenc.h')
-rw-r--r--Build/source/texk/ttf2pk2/ttfenc.h41
1 files changed, 41 insertions, 0 deletions
diff --git a/Build/source/texk/ttf2pk2/ttfenc.h b/Build/source/texk/ttf2pk2/ttfenc.h
new file mode 100644
index 00000000000..e0427be2c5e
--- /dev/null
+++ b/Build/source/texk/ttf2pk2/ttfenc.h
@@ -0,0 +1,41 @@
+/*
+ * ttfenc.h
+ *
+ * This file is part of the ttf2pk package.
+ *
+ * Copyright 1997-1999, 2000 by
+ * Frederic Loyer <loyer@ensta.fr>
+ * Werner Lemberg <wl@gnu.org>
+ */
+
+#ifndef TTFENC_H
+#define TTFENC_H
+
+#include "ttf2tfm.h"
+
+
+enum _EncodingScheme
+{
+ encUnicode,
+ encMac,
+ encFontSpecific
+};
+typedef enum _EncodingScheme EncodingScheme;
+
+
+void set_encoding_scheme(EncodingScheme e, Font *fnt);
+
+const char *code_to_adobename(long code);
+long adobename_to_code(const char *s);
+
+ttfinfo *findglyph(unsigned short g, ttfinfo *p);
+ttfinfo *findadobe(const char *p, ttfinfo *ap);
+ttfinfo *findmappedadobe(const char *p, ttfinfo **array);
+
+void replace_glyphs(Font *fnt);
+void restore_glyph(encoding *enc, Font *fnt);
+
+#endif /* TTFENC_H */
+
+
+/* end */