w32tex
About: TeX Live provides a comprehensive TeX system including all the major TeX-related programs, macro packages, and fonts that are free software. Windows sources.
  Fossies Dox: w32tex-src.tar.xz  ("unofficial" and yet experimental doxygen-generated source code documentation)  

t1part.c File Reference
#include "dvips.h"
#include "t1part.h"
Include dependency graph for t1part.c:

Go to the source code of this file.

Classes

struct  Char
 
class  String
 A string of characters. More...
 
struct  def_ref
 
struct  tablecommand
 
struct  typefonts
 
struct  def_key
 
struct  type_key
 
struct  def_label
 

Macros

#define SEEK_SET   (0)
 
#define UniGetMem   getmem
 
#define min(a, b)   ((a) < (b) ? (a) : (b))
 
#define max(a, b)   ((a) > (b) ? (a) : (b))
 
#define PFA   1
 
#define PFB   2
 
#define NOTHING   0
 
#define FLG_ASCII   1
 
#define FLG_BINARY   2
 
#define FLG_EOF   3
 
#define FLG_ZERO_LINE   4
 
#define FLG_OUT_STR   (-1)
 
#define CHAR_NOT_DEF   (-1)
 
#define SEAC_NOT_END   (-2)
 
#define FLG_LOAD_BASE   (1)
 
#define STANDARD_ENC   (1)
 
#define SPECIAL_ENC   (2)
 
#define AFM_ENC   (4)
 
#define FLG_REENCODE   (4)
 
#define BYTES_PER_LINE   32
 
#define TRUE   1
 
#define FALSE   0
 
#define LENIV   0
 
#define SUBRS   1
 
#define CHARSTRINGS   2
 
#define ERR_FIRST_NUM   (-1)
 
#define ERR_SECOND_NUM   (-2)
 
#define ERR_FIRST_TOK   (-3)
 
#define ERR_SECOND_TOK   (-4)
 
#define ERR_STACK   (-5)
 
#define ERR_NUM_CHAR   (-6)
 
#define ERR_NAME_CHAR   (-7)
 
#define SUBR_STR   1
 
#define CHAR_STR   -1
 
#define CHAR_SEAC   -2
 
#define SKIP_ON_DUP   3
 
#define C1   52845
 
#define C2   22719
 
#define EDR   55665
 
#define EER   55665
 
#define CDR   4330
 
#define MAX_ESCAPE   33
 
#define HSTEM   1
 
#define VSTEM   3
 
#define VMOVETO   4
 
#define CHARS_RLINETO   5
 
#define HLINETO   6
 
#define VLINETO   7
 
#define RRCURVETO   8
 
#define CHARS_CLOSEPATH   9
 
#define CALLSUBR   10
 
#define RETURN   11
 
#define ESCAPE   12
 
#define HSBW   13
 
#define ENDCHAR   14
 
#define CHARS_RMOVETO   21
 
#define HMOVETO   22
 
#define VHCURVETO   30
 
#define HVCURVETO   31
 
#define DOTSECTION   0
 
#define VSTEM3   1
 
#define HSTEM3   2
 
#define SEAC   6
 
#define SBW   7
 
#define CHARS_DIV   12
 
#define CALLOTHERSUBR   16
 
#define POP   17
 
#define SETCURRENTPOINT   33
 
#define FIRST_ASCII   1
 
#define FIRST_BINARY   2
 
#define NEXT_BINARY   3
 
#define NEXT_ASCII   4
 

Typedefs

typedef struct Char CHAR
 
typedef struct String STRING
 

Functions

static unsigned char CDeCrypt (unsigned char, unsigned int *)
 
static void CorrectGrid (void)
 
static void OutHEX (FILE *)
 
static int Afm (void)
 
static int LoadVector (int, CHAR *)
 
static int ChooseVect (CHAR *)
 
static void ErrorOfScan (int err)
 
static void NameOfProgram (void)
 
static int DefTypeFont (unsigned char *name)
 
static int GetZeroLine (unsigned char *str)
 
static int GetWord (unsigned char *mem)
 
static int GetToken (void)
 
static int GetNum (void)
 
static int PassToken (void)
 
static int PassString (unsigned char flg)
 
voidgetmem (unsigned size)
 
static CHARAddChar (CHAR *TmpChar, unsigned char *CharName, int num)
 
static void AddStr (unsigned char *name, int num)
 
static void RevChar (CHAR *TmpChar)
 
static void OutChar (CHAR *TmpChar, FILE *fout)
 
