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)  

afm2tfm.c File Reference
#include <stdio.h>
#include <stdlib.h>
#include <ctype.h>
#include <strings.h>
#include <math.h>
#include "dvips.h"
Include dependency graph for afm2tfm.c:

Go to the source code of this file.

Classes

struct  encoding
 
struct  adobeinfo
 
struct  lig
 
struct  kern
 
struct  adobeptr
 
struct  pcc
 

Macros

#define ASCII_A   65
 
#define ASCII_Z   90
 
#define ASCII_a   97
 
#define ASCII_z   122
 
#define ASCII_0   48
 
#define ASCII_9   57
 
#define MAXNAME   256
 
#define INBUFSIZE   1024
 
#define FontName   (0)
 
#define ItalicAngle   (1)
 
#define IsFixedPitch   (2)
 
#define XHeight   (3)
 
#define C   (4)
 
#define KPX   (5)
 
#define CC   (6)
 
#define EncodingScheme   (7)
 
#define NONE   (-1)
 
#define FIXFACTOR   (0x100000L) /* 2^{20}, the unit fixnum */
 
#define vout(s)   fprintf(vplout, s)
 
#define voutln(str)   {fprintf(vplout,"%s\n",str);vlevout();}
 
#define voutln2(f, s)   {fprintf(vplout,f,s);vlevnlout();}
 
#define voutln3(f, a, b)   {fprintf(vplout,f,a,b);vlevnlout();}
 
#define voutln4(f, a, b, c)   {fprintf(vplout,f,a,b,c);vlevnlout();}
 
#define CHECKARG3   if (argc < 4) { usage(stderr); exit(1); }
 

Functions

FILEfopen ()
 
static void error (const char *s)
 
static int transform (register int x, register int y)
 
static int texlive_getline (void)
 
static int interest (const char *s)
 
static char * mymalloc (unsigned long len)
 
static char * newstring (char *s)
 
static char * paramnewstring (void)
 
static char * paramstring (void)
 
static int paramnum (void)
 
static float paramfloat (void)
 
static struct adobeinfonewchar (void)
 
static struct kernnewkern (void)
 
static struct pccnewpcc (void)
 
static struct lignewlig (void)
 
static void expect (const char *s)
 
static void handlechar (void)
 
static struct adobeinfofindadobe (const char *p)
 
static void handlekern (void)
 
static void handleconstruct (void)
 
static struct encodingreadencoding (char *)
 
static void readadobe (void)
 
static void handlereencoding (void)
 
static struct adobeinforevlist (struct adobeinfo *p)
 
static void assignchars (void)
 
static void upmap (void)
 
static void write16 (register short what)
 
static void writearr (register long *p, register int n)
 
static void makebcpl (register long *p, register const char *s, register int n)
 
static int mincover (long *what, register long d)
 
static void remap (long *what, int oldn, int newn)
 
static long checksum (void)
 
static long scale (long what)
 
static void buildtfm (void)
 
static void writesarr (long *what, int len)
 
static void writetfm (void)
 
static int texheight (struct adobeinfo *ai)
 
static void vlevout (void)
 
static void vlevnlout (void)
 
static void vleft (void)
 
static void vright (void)
 
static char * vchar (int c)
 
static char * vname (int c)
 
static void writevpl (void)
 
static void usage (FILE *f)
 
static void openfiles (int argc, char **argv)
 
static struct kernrmkernmatch (struct kern *k, char *s)
 
static void rmkern (char *s1, char *s2, struct adobeinfo *ai)
 
static void addkern (char *s1, char *s2)
 
static void checkligkern (char *s)
 
static char * gettoken (void)
 
static void getligkerndefaults (void)
 
static void conspsfonts (void)
 
int main (int argc, char **argv)
 

Variables

struct encoding staticencoding
 
const char * staticligkern []
 
struct encodingoutencoding = 0
 
struct encodinginencoding = 0
 
char * outenname = NULL
 
char * inenname = NULL
 
int boundarychar = -1
 
int ignoreligkern
 
struct adobeinfoadobechars
 
struct adobeinfoadobeptrs [256]
 
struct adobeinfotexptrs [256]
 
struct adobeinfouppercase [256]
 
