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)  

decompfont.c File Reference
#include "defs.h"
#include "set.h"
#include "global.h"
#include "funcfont.h"
#include "jsub.h"
Include dependency graph for decompfont.c:

Go to the source code of this file.

Macros

#define ku(c)   ((c)>>8)
 
#define ten(c)   ((c)&0xff)
 
#define dcmp_markchar(save, f, c)
 
#define dcmp_setchar(save, f, c)
 

Functions

int decomptype_init ()
 
int decomptype_access ()
 
void init_decomp_fontinfo ()
 
 decomptype_init (char *pars, struct decomp **ff)
 
 decomptype_access (struct decomp *ffdcmp, struct font_entry *fe, struct accarg *acca)
 
void init_decomp_fontinfo (struct font_entry *fe)
 
void init_dcmpntt_fontinfo (struct font_entry *fe)
 
 dcmpntt_markchar (int c)
 
void read_dcmpntt_fontinfo (struct font_entry *fe)
 
DEV_FONT dcmpntt_fontdict (struct font_entry *fe, int c)
 
 dcmpntt_setchar (unsigned int c)
 
 dcmpntt_setstring (byte *s, int len)
 
void init_dcmpdcd_fontinfo (struct font_entry *fe)
 
 dcmpdcd_markchar (int c)
 
void read_dcmpdcd_fontinfo (struct font_entry *fe)
 
DEV_FONT dcmpdcd_fontdict (struct font_entry *fe, int c)
 
 dcmpdcd_setchar (unsigned int c)
 
 dcmpdcd_setstring (byte *s, int len)
 

Variables

struct fontop dcmpop
 

Macro Definition Documentation

◆ dcmp_markchar

#define dcmp_markchar (   save,
  f,
  c 
)
Value:
setcurfont(dcmpfinfo(curfontent)->dcmp_fetab[f]); \
MarkChar(c); \
setcurfont(save);
struct font_entry * curfontent
Definition: fontcom.c:7
#define dcmpfinfo(fe)
Definition: funcfont.h:25
mpz_t * f
Definition: gen-fib.c:34
#define c(n)
Definition: gpos-common.c:150
static unsigned char * save
Definition: t1disasm.c:278

Definition at line 107 of file decompfont.c.

◆ dcmp_setchar

#define dcmp_setchar (   save,
  f,
  c 
)
Value:
setcurfont(dcmpfinfo(curfontent)->dcmp_fetab[f]); \
SetChar(c, chmove); \
setcurfont(save);
int chmove
Definition: dviconv.c:13

Definition at line 150 of file decompfont.c.

◆ ku

#define ku (   c)    ((c)>>8)

Definition at line 104 of file decompfont.c.

◆ ten

#define ten (   c)    ((c)&0xff)

Definition at line 105 of file decompfont.c.

Function Documentation

◆ dcmpdcd_fontdict()

DEV_FONT dcmpdcd_fontdict ( struct font_entry fe,
int  c 
)

Definition at line 224 of file decompfont.c.

References c, dcmpfinfo, font_entry::dev_fontdict, f, jis_to_dcode(), ku, and ten.

◆ dcmpdcd_markchar()

dcmpdcd_markchar ( int  c)

Definition at line 199 of file decompfont.c.

References c, dcmp_markchar, f, jis_to_dcode(), ku, and ten.

◆ dcmpdcd_setchar()

dcmpdcd_setchar ( unsigned int  c)

Definition at line 236 of file decompfont.c.

References c, dcmp_setchar, f, jis_to_dcode(), ku, and ten.

◆ dcmpdcd_setstring()

dcmpdcd_setstring ( byte s,
int  len 
)

Definition at line 248 of file decompfont.c.

References Fatal(), and G_progname.

◆ dcmpntt_fontdict()

DEV_FONT dcmpntt_fontdict ( struct font_entry fe,
int  c 
)

Definition at line 138 of file decompfont.c.

References c, dcmpfinfo, font_entry::dev_fontdict, f, jis_to_jsub(), ku, and ten.

◆ dcmpntt_markchar()

dcmpntt_markchar ( int  c)

Definition at line 113 of file decompfont.c.

References c, dcmp_markchar, f, jis_to_jsub(), ku, and ten.

◆ dcmpntt_setchar()

dcmpntt_setchar ( unsigned int  c)

Definition at line 156 of file decompfont.c.

References c, dcmp_setchar, f, jis_to_jsub(), ku, and ten.

◆ dcmpntt_setstring()

dcmpntt_setstring ( byte s,
int  len 
)

Definition at line 168 of file decompfont.c.

References Fatal(), and G_progname.

◆ decomptype_access() [1/2]

int decomptype_access ( )

◆ decomptype_access() [2/2]

decomptype_access ( struct decomp ffdcmp,
struct font_entry fe,
struct accarg acca 
)

◆ decomptype_init() [1/2]

int decomptype_init ( )

◆ decomptype_init() [2/2]

decomptype_init ( char *  pars,
struct decomp **  ff 
)

Definition at line 20 of file decompfont.c.

References CMP_DCD, CMP_NTT, decomp::dcmp_name, decomp::dcmp_type, FALSE, getstrtok(), NEW, p1, p2, STREQ, strsave(), and TRUE.

◆ init_dcmpdcd_fontinfo()

◆ init_dcmpntt_fontinfo()

◆ init_decomp_fontinfo() [1/2]

void init_decomp_fontinfo ( )

◆ init_decomp_fontinfo() [2/2]

void init_decomp_fontinfo ( struct font_entry fe)

Definition at line 69 of file decompfont.c.

References CMP_NTT, dcmpfinfo, init_dcmpdcd_fontinfo(), and init_dcmpntt_fontinfo().

◆ read_dcmpdcd_fontinfo()

◆ read_dcmpntt_fontinfo()

Variable Documentation

◆ dcmpop

struct fontop dcmpop
Initial value:
= {
"decomp",
}
int decomptype_init()
int decomptype_access()
void init_decomp_fontinfo()

Definition at line 12 of file decompfont.c.