static void Reeverse (STRING *TmpStr)
 
static void OutStr (STRING *TmpStr, FILE *fout)
 
static void PrintChar (CHAR *TmpChar)
 
static int ClearB (void)
 
static int ChooseChar (unsigned char *name, CHAR *TmpChar)
 
static int FindSeac (int num)
 
static void ClearCW (CHAR *)
 
static int FindCharW (unsigned char *name, int length)
 
static int WorkVect (CHAR *TmpChar)
 
static void UnDefineCharsW (void)
 
CHARUnDefineChars (CHAR *TmpChar)
 
static void UnDefineStr (void)
 
static void ScanSubrs (int i)
 
static void ViewReturnCall (int num_err, int top, int *pstack, int j, int depth)
 
static int DeCodeStr (int num, int numseac)
 
static void ScanChars (int i)
 
static void LastLook (void)
 
static int FindKeyWord (int First_Key, int lastkey)
 
static int ScanBinary (void)
 
static unsigned char * itoasp (int n, unsigned char *s, int len)
 
static void SubstNum (void)
 
static ub4 little4 (ub1 *buff)
 
static int EndOfEncoding (int err_num)
 
static int CharEncoding (void)
 
static void FindEncoding (void)
 
static void CheckChoosing (void)
 
static char * KillUnique (char *s)
 
static void OutASCII (FILE *fout, ub1 *buff, ub4 len)
 
static void BinEDeCrypt (ub1 *buff, ub4 len)
 
static void HexEDeCrypt (unsigned char *mem)
 
static int PartialPFA (FILE *fin, FILE *fout)
 
static int PartialPFB (FILE *fin, FILE *fout)
 
int FontPart (FILE *fout, unsigned char *fontfile, unsigned char *vectfile)
 

Variables

static STRINGFirstStr
 
static STRINGRevStr
 
static CHARFirstChar
 
static CHARFirstCharA
 
CHARFirstCharB
 
static CHARFirstCharW
 
int CharCount
 
int GridCount
 
int ind_ref
 
def_ref refer [10]
 
typetemptemp
 
typetempbegin_of_scan
 
typetempend_of_scan
 
unsigned char * line
 
unsigned char * tmpline
 
unsigned char token [64]
 
unsigned char notdef [] ="/.notdef"
 
unsigned char grid [256]
 
unsigned char tmpgrid [256]
 
unsigned char psfontfile [500]
 
unsigned char psvectfile [500]
 
unsigned char basevect [] ="ad.enc"
 
unsigned char version [] = "v1.59 beta (c)1994, 1996"
 
unsigned char tmp_token [64]
 
static int stack [128]
 
ub1 buf [BUFSIZ]
 
int loadbase = 0
 
static int encode
 
static int reencode
 
int find_encod
 
int lastpart =0
 
int keep_flg =0
 
int keep_num =0
 
int number
 
int offset
 
long value
 
int lenIV = 4
 
static int grow =0
 
static int level
 
static int flg_seac =0
 
tablecommand TableCommand []
 
typefonts TypeFonts []
 
static char Dup [] ="dup"
 
def_key keyword [6]
 
int FirstKey
 
int current
 
int subrs
 
int char_str
 
type_key Key []
 
struct def_label label [1024]
 
unsigned short int c1 = 52845
 
unsigned short int c2 = 22719
 
unsigned short int edr
 
unsigned short int eer
 

Macro Definition Documentation

◆ AFM_ENC

#define AFM_ENC   (4)

Definition at line 113 of file t1part.c.

◆ BYTES_PER_LINE

#define BYTES_PER_LINE   32

Definition at line 119 of file t1part.c.

◆ C1

#define C1   52845

Definition at line 143 of file t1part.c.

◆ C2

#define C2   22719

Definition at line 144 of file t1part.c.

◆ CALLOTHERSUBR

#define CALLOTHERSUBR   16

Definition at line 175 of file t1part.c.

◆ CALLSUBR

#define CALLSUBR   10

Definition at line 159 of file t1part.c.

◆ CDR

#define CDR   4330

Definition at line 147 of file t1part.c.

◆ CHAR_NOT_DEF

#define CHAR_NOT_DEF   (-1)

Definition at line 106 of file t1part.c.

◆ CHAR_SEAC

#define CHAR_SEAC   -2

Definition at line 140 of file t1part.c.

◆ CHAR_STR

#define CHAR_STR   -1

Definition at line 139 of file t1part.c.

◆ CHARS_CLOSEPATH