struct adobeinfolowercase [256]
 
int nexttex [256]
 
const char * vplligops []
 
const char * encligops []
 
FILEafmin
 
FILEvplout
 
FILEtfmout
 
char inname [256]
 
char outname [256]
 
char tmpstr [256]
 
char buffer [1024+10]
 
char obuffer [1024+10]
 
char * param
 
const char * fontname = "Unknown"
 
const char * codingscheme = "Unspecified"
 
float italicangle = 0.0
 
char fixedpitch
 
char makevpl
 
char pedantic
 
int noaccentheightadjust
 
int xheight = 400
 
int fontspace
 
int bc
 
int ec
 
long cksum
 
float efactor = 1.0
 
float slant = 0.0
 
float capheight = 0.8
 
char * efactorparam
 
char * slantparam
 
double newslant
 
char titlebuf [500]
 
const char * interesting []
 
int lf
 
int lh
 
int nw
 
int nh
 
int nd
 
int ni
 
int nl
 
int nk
 
int ne
 
int np
 
int source [257]
 
int unsort [257]
 
long nextd
 
long * header
 
long * charinfo
 
long * width
 
long * height
 
long * depth
 
long * ligkern
 
long * kern
 
long * tparam
 
long * italic
 
long * tfmdata
 
const char * accents [] = { "acute", "tilde", "caron", "dieresis", NULL }
 
int level
 
int forceoctal = 0
 
char vcharbuf [100]
 
char vnamebuf [1000]
 
int sawligkern
 
char smbuffer [100]
 

Macro Definition Documentation

◆ ASCII_0

#define ASCII_0   48

Definition at line 52 of file afm2tfm.c.

◆ ASCII_9

#define ASCII_9   57

Definition at line 53 of file afm2tfm.c.

◆ ASCII_A

#define ASCII_A   65

Definition at line 48 of file afm2tfm.c.

◆ ASCII_a

#define ASCII_a   97

Definition at line 50 of file afm2tfm.c.

◆ ASCII_Z

#define ASCII_Z   90

Definition at line 49 of file afm2tfm.c.

◆ ASCII_z

#define ASCII_z   122

Definition at line 51 of file afm2tfm.c.

◆ C

#define C   (4)

Definition at line 307 of file afm2tfm.c.

◆ CC

#define CC   (6)

Definition at line 309 of file afm2tfm.c.

◆ CHECKARG3

#define CHECKARG3   if (argc < 4) { usage(stderr); exit(1); }

Definition at line 1621 of file afm2tfm.c.

◆ EncodingScheme

Definition at line 310 of file afm2tfm.c.

◆ FIXFACTOR

#define FIXFACTOR   (0x100000L) /* 2^{20}, the unit fixnum */

Definition at line 1025 of file afm2tfm.c.

◆ FontName

#define FontName   (0)

Definition at line 303 of file afm2tfm.c.

◆ INBUFSIZE

#define INBUFSIZE   1024

Definition at line 220 of file afm2tfm.c.

◆ IsFixedPitch

#define IsFixedPitch   (2)

Definition at line 305 of file afm2tfm.c.

◆ ItalicAngle

#define ItalicAngle   (1)

Definition at line 304 of file afm2tfm.c.

◆ KPX

#define KPX   (5)

Definition at line 308 of file afm2tfm.c.

◆ MAXNAME

#define MAXNAME   256

Definition at line 217 of file afm2tfm.c.

◆ NONE

#define NONE   (-1)

Definition at line 311 of file afm2tfm.c.

◆ vout

#define vout (   s)    fprintf(vplout, s)

Definition at line 1277 of file afm2tfm.c.

◆ voutln

#define voutln (   str)    {fprintf(vplout,"%s\n",str);vlevout();}

Definition at line 1291 of file afm2tfm.c.

◆ voutln2

#define voutln2 (   f,
  s 
)    {fprintf(vplout,f,s);vlevnlout();}

Definition at line 1292 of file afm2tfm.c.

◆ voutln3

#define voutln3 (   f,
  a,
  b 
)    {fprintf(vplout,f,a,b);vlevnlout();}

Definition at line 1293 of file afm2tfm.c.

◆ voutln4

