From 0ab657d91067f9edfc1f4de294c8def270e3a055 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Tue, 5 Dec 2006 00:57:33 +0000 Subject: dvipng 1.9 git-svn-id: svn://tug.org/texlive/trunk@2584 c570f23f-e606-0410-a88d-b1316a301751 --- Build/source/texk/dvipng/dvipng.h | 21 +++++++++++++++++++-- 1 file changed, 19 insertions(+), 2 deletions(-) (limited to 'Build/source/texk/dvipng/dvipng.h') 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 -- cgit v1.2.3