#define CHARS_CLOSEPATH   9

Definition at line 158 of file t1part.c.

◆ CHARS_DIV

#define CHARS_DIV   12

Definition at line 174 of file t1part.c.

◆ CHARS_RLINETO

#define CHARS_RLINETO   5

Definition at line 154 of file t1part.c.

◆ CHARS_RMOVETO

#define CHARS_RMOVETO   21

Definition at line 164 of file t1part.c.

◆ CHARSTRINGS

#define CHARSTRINGS   2

Definition at line 128 of file t1part.c.

◆ DOTSECTION

#define DOTSECTION   0

Definition at line 169 of file t1part.c.

◆ EDR

#define EDR   55665

Definition at line 145 of file t1part.c.

◆ EER

#define EER   55665

Definition at line 146 of file t1part.c.

◆ ENDCHAR

#define ENDCHAR   14

Definition at line 163 of file t1part.c.

◆ ERR_FIRST_NUM

#define ERR_FIRST_NUM   (-1)

Definition at line 130 of file t1part.c.

◆ ERR_FIRST_TOK

#define ERR_FIRST_TOK   (-3)

Definition at line 132 of file t1part.c.

◆ ERR_NAME_CHAR

#define ERR_NAME_CHAR   (-7)

Definition at line 136 of file t1part.c.

◆ ERR_NUM_CHAR

#define ERR_NUM_CHAR   (-6)

Definition at line 135 of file t1part.c.

◆ ERR_SECOND_NUM

#define ERR_SECOND_NUM   (-2)

Definition at line 131 of file t1part.c.

◆ ERR_SECOND_TOK

#define ERR_SECOND_TOK   (-4)

Definition at line 133 of file t1part.c.

◆ ERR_STACK

#define ERR_STACK   (-5)

Definition at line 134 of file t1part.c.

◆ ESCAPE

#define ESCAPE   12

Definition at line 161 of file t1part.c.

◆ FALSE

#define FALSE   0

Definition at line 123 of file t1part.c.

◆ FIRST_ASCII

#define FIRST_ASCII   1

Definition at line 2170 of file t1part.c.

◆ FIRST_BINARY

#define FIRST_BINARY   2

Definition at line 2171 of file t1part.c.

◆ FLG_ASCII

#define FLG_ASCII   1

Definition at line 100 of file t1part.c.

◆ FLG_BINARY

#define FLG_BINARY   2

Definition at line 101 of file t1part.c.

◆ FLG_EOF

#define FLG_EOF   3

Definition at line 102 of file t1part.c.

◆ FLG_LOAD_BASE

#define FLG_LOAD_BASE   (1)

Definition at line 109 of file t1part.c.

◆ FLG_OUT_STR

#define FLG_OUT_STR   (-1)

Definition at line 105 of file t1part.c.

◆ FLG_REENCODE

#define FLG_REENCODE   (4)

Definition at line 116 of file t1part.c.

◆ FLG_ZERO_LINE

#define FLG_ZERO_LINE   4

Definition at line 103 of file t1part.c.

◆ HLINETO

#define HLINETO   6

Definition at line 155 of file t1part.c.

◆ HMOVETO

#define HMOVETO   22

Definition at line 165 of file t1part.c.

◆ HSBW

#define HSBW   13

Definition at line 162 of file t1part.c.

◆ HSTEM

#define HSTEM   1

Definition at line 151 of file t1part.c.

◆ HSTEM3

#define HSTEM3   2

Definition at line 171 of file t1part.c.

◆ HVCURVETO

#define HVCURVETO   31

Definition at line 167 of file t1part.c.

◆ LENIV

#define LENIV   0

Definition at line 126 of file t1part.c.

◆ max

#define max (   a,
  b 
)    ((a) > (b) ? (a) : (b))

Definition at line 91 of file t1part.c.

◆ MAX_ESCAPE

#define MAX_ESCAPE   33

Definition at line 149 of file t1part.c.

◆ min

#define min (   a,
  b 
)    ((a) < (b) ? (a) : (b))

Definition at line 87 of file t1part.c.

◆ NEXT_ASCII

#define NEXT_ASCII   4

Definition at line 2173 of file t1part.c.

◆ NEXT_BINARY

#define NEXT_BINARY   3

Definition at line 2172 of file t1part.c.

◆ NOTHING

#define NOTHING   0

Definition at line 99 of file t1part.c.

◆ PFA

#define PFA   1

Definition at line 95 of file t1part.c.

◆ PFB

#define PFB   2