#define voutln4 (   f,
  a,
  b,
  c 
)    {fprintf(vplout,f,a,b,c);vlevnlout();}

Definition at line 1294 of file afm2tfm.c.

◆ XHeight

#define XHeight   (3)

Definition at line 306 of file afm2tfm.c.

Function Documentation

◆ addkern()

static void addkern ( char *  s1,
char *  s2 
)
static

Definition at line 1862 of file afm2tfm.c.

References ap, findadobe(), adobeinfo::kern_equivs, adobeinfo::kerns, mymalloc(), s1, and s2.

Referenced by checkligkern().

◆ assignchars()

◆ buildtfm()

◆ checkligkern()

◆ checksum()

static long checksum ( void  )
static

Definition at line 1000 of file afm2tfm.c.

References adobeinfo::adobename, adobeptrs, for(), i, p, s1, s2, and adobeinfo::width.

Referenced by buildtfm().

◆ conspsfonts()

static void conspsfonts ( void  )
static

Definition at line 2100 of file afm2tfm.c.

References efactorparam, fontname, inencoding, inenname, encoding::name, outname, printf(), and slantparam.

Referenced by main().

◆ error()

◆ expect()

static void expect ( const char *  s)
static

Definition at line 463 of file afm2tfm.c.

References error(), fprintf, paramstring(), s, and strcmp().

Referenced by handlechar(), and handleconstruct().

◆ findadobe()

◆ fopen()

FILE* fopen ( )

Referenced by openfiles(), and readencoding().

◆ getligkerndefaults()

static void getligkerndefaults ( void  )
static

Definition at line 2021 of file afm2tfm.c.

References buffer, checkligkern(), i, obuffer, param, staticligkern, and strcpy().

Referenced by readencoding().

◆ gettoken()

static char* gettoken ( void  )
static

Definition at line 1978 of file afm2tfm.c.

References checkligkern(), error(), ignoreligkern, p, param, q, smbuffer, and texlive_getline().

Referenced by readencoding().

◆ handlechar()

◆ handleconstruct()

static void handleconstruct ( void  )
static

◆ handlekern()

static void handlekern ( void  )
static

Definition at line 542 of file afm2tfm.c.

References error(), findadobe(), adobeinfo::kerns, newkern(), nk, NULL, p, paramnewstring(), paramnum(), paramstring(), and transform().

Referenced by readadobe().

◆ handlereencoding()

static void handlereencoding ( void  )
static

◆ interest()

static int interest ( const char *  s)
static

Definition at line 313 of file afm2tfm.c.

References interesting, n, NONE, p, s, and strcmp().

Referenced by readadobe().

◆ main()

◆ makebcpl()

static void makebcpl ( register long *  p,
register const char *  s,
register int  n 
)
static

Definition at line 906 of file afm2tfm.c.

References n, p, s, sc, strlen(), and t.

Referenced by buildtfm().

◆ mincover()

static int mincover ( long *  what,
register long  d 
)
static

Definition at line 944 of file afm2tfm.c.

References d, cutout::l, m, nextd, p, and gen-indic-table::what.

Referenced by remap().

◆ mymalloc()

static char* mymalloc ( unsigned long  len)
static

Definition at line 325 of file afm2tfm.c.

References error(), i, len, malloc, NULL, and p.

Referenced by addkern(), main(), newchar(), newkern(), newlig(), newpcc(), newstring(), and readencoding().

◆ newchar()

◆ newkern()

static struct kern* newkern ( void  )
static

Definition at line 427 of file afm2tfm.c.

References mymalloc(), nk, and NULL.

Referenced by handlekern().

◆ newlig()

static struct lig* newlig ( void  )
static

Definition at line 450 of file afm2tfm.c.

References mymalloc(), nl, and NULL.

Referenced by checkligkern(), and handlechar().

◆ newpcc()

static struct pcc* newpcc ( void  )
static

Definition at line 438 of file afm2tfm.c.

References mymalloc(), np, and NULL.

Referenced by handleconstruct(), readttf(), and upmap().

◆ newstring()

static char* newstring ( char *  s)
static

Definition at line 343 of file afm2tfm.c.

References mymalloc(), q, s, strcpy(), and strlen().

