summaryrefslogtreecommitdiff
path: root/Build/source/texk/dvipng/dvipng.h
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2006-12-05 00:57:33 +0000
committerKarl Berry <karl@freefriends.org>2006-12-05 00:57:33 +0000
commit0ab657d91067f9edfc1f4de294c8def270e3a055 (patch)
treedc88c28686667f85641a6aa36fba0bb0842a5587 /Build/source/texk/dvipng/dvipng.h
parent8b990bc0750e51fd017c6e8287d452dde22f4804 (diff)
dvipng 1.9
git-svn-id: svn://tug.org/texlive/trunk@2584 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/dvipng/dvipng.h')
-rw-r--r--Build/source/texk/dvipng/dvipng.h21
1 files changed, 19 insertions, 2 deletions
diff --git a/Build/source/texk/dvipng/dvipng.h b/Build/source/texk/dvipng/dvipng.h
index 7d03ad91212..a8049e6f0fc 100644
--- a/Build/source/texk/dvipng/dvipng.h
+++ b/Build/source/texk/dvipng/dvipng.h
@@ -16,8 +16,8 @@
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
- 02111-1307, USA.
+ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+ 02110-1301 USA.
Copyright (C) 2002-2006 Jan-Åke Larsson
@@ -97,6 +97,10 @@ typedef int bool;
# endif
#endif
+#ifndef _TRUE
+#define _TRUE 1
+#endif
+
#ifndef HAVE_VPRINTF
# ifdef HAVE_DOPRNT
# define vfprintf(stream, message, args) _doprnt(message, args, stream)
@@ -237,6 +241,14 @@ struct encoding {
char* charname[257];
};
+struct subfont {
+ struct subfont* next;
+ char* name;
+ char* infix;
+ int encoding;
+ int32_t charindex[256];
+};
+
#ifdef HAVE_FT2_OR_LIBT1
struct psfontmap {
struct psfontmap *next;
@@ -245,6 +257,7 @@ struct psfontmap {
#ifdef HAVE_FT2
FT_Matrix* ft_transformp;
FT_Matrix ft_transform;
+ struct subfont* subfont;
#endif
#ifdef HAVE_LIBT1
T1_TMATRIX* t1_transformp;
@@ -314,6 +327,8 @@ void SetFntNum(int32_t, void* /* dvi/vf */);
void FreeFontNumP(struct font_num *hfontnump);
#ifdef HAVE_FT2_OR_LIBT1
+char* copyword(char* orig);
+struct psfontmap *NewPSFont(struct psfontmap* copyfrom);
void InitPSFontMap(void);
void ClearPSFontMap(void);
struct psfontmap* FindPSFontMap(char*);
@@ -326,6 +341,8 @@ bool ReadTFM(struct font_entry *, char*);
bool InitFT(struct font_entry *);
void DoneFT(struct font_entry *tfontp);
void LoadFT(int32_t, struct char_entry *);
+struct psfontmap* FindSubFont(struct psfontmap* entry, char* fontname);
+void ClearSubfont(void);
#endif
#ifdef HAVE_LIBT1