Definition at line 96 of file t1part.c.

◆ POP

#define POP   17

Definition at line 176 of file t1part.c.

◆ RETURN

#define RETURN   11

Definition at line 160 of file t1part.c.

◆ RRCURVETO

#define RRCURVETO   8

Definition at line 157 of file t1part.c.

◆ SBW

#define SBW   7

Definition at line 173 of file t1part.c.

◆ SEAC

#define SEAC   6

Definition at line 172 of file t1part.c.

◆ SEAC_NOT_END

#define SEAC_NOT_END   (-2)

Definition at line 107 of file t1part.c.

◆ SEEK_SET

#define SEEK_SET   (0)

Definition at line 14 of file t1part.c.

◆ SETCURRENTPOINT

#define SETCURRENTPOINT   33

Definition at line 177 of file t1part.c.

◆ SKIP_ON_DUP

#define SKIP_ON_DUP   3

Definition at line 141 of file t1part.c.

◆ SPECIAL_ENC

#define SPECIAL_ENC   (2)

Definition at line 112 of file t1part.c.

◆ STANDARD_ENC

#define STANDARD_ENC   (1)

Definition at line 111 of file t1part.c.

◆ SUBR_STR

#define SUBR_STR   1

Definition at line 138 of file t1part.c.

◆ SUBRS

#define SUBRS   1

Definition at line 127 of file t1part.c.

◆ TRUE

#define TRUE   1

Definition at line 122 of file t1part.c.

◆ UniGetMem

#define UniGetMem   getmem

Definition at line 30 of file t1part.c.

◆ VHCURVETO

#define VHCURVETO   30

Definition at line 166 of file t1part.c.

◆ VLINETO

#define VLINETO   7

Definition at line 156 of file t1part.c.

◆ VMOVETO

#define VMOVETO   4

Definition at line 153 of file t1part.c.

◆ VSTEM

#define VSTEM   3

Definition at line 152 of file t1part.c.

◆ VSTEM3

#define VSTEM3   1

Definition at line 170 of file t1part.c.

Typedef Documentation

◆ CHAR

typedef struct Char CHAR

◆ STRING

typedef struct String STRING

Function Documentation

◆ AddChar()

static CHAR* AddChar ( CHAR TmpChar,
unsigned char *  CharName,
int  num 
)
static

Definition at line 507 of file t1part.c.

References getmem(), length, num, strcpy(), and strlen().

Referenced by Afm(), CharEncoding(), and LoadVector().

◆ AddStr()

static void AddStr ( unsigned char *  name,
int  num 
)
static

Definition at line 524 of file t1part.c.

References FirstStr, getmem(), length, String::name, name, String::NextStr, num, String::num, strcpy(), and strlen().

Referenced by OutASCII(), and PartialPFA().

◆ Afm()

◆ BinEDeCrypt()

static void BinEDeCrypt ( ub1 buff,
ub4  len 
)
static

Definition at line 2019 of file t1part.c.

References buff, c1, c2, edr, i, len, and temp.

Referenced by PartialPFB().

◆ CDeCrypt()

static unsigned char CDeCrypt ( unsigned char  cipher,
unsigned int lcdr 
)
static

Definition at line 1653 of file t1part.c.

References c1, and c2.

Referenced by DeCodeStr().

◆ CharEncoding()

static int CharEncoding ( void  )
static

◆ CheckChoosing()

◆ ChooseChar()

static int ChooseChar ( unsigned char *  name,
CHAR TmpChar 
)
static

Definition at line 682 of file t1part.c.

References getmem(), length, name, NULL, strcmp(), strcpy(), and strlen().

Referenced by LoadVector().

◆ ChooseVect()

static int ChooseVect ( CHAR tmpChar)
static

Definition at line 2687 of file t1part.c.

References CharCount, grid, GridCount, and NULL.

Referenced by CheckChoosing().

◆ ClearB()

static int ClearB ( void  )
static

Definition at line 667 of file t1part.c.

References FirstCharB, and NULL.

Referenced by FontPart().

◆ ClearCW()

static void ClearCW ( CHAR ThisChar)
static

Definition at line 812 of file t1part.c.

References FirstCharW, free, NULL, and tm.

Referenced by FindCharW().

◆ CorrectGrid()

static void CorrectGrid ( void  )
static

Definition at line 1753 of file t1part.c.

References grid, i, imax(), ind_ref, j, k, num, def_ref::num, refer, and U_NAMESPACE_USE::select().

Referenced by EndOfEncoding().

◆ DeCodeStr()