Referenced by checkligkern(), paramnewstring(), readadobe(), and readencoding().

◆ openfiles()

◆ paramfloat()

static float paramfloat ( void  )
static

Definition at line 394 of file afm2tfm.c.

References error(), i, p, paramstring(), and sscanf().

Referenced by readadobe().

◆ paramnewstring()

static char* paramnewstring ( void  )
static

Definition at line 351 of file afm2tfm.c.

References newstring(), p, param, and q.

Referenced by handlechar(), handleconstruct(), handlekern(), and readadobe().

◆ paramnum()

static int paramnum ( void  )
static

Definition at line 383 of file afm2tfm.c.

References error(), i, p, paramstring(), and sscanf().

Referenced by handlechar(), handleconstruct(), handlekern(), and readadobe().

◆ paramstring()

static char* paramstring ( void  )
static

Definition at line 367 of file afm2tfm.c.

References p, param, and q.

Referenced by checkligkern(), expect(), handleconstruct(), handlekern(), paramfloat(), paramnum(), and readadobe().

◆ readadobe()

◆ readencoding()

◆ remap()

static void remap ( long *  what,
int  oldn,
int  newn 
)
static

◆ revlist()

static struct adobeinfo* revlist ( struct adobeinfo p)
static

Definition at line 725 of file afm2tfm.c.

References p, q, and t.

Referenced by assignchars(), main(), and revpslists().

◆ rmkern()

static void rmkern ( char *  s1,
char *  s2,
struct adobeinfo ai 
)
static

Definition at line 1839 of file afm2tfm.c.

References adobechars, findadobe(), adobeinfo::kerns, adobeinfo::next, rmkernmatch(), s1, s2, and strcmp().

Referenced by checkligkern().

◆ rmkernmatch()

static struct kern* rmkernmatch ( struct kern k,
char *  s 
)
static

Definition at line 1822 of file afm2tfm.c.

References k, kern::next, s, strcmp(), and kern::succ.

Referenced by rmkern().

◆ scale()

static long scale ( long  what)
static

Definition at line 1027 of file afm2tfm.c.

References gen-indic-table::what.

Referenced by buildtfm(), and writesarr().

◆ texheight()

static int texheight ( struct adobeinfo ai)
static

Definition at line 1240 of file afm2tfm.c.

References accents, adobeinfo::adobename, findadobe(), noaccentheightadjust, p, strcpy(), adobeinfo::ury, and xheight.

Referenced by writevpl().

◆ texlive_getline()

static int texlive_getline ( void  )
static

Definition at line 270 of file afm2tfm.c.

References afmin, buffer, c, EOF, error(), getc, INBUFSIZE, obuffer, p, param, strcpy(), and ungetc.

Referenced by gettoken(), readadobe(), and readencoding().

◆ transform()

static int transform ( register int  x,
register int  y 
)
static

Definition at line 262 of file afm2tfm.c.

References acc, ceil(), efactor, floor, slant, cordic::x, and y.

Referenced by handlechar(), handleconstruct(), handlekern(), main(), and writevpl().

◆ upmap()

◆ usage()

static void usage ( FILE f)
static

Definition at line 1608 of file afm2tfm.c.

References f, and fprintf.

Referenced by main(), and openfiles().

◆ vchar()

static char* vchar ( int  c)
static

Definition at line 1313 of file afm2tfm.c.

References c, forceoctal, ISALNUM, sprintf, and vcharbuf.

Referenced by writevpl().

◆ vleft()

static void vleft ( void  )
static

Definition at line 1296 of file afm2tfm.c.

References level, and vout.

Referenced by writevpl().

◆ vlevnlout()

static void vlevnlout ( void  )
static

Definition at line 1286 of file afm2tfm.c.

References vlevout(), and vout.

◆ vlevout()

static void vlevout ( void  )
static

Definition at line 1280 of file afm2tfm.c.

References cutout::l, level, and vout.

Referenced by vlevnlout().

◆ vname()

◆ vright()

static void vright ( void  )
static

Definition at line 1303 of file afm2tfm.c.

References level, and voutln.

Referenced by writevpl().

◆ write16()

static void write16 ( register short  what)
static

Definition at line 888 of file afm2tfm.c.

References tfmout, and gen-indic-table::what.

Referenced by writearr(), and writetfm().

◆ writearr()

static void writearr ( register long *  p,
register int  n 
)
static

Definition at line 895 of file afm2tfm.c.

References n, p, and write16().

Referenced by writesarr(), and writetfm().

◆ writesarr()

static void writesarr ( long *  what,
int  len 
)
static

Definition at line 1152 of file afm2tfm.c.

References i, len, p, scale(), gen-indic-table::what, and writearr().

Referenced by writetfm().

◆ writetfm()

static void writetfm ( void  )
static

Definition at line 1169 of file afm2tfm.c.

References bc, depth, ec, height, italic, lf, lh, ligkern, nd, ne, nh, ni, nk, nl, np, nw, tparam, width, write16(), writearr(), and writesarr().

Referenced by main().

◆ writevpl()

Variable Documentation

◆ accents

const char* accents[] = { "acute", "tilde", "caron", "dieresis", NULL }

Definition at line 1237 of file afm2tfm.c.

Referenced by texheight().

◆ adobechars

struct adobeinfo * adobechars

◆ adobeptrs

struct adobeinfo * adobeptrs[256]

◆ afmin

FILE* afmin

Definition at line 216 of file afm2tfm.c.

Referenced by openfiles(), readadobe(), readencoding(), and texlive_getline().

◆ bc

int bc

Definition at line 237 of file afm2tfm.c.

Referenced by buildtfm(), writetfm(), and writevpl().

◆ boundarychar

int boundarychar = -1

Definition at line 169 of file afm2tfm.c.

Referenced by checkligkern(), and writevpl().

◆ buffer

char buffer[1024+10]

Definition at line 221 of file afm2tfm.c.

Referenced by getligkerndefaults(), and texlive_getline().

◆ capheight

◆ charinfo

long * charinfo

Definition at line 1033 of file afm2tfm.c.

◆ cksum

long cksum

Definition at line 238 of file afm2tfm.c.

Referenced by add_subfont_list(), buildtfm(), fontdef(), newfontdesc(), vfontdef(), writeovp(), and writevpl().

◆ codingscheme

const char* codingscheme = "Unspecified"

Definition at line 225 of file afm2tfm.c.

Referenced by buildtfm(), handlereencoding(), readadobe(), and writevpl().

◆ depth

long * depth

Definition at line 1033 of file afm2tfm.c.

Referenced by buildtfm(), and writetfm().

◆ ec

int ec

Definition at line 237 of file afm2tfm.c.

Referenced by buildtfm(), writetfm(), and writevpl().

◆ efactor

float efactor = 1.0

Definition at line 239 of file afm2tfm.c.

Referenced by buildtfm(), openfiles(), transform(), and writevpl().

◆ efactorparam

char* efactorparam

Definition at line 241 of file afm2tfm.c.

Referenced by conspsfonts(), and openfiles().

◆ encligops

const char* encligops[]
Initial value:
= {
"=:", "|=:", "|=:>", "=:|", "=:|>", "|=:|", "|=:|>", "|=:|>>", 0
}

Definition at line 193 of file afm2tfm.c.

Referenced by checkligkern().

◆ fixedpitch

char fixedpitch

Definition at line 231 of file afm2tfm.c.

Referenced by buildtfm(), checkligkern(), handlechar(), readadobe(), and writevpl().

◆ fontname

const char* fontname = "Unknown"

Definition at line 224 of file afm2tfm.c.

Referenced by buildtfm(), conspsfonts(), and readadobe().

◆ fontspace

int fontspace

Definition at line 236 of file afm2tfm.c.

Referenced by buildtfm(), main(), and writevpl().

◆ forceoctal

int forceoctal = 0

Definition at line 1309 of file afm2tfm.c.

Referenced by openfiles(), vchar(), and vname().

◆ header

long* header

Definition at line 1033 of file afm2tfm.c.

◆ height

long * height

Definition at line 1033 of file afm2tfm.c.

Referenced by buildtfm(), and writetfm().

◆ ignoreligkern

int ignoreligkern

Definition at line 170 of file afm2tfm.c.