◆ DefTypeFont()

static int DefTypeFont ( unsigned char *  name)
static

Definition at line 291 of file t1part.c.

References extension, typefonts::extension, i, name, num, strstr(), and TypeFonts.

Referenced by FontPart().

◆ EndOfEncoding()

static int EndOfEncoding ( int  err_num)
static

Definition at line 1671 of file t1part.c.

References atoi(), CorrectGrid(), find_encod, GetWord(), i, ind_ref, j, keep_num, def_ref::num, refer, def_ref::select, and strcmp().

Referenced by CharEncoding().

◆ ErrorOfScan()

static void ErrorOfScan ( int  err)
static

◆ FindCharW()

static int FindCharW ( unsigned char *  name,
int  length 
)
static

Definition at line 743 of file t1part.c.

References ClearCW(), find(), FirstCharW, FLG_BINARY, label, length, name, NOTHING, NULL, def_label::num, number, and strcmp().

Referenced by ScanChars().

◆ FindEncoding()

static void FindEncoding ( void  )
static

◆ FindKeyWord()

static int FindKeyWord ( int  First_Key,
int  lastkey 
)
static

◆ FindSeac()

static int FindSeac ( int  num)
static

Definition at line 725 of file t1part.c.

References char_str, i, keyword, label, num, number, and offset.

Referenced by DeCodeStr().

◆ FontPart()

◆ getmem()

void* getmem ( unsigned  size)

Definition at line 495 of file t1part.c.

References calloc(), exit(), fprintf, NULL, and size.

Referenced by AddChar(), AddStr(), ChooseChar(), Reeverse(), RevChar(), and WorkVect().

◆ GetNum()

static int GetNum ( void  )
static

Definition at line 423 of file t1part.c.

References atoi(), end_of_scan, isdigit, temp, and token.

Referenced by DeCodeStr(), FindKeyWord(), PassString(), and ScanSubrs().

◆ GetToken()

static int GetToken ( void  )
static

Definition at line 385 of file t1part.c.

References end_of_scan, isalnum, isalpha, temp, and token.

Referenced by FindKeyWord(), ScanChars(), and ScanSubrs().

◆ GetWord()

static int GetWord ( unsigned char *  mem)
static

Definition at line 326 of file t1part.c.

References isalpha, isdigit, isspace, line, and mem.

Referenced by Afm(), CharEncoding(), EndOfEncoding(), FindEncoding(), and LoadVector().

◆ GetZeroLine()

static int GetZeroLine ( unsigned char *  str)
static

Definition at line 304 of file t1part.c.

References str.

Referenced by PartialPFA().

◆ HexEDeCrypt()

static void HexEDeCrypt ( unsigned char *  mem)
static

Definition at line 2034 of file t1part.c.

References c1, c2, ch2, edr, mem, and temp.

Referenced by PartialPFA().

◆ itoasp()

static unsigned char* itoasp ( int  n,
unsigned char *  s,
int  len 
)
static

Definition at line 1601 of file t1part.c.

References abs, i, j, len, n, NULL, and s.

Referenced by SubstNum().

◆ KillUnique()

static char* KillUnique ( char *  s)
static

Definition at line 1966 of file t1part.c.

References r, s, and strstr().

Referenced by OutASCII(), and PartialPFA().

◆ LastLook()

static void LastLook ( void  )
static

Definition at line 1487 of file t1part.c.

References def_label::begin, FLG_BINARY, label, number, def_label::select, and temp.

Referenced by ScanBinary().

◆ little4()

static ub4 little4 ( ub1 buff)
static

Definition at line 1640 of file t1part.c.

References buff.

Referenced by PartialPFB().

◆ LoadVector()

static int LoadVector ( int  num,
CHAR TmpChar 
)
static

◆ NameOfProgram()

static void NameOfProgram ( void  )
static

Definition at line 2747 of file t1part.c.

References fprintf, and version.

Referenced by Afm(), FontPart(), and LoadVector().

◆ OutASCII()

static void OutASCII ( FILE fout,
ub1 buff,
ub4  len 
)
static

Definition at line 1977 of file t1part.c.

References AddStr(), buff, find_encod, FindEncoding(), fout, fprintf, i, keep_flg, keep_num, KillUnique(), lastpart, len, and tmpline.

Referenced by PartialPFB().

◆ OutChar()

static void OutChar ( CHAR TmpChar,
FILE fout 
)
static

Definition at line 572 of file t1part.c.

References FirstCharW, fout, fprintf, free, NULL, and tm.