Referenced by gettoken(), handlereencoding(), and readencoding().

◆ inencoding

struct encoding* inencoding = 0

Definition at line 166 of file afm2tfm.c.

Referenced by conspsfonts(), and handlereencoding().

◆ inenname

char * inenname = NULL

Definition at line 168 of file afm2tfm.c.

Referenced by conspsfonts(), handlereencoding(), and openfiles().

◆ inname

char inname[256]

Definition at line 218 of file afm2tfm.c.

Referenced by openfiles().

◆ interesting

const char* interesting[]
Initial value:
= { "FontName", "ItalicAngle", "IsFixedPitch",
"XHeight", "C", "KPX", "CC", "EncodingScheme", NULL}
#define NULL
Definition: ftobjs.h:61

Definition at line 301 of file afm2tfm.c.

Referenced by interest().

◆ italic

◆ italicangle

float italicangle = 0.0

Definition at line 230 of file afm2tfm.c.

Referenced by buildtfm(), and readadobe().

◆ kern

long * kern

Definition at line 1033 of file afm2tfm.c.

◆ level

int level

Definition at line 1278 of file afm2tfm.c.

Referenced by vleft(), vlevout(), vright(), and writevpl().

◆ lf

◆ lh

int lh

Definition at line 885 of file afm2tfm.c.

Referenced by buildtfm(), and writetfm().

◆ ligkern

long * ligkern

Definition at line 1033 of file afm2tfm.c.

Referenced by buildtfm(), main(), and writetfm().

◆ lowercase

struct adobeinfo * lowercase[256]

Referenced by main(), upmap(), and writevpl().

◆ makevpl

char makevpl

Definition at line 232 of file afm2tfm.c.

Referenced by main(), openfiles(), and writevpl().

◆ nd

◆ ne

◆ newslant

double newslant

Definition at line 242 of file afm2tfm.c.

Referenced by buildtfm(), and writevpl().

◆ nextd

long nextd

Definition at line 942 of file afm2tfm.c.

Referenced by mincover(), and remap().

◆ nexttex

int nexttex[256]

Definition at line 186 of file afm2tfm.c.

Referenced by assignchars(), main(), upmap(), and writevpl().

◆ nh

◆ ni

◆ nk

◆ nl

◆ noaccentheightadjust

int noaccentheightadjust

Definition at line 234 of file afm2tfm.c.

Referenced by openfiles(), and texheight().

◆ np

int np

Definition at line 885 of file afm2tfm.c.

Referenced by buildtfm(), handleconstruct(), newpcc(), upmap(), and writetfm().

◆ nw

int nw

Definition at line 885 of file afm2tfm.c.

Referenced by buildtfm(), and writetfm().

◆ obuffer

char obuffer[1024+10]

Definition at line 222 of file afm2tfm.c.

Referenced by error(), getligkerndefaults(), texlive_getline(), and writevpl().

◆ outencoding

struct encoding* outencoding = 0

Definition at line 165 of file afm2tfm.c.

Referenced by assignchars(), handlereencoding(), and writevpl().

◆ outenname

char* outenname = NULL

Definition at line 167 of file afm2tfm.c.

Referenced by handlereencoding(), and openfiles().

◆ outname

char outname[256]

Definition at line 218 of file afm2tfm.c.

Referenced by conspsfonts(), openfiles(), and writevpl().

◆ param

◆ pedantic

char pedantic

Definition at line 233 of file afm2tfm.c.

Referenced by assignchars(), openfiles(), and tt_loader_init().

◆ sawligkern

int sawligkern

Definition at line 1875 of file afm2tfm.c.

Referenced by checkligkern(), and readencoding().

◆ slant

float slant = 0.0

Definition at line 239 of file afm2tfm.c.

Referenced by buildtfm(), openfiles(), transform(), and writevpl().

◆ slantparam

char * slantparam

Definition at line 241 of file afm2tfm.c.

Referenced by conspsfonts(), and openfiles().

◆ smbuffer

char smbuffer[100]

Definition at line 1976 of file afm2tfm.c.

Referenced by gettoken().

◆ source

int source[257]

Definition at line 928 of file afm2tfm.c.

Referenced by _analyze_recording_surface_pattern(), _ASCIIGetNextUChar(), _ASCIIToUnicodeWithOffsets(), _Bocu1FromUnicode(), _Bocu1FromUnicodeWithOffsets(), _Bocu1ToUnicode(), _Bocu1ToUnicodeWithOffsets(), _cairo_composite_rectangles_init(), _cairo_gl_pattern_to_source(), _cairo_gl_shader_compile_and_link(), _cairo_gl_white_source(), _cairo_gstate_mask(), _cairo_gstate_set_source(), _cairo_image_source_create_for_pattern(), _cairo_pdf_surface_emit_recording_surface(), _cairo_surface_subsurface_source(), _cairo_surface_to_cgimage(), _cairo_xcb_surface_core_fill_boxes(), _cairo_xcb_surface_pixmap(), _emit_raster_pattern(), _emit_surface_pattern(), _get_bitmap_surface(), _IMAPFromUnicodeWithOffsets(), _IMAPToUnicodeWithOffsets(), _intersect_rect(), _Latin1FromUnicodeWithOffsets(), _Latin1GetNextUChar(), _Latin1ToUnicodeWithOffsets(), _pixman_image_for_recording(), _SCSUFromUnicode(), _SCSUFromUnicodeWithOffsets(), _SCSUToUnicode(), _SCSUToUnicodeWithOffsets(), _union_rect(), _UTF16BEFromUnicodeWithOffsets(), _UTF16BEToUnicodeWithOffsets(), _UTF16LEFromUnicodeWithOffsets(), _UTF16LEToUnicodeWithOffsets(), _UTF16ToUnicodeWithOffsets(), _UTF32ToUnicodeWithOffsets(), _UTF7FromUnicodeWithOffsets(), _UTF7ToUnicodeWithOffsets(), BZ2_bzBuffToBuffCompress(), BZ2_bzBuffToBuffDecompress(), cairo_gl_shader_get_fragment_source(), cairo_gl_shader_get_vertex_source(), combine_the_toks(), convsample_05(), convsample_06(), convsample_13(), convsample_40(), convsample_46(), decDivideOp(), decShiftToMost(), do_newer(), TransliteratorRegistry::find(), findNextEsc(), FT_Bitmap_Blend(), FT_Bitmap_Copy(), ft_lzwstate_init(), getEndOfBuffer_2022(), getsc_(), AnyTransliterator::getTransliterator(), gregorio_clone_characters(), jinit_read_bmp(), jinit_read_ppm(), jinit_read_targa(), kpathsea_find_glyph(), luaO_chunkid(), luaX_setinput(), TransliteratorIDParser::parseFilterID(), read_16bit(), record_to_picture(), TransliteratorRegistry::registerEntry(), AnyTransliterator::registerIDs(), TransliteratorRegistry::remove(), ScanNextToken(), FontInfo::set_x_height(), strrch(), TransliteratorIDParser::STVtoID(), substitute(), u_parseUTF8(), u_scanf_string_handler(), ucnv_ASCIIFromUTF8(), ucnv_convertEx_68(), ucnv_data_unFlattenClone(), ucnv_DBCSFromUTF8(), ucnv_fromUnicode_68(), ucnv_getNextUChar_68(), ucnv_getNextUChar_UTF8(), ucnv_Latin1FromUTF8(), ucnv_MBCSDoubleFromUnicodeWithOffsets(), ucnv_MBCSFromUnicodeWithOffsets_68(), ucnv_MBCSGetNextUChar(), ucnv_MBCSSingleFromBMPWithOffsets(), ucnv_MBCSSingleFromUnicodeWithOffsets(), ucnv_MBCSSingleGetNextUChar(), ucnv_MBCSSingleToBMPWithOffsets(), ucnv_MBCSSingleToUnicodeWithOffsets(), ucnv_MBCSToUnicodeWithOffsets_68(), ucnv_SBCSFromUTF8(), ucnv_toUnicode_68(), ucnv_UTF8FromUTF8(), UConverter_fromUnicode_CompoundText_OFFSETS(), UConverter_fromUnicode_ISCII_OFFSETS_LOGIC(), UConverter_fromUnicode_ISO_2022_CN_OFFSETS_LOGIC(), UConverter_fromUnicode_ISO_2022_JP_OFFSETS_LOGIC(), UConverter_fromUnicode_ISO_2022_KR_OFFSETS_LOGIC(), UConverter_toUnicode_ISCII_OFFSETS_LOGIC(), utrans_stripRules_68(), and yyunput().