Referenced by PartialPFA(), and PartialPFB().

◆ OutHEX()

static void OutHEX ( FILE fout)
static

◆ OutStr()

static void OutStr ( STRING TmpStr,
FILE fout 
)
static

Definition at line 629 of file t1part.c.

References AFM_ENC, encode, fout, fprintf, free, String::name, String::NextStr, NULL, RevStr, and tm.

Referenced by PartialPFA(), and PartialPFB().

◆ PartialPFA()

◆ PartialPFB()

◆ PassString()

static int PassString ( unsigned char  flg)
static

◆ PassToken()

static int PassToken ( void  )
static

Definition at line 447 of file t1part.c.

References end_of_scan, isspace, and temp.

Referenced by DeCodeStr(), PassString(), and ScanSubrs().

◆ PrintChar()

static void PrintChar ( CHAR TmpChar)
static

Definition at line 650 of file t1part.c.

References fprintf_str, and NULL.

Referenced by CheckChoosing(), and ScanChars().

◆ Reeverse()

static void Reeverse ( STRING TmpStr)
static

Definition at line 599 of file t1part.c.

References AFM_ENC, encode, getmem(), String::name, String::NextStr, NULL, String::num, and RevStr.

Referenced by PartialPFA(), and PartialPFB().

◆ RevChar()

static void RevChar ( CHAR TmpChar)
static

◆ ScanBinary()

◆ ScanChars()

◆ ScanSubrs()

◆ SubstNum()

static void SubstNum ( void  )
static

Definition at line 1623 of file t1part.c.

References def_key::begin, char_str, FirstKey, i, itoasp(), j, keyword, length, and temp.

Referenced by PartialPFA(), and PartialPFB().

◆ UnDefineChars()

CHAR* UnDefineChars ( CHAR TmpChar)

Definition at line 872 of file t1part.c.

References CharCount, free, NULL, and tm.

Referenced by FontPart().

◆ UnDefineCharsW()

static void UnDefineCharsW ( void  )
static

Definition at line 858 of file t1part.c.

References CharCount, FirstCharW, free, NULL, and tm.

Referenced by FontPart(), PartialPFA(), and PartialPFB().

◆ UnDefineStr()

static void UnDefineStr ( void  )
static

Definition at line 890 of file t1part.c.

References FirstStr, free, String::name, String::NextStr, NULL, and tm.

Referenced by FontPart().

◆ ViewReturnCall()

static void ViewReturnCall ( int  num_err,
int  top,
int pstack,
int  j,
int  depth 
)
static

Definition at line 978 of file t1part.c.

References tablecommand::command, depth, ErrorOfScan(), fprintf, fprintf_str, grow, j, k, level, m, pstack, TableCommand, and top.

Referenced by DeCodeStr().

◆ WorkVect()

static int WorkVect ( CHAR TmpChar)
static

Definition at line 838 of file t1part.c.

References FirstCharW, getmem(), and NULL.

Referenced by CheckChoosing().

Variable Documentation

◆ basevect

unsigned char basevect[] ="ad.enc"

Definition at line 190 of file t1part.c.

Referenced by FontPart().

◆ begin_of_scan

typetemp* begin_of_scan

Definition at line 180 of file t1part.c.

Referenced by PartialPFA(), PartialPFB(), and ScanBinary().

◆ buf

ub1 buf[BUFSIZ]

Definition at line 196 of file t1part.c.

Referenced by PartialPFA(), and PartialPFB().

◆ c1

unsigned short int c1 = 52845

Definition at line 1648 of file t1part.c.

Referenced by BinEDeCrypt(), CDeCrypt(), HexEDeCrypt(), and OutHEX().

◆ c2

unsigned short int c2 = 22719

Definition at line 1648 of file t1part.c.

Referenced by BinEDeCrypt(), CDeCrypt(), HexEDeCrypt(), and OutHEX().

◆ char_str

int char_str

Definition at line 260 of file t1part.c.

Referenced by DeCodeStr(), FindSeac(), RevChar(), ScanBinary(), ScanChars(), and SubstNum().

◆ CharCount

◆ current

int current

Definition at line 258 of file t1part.c.

Referenced by FindKeyWord(), and ScanBinary().

◆ Dup

char Dup[] ="dup"
static

Definition at line 243 of file t1part.c.

Referenced by CharEncoding(), and ScanSubrs().

◆ edr

unsigned short int edr

Definition at line 1649 of file t1part.c.

Referenced by BinEDeCrypt(), HexEDeCrypt(), PartialPFA(), and PartialPFB().

◆ eer

unsigned short int eer

Definition at line 1662 of file t1part.c.

Referenced by Free_CursivePos(), Load_CursivePos(), Lookup_CursivePos(), and OutHEX().

◆ encode

◆ end_of_scan

typetemp* end_of_scan

Definition at line 181 of file t1part.c.

Referenced by GetNum(), GetToken(), OutHEX(), PartialPFA(), PartialPFB(), and PassToken().

◆ find_encod

int find_encod

Definition at line 202 of file t1part.c.

Referenced by EndOfEncoding(), FindEncoding(), FontPart(), OutASCII(), and PartialPFA().

◆ FirstChar

CHAR* FirstChar
static

Definition at line 59 of file t1part.c.

Referenced by CharEncoding(), CheckChoosing(), FontPart(), PartialPFA(), and PartialPFB().

◆ FirstCharA

CHAR* FirstCharA
static

Definition at line 60 of file t1part.c.

Referenced by Afm(), CheckChoosing(), FontPart(), PartialPFA(), and PartialPFB().

◆ FirstCharB

CHAR* FirstCharB

Definition at line 61 of file t1part.c.

Referenced by CheckChoosing(), ClearB(), dopsfont(), FontPart(), and LoadVector().

◆ FirstCharW

CHAR* FirstCharW
static

◆ FirstKey

int FirstKey

Definition at line 258 of file t1part.c.

Referenced by ScanBinary(), ScanChars(), and SubstNum().

◆ FirstStr

STRING* FirstStr
static

Definition at line 56 of file t1part.c.

Referenced by AddStr(), PartialPFA(), PartialPFB(), and UnDefineStr().

◆ flg_seac

int flg_seac =0
static

Definition at line 214 of file t1part.c.

Referenced by DeCodeStr(), FontPart(), and ScanChars().

◆ grid

unsigned char grid[256]

Definition at line 186 of file t1part.c.

Referenced by CheckChoosing(), ChooseVect(), CorrectGrid(), and LoadVector().

◆ GridCount

int GridCount

Definition at line 65 of file t1part.c.

Referenced by CheckChoosing(), ChooseVect(), and downpsfont().

◆ grow

int grow =0
static

Definition at line 212 of file t1part.c.

Referenced by DeCodeStr(), main(), pdf_doc_flush_annot(), and ViewReturnCall().

◆ ind_ref

int ind_ref

Definition at line 66 of file t1part.c.

Referenced by CorrectGrid(), EndOfEncoding(), and FontPart().

◆ keep_flg

int keep_flg =0

Definition at line 204 of file t1part.c.

Referenced by CharEncoding(), FontPart(), OutASCII(), PartialPFA(), and PartialPFB().

◆ keep_num

int keep_num =0

Definition at line 205 of file t1part.c.

Referenced by CharEncoding(), EndOfEncoding(), OutASCII(), and PartialPFA().

◆ Key

◆ keyword

◆ label

struct def_label label[1024]

Definition at line 271 of file t1part.c.

Referenced by _cairo_pdf_surface_finish(), add_xref_entry(), FlattenActions::addCurvePoints(), brw_lookup_label(), brw_resolve_cals(), brw_save_label(), cairo_pdf_interchange_write_page_labels(), checkArgs(), UTS46::checkLabelBiDi(), UTS46::checkLabelContextO(), checkrepeated(), closegoto(), CmdBibitem(), CmdFigure(), ConvertWholeDocument(), poppler::document::create_page(), createCheckBox(), createGroupBox(), DeCodeStr(), DoExtension(), doreturn(), ExtractLabelTag(), PSOutputDev::filterPSLabel(), find_segment_endpoint(), FindCharW(), findGraphiteFeatureNamed(), findGraphiteFeatureSettingNamed(), findlabel(), Catalog::findPageLabel(), FindSeac(), FontPart(), FormatUnitNumber(), AnnotMarkup::getLabel(), Catalog::getPageLabel(), Catalog::getPageNumFromPageLabel(), gotostat(), gr_fref_label(), gr_fref_value_label(), gr_label_destroy(), Catalog::indexToLabel(), PageLabelInfo::indexToLabel(), Efont::AmfmMetrics::interpolate(), UTS46::isLabelOkContextJ(), labelstat(), UTS46::labelToASCII(), UTS46::labelToASCII_UTF8(), Catalog::labelToIndex(), PageLabelInfo::labelToIndex(), UTS46::labelToUnicode(), UTS46::labelToUnicodeUTF8(), LastLook(), UTS46::markBadACELabel(), OptionalContentGroup::OptionalContentGroup(), otfcc_readCPAL(), OutHEX(), graphite2::ShiftCollider::outputJsonDbgOneVector(), PassString(), pdf_deref_obj(), pdf_enc_set_label(), pdf_flush_obj(), pdf_label_obj(), pdf_new_obj(), pdf_new_ref(), pdf_ref_obj(), pdf_release_obj(), pdf_set_info(), pdf_set_root(), PicComment(), Efont::AmfmMetrics::primary_label_value(), UTS46::processLabel(), psscan(), graphite2::FeatureMap::readFeats(), replaceLabel(), RevChar(), ScanBinary(), ScanChars(), ScanSubrs(), MyFont::set_design_vector(), SetDataFormat(), spc_handler_ps_tricks_bput(), split_label(), t1_Hint(), time2sub(), uidna_labelToASCII_68(), uidna_labelToASCII_UTF8_68(), uidna_labelToUnicode_68(), uidna_labelToUnicodeUTF8_68(), write_indirect(), and writepageheader().