◆ staticencoding

struct encoding staticencoding
Initial value:
= {
"TeX text",
{"Gamma", "Delta", "Theta", "Lambda", "Xi", "Pi", "Sigma",
"Upsilon", "Phi", "Psi", "Omega", "arrowup", "arrowdown", "quotesingle",
"exclamdown", "questiondown", "dotlessi", "dotlessj", "grave", "acute",
"caron", "breve", "macron", "ring", "cedilla", "germandbls", "ae", "oe",
"oslash", "AE", "OE", "Oslash", "space", "exclam", "quotedbl", "numbersign",
"dollar", "percent", "ampersand", "quoteright", "parenleft", "parenright",
"asterisk", "plus", "comma", "hyphen", "period", "slash", "zero", "one",
"two", "three", "four", "five", "six", "seven", "eight", "nine", "colon",
"semicolon", "less", "equal", "greater", "question", "at", "A", "B", "C",
"D", "E", "F", "G", "H", "I", "J", "K", "L", "M", "N", "O", "P", "Q", "R",
"S", "T", "U", "V", "W", "X", "Y", "Z", "bracketleft", "backslash",
"bracketright", "circumflex", "underscore", "quoteleft", "a", "b", "c", "d",
"e", "f", "g", "h", "i", "j", "k", "l", "m", "n", "o", "p", "q", "r", "s",
"t", "u", "v", "w", "x", "y", "z", "braceleft", "bar", "braceright",
"tilde", "dieresis", "", "", "", "", "", "", "", "", "", "", "", "", "",
"", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "",
"", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "",
"", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "",
"", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "",
"", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "",
"", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "",
"", "", "", "", "", "", "" } }

Definition at line 74 of file afm2tfm.c.

Referenced by readencoding().

◆ staticligkern

const char* staticligkern[]

Definition at line 110 of file afm2tfm.c.

Referenced by getligkerndefaults().

◆ texptrs

struct adobeinfo * texptrs[256]

Referenced by assignchars(), vname(), and writevpl().

◆ tfmdata

long* tfmdata

Definition at line 1035 of file afm2tfm.c.

Referenced by buildtfm(), and main().

◆ tfmout

FILE * tfmout

Definition at line 216 of file afm2tfm.c.

Referenced by openfiles(), and write16().

◆ titlebuf

char titlebuf[500]

Definition at line 243 of file afm2tfm.c.

Referenced by openfiles(), and writevpl().

◆ tmpstr

char tmpstr[256]

Definition at line 219 of file afm2tfm.c.

Referenced by openfiles().

◆ tparam

long * tparam

Definition at line 1033 of file afm2tfm.c.

Referenced by buildtfm(), and writetfm().

◆ unsort

int unsort[257]

Definition at line 929 of file afm2tfm.c.

Referenced by buildtfm(), and remap().

◆ uppercase

◆ vcharbuf

char vcharbuf[100]

Definition at line 1311 of file afm2tfm.c.

Referenced by vchar(), and writevpl().

◆ vnamebuf

char vnamebuf[1000]

Definition at line 1326 of file afm2tfm.c.

Referenced by vname().

◆ vplligops

const char* vplligops[]
Initial value:
= {
"LIG", "/LIG", "/LIG>", "LIG/", "LIG/>", "/LIG/", "/LIG/>", "/LIG/>>", 0
}

Definition at line 190 of file afm2tfm.c.

Referenced by writevpl().

◆ vplout

FILE * vplout

Definition at line 216 of file afm2tfm.c.

Referenced by openfiles(), and writevpl().

◆ width

long * width

Definition at line 1033 of file afm2tfm.c.

Referenced by buildtfm(), and writetfm().

◆ xheight

int xheight = 400

Definition at line 235 of file afm2tfm.c.

Referenced by buildtfm(), readadobe(), texheight(), and writevpl().