◆ lastpart

int lastpart =0

Definition at line 203 of file t1part.c.

Referenced by FontPart(), OutASCII(), PartialPFA(), and PartialPFB().

◆ lenIV

int lenIV = 4

Definition at line 210 of file t1part.c.

Referenced by DeCodeStr(), and ScanBinary().

◆ level

int level
static

Definition at line 213 of file t1part.c.

Referenced by DeCodeStr(), ScanChars(), and ViewReturnCall().

◆ line

unsigned char* line

Definition at line 182 of file t1part.c.

Referenced by GetWord().

◆ loadbase

int loadbase = 0

Definition at line 198 of file t1part.c.

Referenced by dopsfont(), and FontPart().

◆ notdef

unsigned char notdef[] ="/.notdef"

Definition at line 185 of file t1part.c.

Referenced by ScanChars().

◆ number

◆ offset

int offset

Definition at line 208 of file t1part.c.

Referenced by DeCodeStr(), FindSeac(), FontPart(), RevChar(), and ScanBinary().

◆ psfontfile

unsigned char psfontfile[500]

◆ psvectfile

unsigned char psvectfile[500]

Definition at line 189 of file t1part.c.

Referenced by CheckChoosing(), FontPart(), and LoadVector().

◆ reencode

int reencode
static

Definition at line 200 of file t1part.c.

Referenced by CheckChoosing(), and FontPart().

◆ refer

def_ref refer[10]

Definition at line 84 of file t1part.c.

Referenced by CorrectGrid(), EndOfEncoding(), and getstreamlen().

◆ RevStr

STRING* RevStr
static

Definition at line 57 of file t1part.c.

Referenced by OutStr(), PartialPFA(), PartialPFB(), and Reeverse().

◆ stack

int stack[128]
static

Definition at line 194 of file t1part.c.

◆ subrs

◆ TableCommand

tablecommand TableCommand[]
Initial value:
=
{
{"callsubr", 10 }, {"callothersubr", 16 },
{"pop", 17 }, {"seac", 6 }, {""}
}

Definition at line 223 of file t1part.c.

Referenced by ViewReturnCall().

◆ temp

◆ tmp_token

unsigned char tmp_token[64]

Definition at line 192 of file t1part.c.

Referenced by ScanChars().

◆ tmpgrid

unsigned char tmpgrid[256]

Definition at line 187 of file t1part.c.

Referenced by CheckChoosing().

◆ tmpline

unsigned char* tmpline

Definition at line 183 of file t1part.c.

Referenced by Afm(), dopsfont(), FindEncoding(), LoadVector(), OutASCII(), OutHEX(), PartialPFA(), and PartialPFB().

◆ token

unsigned char token[64]

Definition at line 184 of file t1part.c.

Referenced by GetNum(), and GetToken().

◆ TypeFonts

typefonts TypeFonts[]
Initial value:
=
{
{".pfa", 1 }, {".pfb", 2 },
{".PFA", 1 }, {".PFB", 2 }, {""}
}

Definition at line 237 of file t1part.c.

Referenced by DefTypeFont().

◆ value

long value

Definition at line 209 of file t1part.c.

Referenced by DeCodeStr().

◆ version

unsigned char version[] ( void  ) = "v1.59 beta (c)1994, 1996"

Definition at line 191 of file t1part.c.

Referenced by NameOfProgram().