| 1 |
arith.c |
| 2 |
/* void DLmult(struct *product,unsigned long u,unsigned long v); */ |
| 3 |
/* void DLdiv(struct *quotient,unsigned long divisor); */ |
| 4 |
/* void DLadd(struct *u,struct *v); */ |
| 5 |
/* void DLsub(struct *u,struct *v); */ |
| 6 |
extern long FPmult(long u,long v); |
| 7 |
extern long FPdiv(long dividend,long divisor); |
| 8 |
extern long FPstarslash(long a,long b,long c); |
| 9 |
basename.c |
| 10 |
extern int main(int argc,char **argv ); |
| 11 |
basics.c |
| 12 |
extern void fatal(char *fmt,...); |
| 13 |
extern void msg(char *fmt,...); |
| 14 |
bstring.c |
| 15 |
extern int memset(void *s,int c,int length); |
| 16 |
curves.c |
| 17 |
extern int BezierTerminationTest(long xa,long ya,long xb,long yb,long xc,long yc,long xd,long yd); |
| 18 |
static struct segment *StepBezierRecurse(struct bezierinfo *I,long xA,long yA,long xB,long yB,long xC,long yC,long xD,long yD); |
| 19 |
extern struct segment *t1_StepBezier(struct region *R,long xA,long yA,long xB,long yB,long xC,long yC,long xD,long yD); |
| 20 |
emxrun.c |
| 21 |
extern int main(int argc,char **argv ); |
| 22 |
extern int emx_system(char *cmd); |
| 23 |
encoding.c |
| 24 |
static char *value_after(char *s,char *t); |
| 25 |
extern int decimal(char *s); |
| 26 |
extern char nextsymbol(void); |
| 27 |
extern char *nextpsname(void); |
| 28 |
extern void getenc(char **fontname ,char **encname ,char **ev ,int *width); |
| 29 |
extern void addcc(char *name,int charcode); |
| 30 |
extern int getcc(char *name); |
| 31 |
extern char *string(char *s); |
| 32 |
extern void remove_string(void); |
| 33 |
filenames.c |
| 34 |
static char *charptr(char *name,char c); |
| 35 |
extern int equal(char *s,char *t); |
| 36 |
extern char *extension(char *str); |
| 37 |
extern char *newname(char *name,char *ext); |
| 38 |
extern char *ps2pk_basename(char *str,char *suffix); |
| 39 |
extern int ps_resource(char *name); |
| 40 |
flisearch.c |
| 41 |
extern int main(int argc,char **argv ); |
| 42 |
extern int matching(char *font,int size); |
| 43 |
fontfcn.c |
| 44 |
extern int SearchDictName(struct ps_dict *dictP,struct ps_obj *keyP); |
| 45 |
extern int initFont(void); |
| 46 |
extern void resetFont(char *env); |
| 47 |
extern int readFont(char *env); |
| 48 |
extern unsigned char *fontfcnB(unsigned char *S,unsigned char *code,int *lenP,int *mode); |
| 49 |
extern int fontfcnA(char *env,int *mode); |
| 50 |
extern void QueryFontLib(char *env,char *infoName,unsigned char *infoValue,int *rcodeP); |
| 51 |
hints.c |
| 52 |
extern void t1_InitHints(void); |
| 53 |
extern void t1_CloseHints(struct fractpoint *hintP); |
| 54 |
static void ComputeHint(struct hintsegment *hP,long currX,long currY,struct fractpoint *hintP); |
| 55 |
extern void t1_ProcessHint(struct hintsegment *hP,long currX,long currY,struct fractpoint *hintP); |
| 56 |
static short SearchXofY(struct edgelist *edge,short y); |
| 57 |
static int ImpliedHorizontalLine(struct edgelist *e1,struct edgelist *e2,int y); |
| 58 |
static void FixSubPaths(struct region *R); |
| 59 |
static void DumpSubPaths(struct edgelist *anchor); |
| 60 |
static struct edgelist *before(struct edgelist *e); |
| 61 |
static void writeXofY(struct edgelist *e,int y,int x); |
| 62 |
static void CollapseWhiteRun(struct edgelist *anchor,short yblack,struct edgelist *left,struct edgelist *right,short ywhite); |
| 63 |
extern void t1_ApplyContinuity(struct region *R); |
| 64 |
lines.c |
| 65 |
extern void t1_StepLine(struct region *R,long x1,long y1,long x2,long y2); |
| 66 |
extern void t1_Bresenham(short *edgeP,long x1,long y1,long x2,long y2); |
| 67 |
lspsres.c |
| 68 |
mag.c |
| 69 |
extern int main(int argc,char **argv ); |
| 70 |
extern int fontsize(double x); |
| 71 |
extern double stepsize(double x); |
| 72 |
objects.c |
| 73 |
extern struct xobject *t1_Allocate(int size,struct xobject *template,int extra); |
| 74 |
extern void t1_Free(struct xobject *obj); |
| 75 |
extern struct xobject *t1_Permanent(struct xobject *obj); |
| 76 |
extern struct xobject *xiTemporary(struct xobject *obj); |
| 77 |
extern struct xobject *t1_Dup(struct xobject *obj); |
| 78 |
extern struct xobject *t1_Copy(struct xobject *obj); |
| 79 |
extern struct xobject *t1_Destroy(struct xobject *obj); |
| 80 |
extern struct xobject *t1_Unique(struct xobject *obj); |
| 81 |
extern void t1_Pragmatics(char *username,int value); |
| 82 |
extern void t1_Consume(int n,...); |
| 83 |
extern struct xobject *t1_TypeErr(char *name,struct xobject *obj,int expect,struct xobject *ret); |
| 84 |
static char *TypeFmt(int type); |
| 85 |
static int ObjectPostMortem(struct xobject *obj); |
| 86 |
extern struct xobject *t1_ArgErr(char *str,struct xobject *obj,struct xobject *ret); |
| 87 |
extern void t1_abort(char *str); |
| 88 |
extern char *t1_ErrorMsg(void); |
| 89 |
extern void t1_InitImager(void); |
| 90 |
extern void t1_TermImager(void); |
| 91 |
extern void reportusage(void); |
| 92 |
paths.c |
| 93 |
extern struct segment *t1_CopyPath(struct segment *p0); |
| 94 |
extern void t1_KillPath(struct segment *p); |
| 95 |
extern struct segment *t1_Loc(struct XYspace *S,double x,double y); |
| 96 |
extern struct segment *t1_ILoc(struct XYspace *S,int x,int y); |
| 97 |
extern struct segment *t1_SubLoc(struct segment *p1,struct segment *p2); |
| 98 |
extern struct segment *t1_PathSegment(int type,long x,long y); |
| 99 |
extern struct segment *t1_Line(struct segment *P); |
| 100 |
extern struct beziersegment *t1_Bezier(struct segment *B,struct segment *C,struct segment *D); |
| 101 |
extern struct hintsegment *t1_Hint(struct XYspace *S,double ref,double width,char orientation,char hinttype,char adjusttype,char direction,int label); |
| 102 |
extern struct segment *t1_Join(struct segment *p1,struct segment *p2); |
| 103 |
extern struct segment *t1_JoinSegment(struct segment *before,int type,long x,long y,struct segment *after); |
| 104 |
extern struct segment *t1_ClosePath(struct segment *p0,int lastonly); |
| 105 |
extern struct segment *t1_Reverse(struct segment *p); |
| 106 |
static struct segment *ReverseSubPath(struct segment *p); |
| 107 |
static struct segment *DropSubPath(struct segment *p0); |
| 108 |
static struct segment *SplitPath(struct segment *anchor,struct segment *before); |
| 109 |
extern struct segment *t1_ReverseSubPaths(struct segment *p); |
| 110 |
static int UnClose(struct segment *p0); |
| 111 |
extern struct segment *t1_PathXform(struct segment *p0,struct XYspace *S); |
| 112 |
extern void t1_PathDelta(struct segment *p,struct fractpoint *pt); |
| 113 |
extern struct segment *t1_BoundingBox(short h,short w); |
| 114 |
extern void t1_QueryLoc(struct segment *P,struct XYspace *S,double *xP,double *yP); |
| 115 |
extern void t1_QueryPath(struct segment *path,int *typeP,struct segment **Bp ,struct segment **Cp ,struct segment **Dp ,double *fP); |
| 116 |
extern void t1_QueryBounds(struct segment *p0,struct XYspace *S,double *xminP,double *yminP,double *xmaxP,double *ymaxP); |
| 117 |
extern struct segment *t1_BoxPath(struct XYspace *S,int h,int w); |
| 118 |
extern struct segment *t1_DropSegment(struct segment *path); |
| 119 |
extern struct segment *t1_HeadSegment(struct segment *path); |
| 120 |
extern void t1_DumpPath(struct segment *p); |
| 121 |
pfb2pfa.c |
| 122 |
extern int main(int argc,char **argv ); |
| 123 |
pk2bm.c |
| 124 |
extern int main(int argc,char **argv ); |
| 125 |
extern unsigned char lsbf(unsigned char u); |
| 126 |
extern void dots(unsigned char u,int n); |
| 127 |
extern int atoo(char *oct); |
| 128 |
pkin.c |
| 129 |
static short pkbyte(void); |
| 130 |
static long pkquad(void); |
| 131 |
static long pktrio(void); |
| 132 |
static long pklong(void); |
| 133 |
static short pkopen(char *name); |
| 134 |
static short getnyb(void); |
| 135 |
static short getbit(void); |
| 136 |
static unsigned short pkpackednum(void); |
| 137 |
static unsigned short rest(void); |
| 138 |
static unsigned short handlehuge(unsigned short i,unsigned short k); |
| 139 |
/* void unpack(struct *cd); */ |
| 140 |
/* int readchar(char *name,short c,struct *cd); */ |
| 141 |
static void error(char *s); |
| 142 |
pkout.c |
| 143 |
extern void pk_open(char *pkname); |
| 144 |
extern void pk_close(void); |
| 145 |
static void pk_nybble(int x); |
| 146 |
static void pk1(int x); |
| 147 |
static void pk2(int x); |
| 148 |
static void pk3(int x); |
| 149 |
static void pk4(int x); |
| 150 |
extern void pk_preamble(char *comment,float pointsize,int checksum,unsigned int h_res,unsigned int v_res); |
| 151 |
extern int optimal_size(int W,int H,int cnt,int *count,int *dyn_f); |
| 152 |
static void pk_runlengths(int W,int H,int (*next_pixel)(void)); |
| 153 |
static void pk_number(int x); |
| 154 |
static void pk_bitmap(int width,int cnt,int *runlength); |
| 155 |
extern void pk_char(int char_code,int tfm_width,int h_escapement,unsigned int width,unsigned int height,int h_offset,int v_offset,int (*next_pixel)(void)); |
| 156 |
static void pkstring(char *fmt,...); |
| 157 |
extern int INT(float x); |
| 158 |
extern char *magnification(int dpi,int BDPI); |
| 159 |
extern void pk_postamble(void); |
| 160 |
extern void ps2pk_postamble(char *fontname,char *encname,int base_res,int h_res,int v_res,float pointsize,char *args); |
| 161 |
pktest.c |
| 162 |
extern int main(int argc,char **argv ); |
| 163 |
extern int next_pixel(void); |
| 164 |
ps2pk.c |
| 165 |
psargs.c |
| 166 |
psearch.c |
| 167 |
regions.c |
| 168 |
extern void t1_KillRegion(struct region *area); |
| 169 |
extern struct region *t1_CopyRegion(struct region *area); |
| 170 |
static struct edgelist *NewEdge(short xmin,short xmax,short ymin,short ymax,short *xvalues,int isdown); |
| 171 |
extern struct region *t1_Interior(struct segment *p,int fillrule); |
| 172 |
static int Unwind(struct edgelist *area); |
| 173 |
extern void t1_ChangeDirection(int type,struct region *R,long x,long y,long dy); |
| 174 |
static void newfilledge(struct region *R,long xmin,long xmax,long ymin,long ymax,int isdown); |
| 175 |
extern struct edgelist *t1_SortSwath(struct edgelist *anchor,struct edgelist *edge,struct edgelist *(*swathfcn)(void)); |
| 176 |
static struct edgelist *splitedge(struct edgelist *list,short y); |
| 177 |
static void vertjoin(struct edgelist *top,struct edgelist *bottom); |
| 178 |
extern struct edgelist *swathxsort(struct edgelist *before0,struct edgelist *edge); |
| 179 |
extern struct edgelist *t1_SwathUnion(struct edgelist *before0,struct edgelist *edge); |
| 180 |
extern struct edgelist *swathrightmost(struct edgelist *before,struct edgelist *edge); |
| 181 |
static int touches(int h,short *left,short *right); |
| 182 |
static int crosses(int h,short *left,short *right); |
| 183 |
static void cedgemin(int, pel *, pel); |
| 184 |
static void cedgemax(int, pel *, pel); |
| 185 |
static void edgemin(int, pel *, pel *); |
| 186 |
static void edgemax(int, pel *, pel *); |
| 187 |
static void discard(struct edgelist *left,struct edgelist *right); |
| 188 |
extern void t1_MoveEdges(struct region *R,long dx,long dy); |
| 189 |
extern void t1_UnJumble(struct region *region); |
| 190 |
static int OptimizeRegion(struct region *R); |
| 191 |
extern void t1_MoreWorkArea(struct region *R,long x1,long y1,long x2,long y2); |
| 192 |
extern struct region *t1_BoxClip(struct region *R,short xmin,short ymin,short xmax,short ymax); |
| 193 |
extern struct segment *t1_RegionBounds(struct region *R); |
| 194 |
extern void t1_DumpArea(struct region *area); |
| 195 |
extern void t1_DumpEdges(struct edgelist *edges); |
| 196 |
static int edgecheck(struct edgelist *edge,int oldmin,int oldmax); |
| 197 |
scanfont.c |
| 198 |
/* struct ps_obj *MakeEncodingArrayP(struct *encodingTable); */ |
| 199 |
extern int Init_BuiltInEncoding(void); |
| 200 |
static int getNextValue(int valueType); |
| 201 |
static int getInt(void); |
| 202 |
static int getEncoding(struct ps_obj *arrayP); |
| 203 |
static int getArray(struct ps_obj *arrayP); |
| 204 |
static int getName(char *nameP); |
| 205 |
static int getNbytes(int N); |
| 206 |
static int getLiteralName(struct ps_obj *nameObjP); |
| 207 |
static int BuildSubrs(struct ps_font *FontP); |
| 208 |
static int BuildCharStrings(struct ps_font *FontP); |
| 209 |
static int BuildFontInfo(struct ps_font *fontP); |
| 210 |
static int BuildPrivate(struct ps_font *fontP); |
| 211 |
static int GetType1Blues(struct ps_font *fontP); |
| 212 |
extern struct ps_obj *GetType1CharString(struct ps_font *fontP,unsigned char code); |
| 213 |
static int FindDictValue(struct ps_dict *dictP); |
| 214 |
extern int scan_font(struct ps_font *FontP); |
| 215 |
sexpr.c |
| 216 |
extern int main(int argc,char **argv ); |
| 217 |
spaces.c |
| 218 |
extern struct XYspace *t1_CopySpace(struct XYspace *S); |
| 219 |
static void ConsiderContext(struct xobject *obj,double (*M)[2]); |
| 220 |
extern void FXYConvert(struct fractpoint *pt,struct XYspace *S,double x,double y); |
| 221 |
extern void IXYConvert(struct fractpoint *pt,struct XYspace *S,long x,long y); |
| 222 |
extern void ForceFloat(struct fractpoint *pt,struct XYspace *S,long x,long y); |
| 223 |
extern long FXYboth(double cx,double cy,double x,double y); |
| 224 |
extern long FXonly(double cx,double cy,double x,double y); |
| 225 |
extern long FYonly(double cx,double cy,double x,double y); |
| 226 |
extern long IXYboth(long cx,long cy,long x,long y); |
| 227 |
extern long IXonly(long cx,long cy,long x,long y); |
| 228 |
extern long IYonly(long cx,long cy,long x,long y); |
| 229 |
extern long FPXYboth(long cx,long cy,long x,long y); |
| 230 |
extern long FPXonly(long cx,long cy,long x,long y); |
| 231 |
extern long FPYonly(long cx,long cy,long x,long y); |
| 232 |
static void FillOutFcns(struct XYspace *S); |
| 233 |
static void FindFfcn(double cx,double cy,long (**fcnP )(void)); |
| 234 |
static void FindIfcn(double cx,double cy,long *icxP,long *icyP,long (**fcnP )(void)); |
| 235 |
extern void t1_UnConvert(struct XYspace *S,struct fractpoint *pt,double *xp,double *yp); |
| 236 |
extern struct xobject *t1_Xform(struct xobject *obj,double (*M)[2]); |
| 237 |
extern struct xobject *t1_Transform(struct xobject *obj,double cxx,double cyx,double cxy,double cyy); |
| 238 |
extern struct xobject *t1_Scale(struct xobject *obj,double sx,double sy); |
| 239 |
extern void t1_PseudoSpace(struct XYspace *S,double (*M)[2]); |
| 240 |
extern void t1_MMultiply(double (*A)[2],double (*B)[2],double (*C)[2]); |
| 241 |
extern void t1_MInvert(double (*M)[2],double (*Mprime)[2]); |
| 242 |
extern void t1_InitSpaces(void); |
| 243 |
extern void t1_QuerySpace(struct XYspace *S,double *cxxP,double *cyxP,double *cxyP,double *cyyP); |
| 244 |
extern void t1_FormatFP(char *str,long fpel); |
| 245 |
extern void t1_DumpSpace(struct XYspace *S); |
| 246 |
strexpr.c |
| 247 |
extern struct val *make_int(int i); |
| 248 |
extern struct val *make_str(char *s); |
| 249 |
extern void free_value(struct val *vp); |
| 250 |
extern int is_integer(struct val *vp,int *r); |
| 251 |
extern int to_integer(struct val *vp); |
| 252 |
extern void to_string(struct val *vp); |
| 253 |
extern void nexttoken(void); |
| 254 |
extern struct val *eval6(void); |
| 255 |
extern struct val *eval4(void); |
| 256 |
extern struct val *eval3(void); |
| 257 |
extern int strexpr(int *result,char *expression); |
| 258 |
t1funcs.c |
| 259 |
extern int Type1OpenScalable(char **ev ,struct _Font **ppFont ,int flags,struct _FontEntry *entry,char *fileName,struct _FontScalable *vals,unsigned long format,unsigned long fmask,double efactor,double slant); |
| 260 |
static int Type1GetGlyphs(struct _Font *pFont,unsigned long count,unsigned char *chars,int charEncoding,unsigned long *glyphCount,struct _CharInfo **glyphs ); |
| 261 |
/* int Type1GetMetrics(struct _Font *pFont,unsigned long count,unsigned char *chars,int charEncoding,unsigned long *glyphCount,struct **glyphs ); */ |
| 262 |
extern void Type1CloseFont(struct _Font *pFont); |
| 263 |
static void fill(char *dest,int h,int w,struct region *area,int byte,int bit,int wordsize); |
| 264 |
static void fillrun(char *p,short x0,short x1,int bit); |
| 265 |
extern int Type1RegisterFontFileFunctions(void); |
| 266 |
t1info.c |
| 267 |
static void FillHeader(struct _FontInfo *pInfo,struct _FontScalable *Vals); |
| 268 |
/* void adjust_min_max(struct *minc,struct *maxc,struct *tmp); */ |
| 269 |
static void ComputeBounds(struct _FontInfo *pInfo,struct _CharInfo *pChars,struct _FontScalable *Vals); |
| 270 |
static void ComputeProps(struct _FontInfo *pInfo,struct _FontScalable *Vals,char *Filename); |
| 271 |
static void ComputeStdProps(struct _FontInfo *pInfo,struct _FontScalable *Vals,char *Filename,char *Fontname); |
| 272 |
extern int Type1GetInfoScalable(struct _FontPathElement *fpe,struct _FontInfo *pInfo,struct _FontEntry *entry,struct _FontName *fontName,char *fileName,struct _FontScalable *Vals); |
| 273 |
extern void T1FillFontInfo(struct _Font *pFont,struct _FontScalable *Vals,char *Filename,char *Fontname); |
| 274 |
extern void T1InitStdProps(void); |
| 275 |
t1io.c |
| 276 |
extern struct F_FILE *T1Open(char *fn,char *mode); |
| 277 |
extern int T1Getc(struct F_FILE *f); |
| 278 |
extern int T1Ungetc(int c,struct F_FILE *f); |
| 279 |
extern int T1Read(char *buffP,int size,int n,struct F_FILE *f); |
| 280 |
extern int T1Close(struct F_FILE *f); |
| 281 |
extern struct F_FILE *T1eexec(struct F_FILE *f); |
| 282 |
static int T1Decrypt(unsigned char *p,int len); |
| 283 |
static int T1Fill(struct F_FILE *f); |
| 284 |
t1snap.c |
| 285 |
extern unsigned __int64 __stdcall Int64ShllMod32(unsigned __int64 Value,unsigned long ShiftCount); |
| 286 |
extern __int64 __stdcall Int64ShraMod32(__int64 Value,unsigned long ShiftCount); |
| 287 |
extern unsigned __int64 __stdcall Int64ShrlMod32(unsigned __int64 Value,unsigned long ShiftCount); |
| 288 |
extern void *GetFiberData(void ); |
| 289 |
extern void *GetCurrentFiber(void ); |
| 290 |
extern struct segment *t1_Phantom(struct xobject *obj); |
| 291 |
extern struct xobject *t1_Snap(struct segment *p); |
| 292 |
t1stub.c |
| 293 |
extern int xiStub(void); |
| 294 |
extern void t1_DumpText(struct segment *foo); |
| 295 |
t1test.c |
| 296 |
extern int main(int argc,char **argv ); |
| 297 |
extern void Display(struct _CharInfo *glyph); |
| 298 |
extern int T1FillVals(struct _FontScalable *vals); |
| 299 |
extern int CheckFSFormat(int format,int fmask,int *bit,int *byte,int *scan,int *glyph,int *image); |
| 300 |
extern char *MakeAtom(char *p); |
| 301 |
extern int GetClientResolutions(int *resP); |
| 302 |
extern char *Xalloc(int size); |
| 303 |
extern void Xfree(void); |
| 304 |
extern int FontDefaultFormat(void); |
| 305 |
extern int FontFileRegisterRenderer(void); |
| 306 |
extern int GenericGetBitmaps(void); |
| 307 |
extern int GenericGetExtents(void); |
| 308 |
extern int FontParseXLFDName(void); |
| 309 |
extern int FontComputeInfoAccelerators(void); |
| 310 |
texfiles.c |
| 311 |
extern unsigned long num(struct _iobuf *fp,int size); |
| 312 |
extern int snum(struct _iobuf *fp,int size); |
| 313 |
token.c |
| 314 |
static double P10(long exponent); |
| 315 |
static int next_char(int ch); |
| 316 |
static int add_char(int ch); |
| 317 |
static int skip_space(int ch); |
| 318 |
static int skip_comment(int ch); |
| 319 |
static int add_sign(int ch); |
| 320 |
static int add_1st_digits(int ch); |
| 321 |
static int add_digits(int ch); |
| 322 |
static int add_1st_decpt(int ch); |
| 323 |
static int add_decpt(int ch); |
| 324 |
static int add_fraction(int ch); |
| 325 |
static int add_e_sign(int ch); |
| 326 |
static int add_exponent(int ch); |
| 327 |
static int add_radix(int ch); |
| 328 |
static int add_r_digits(int ch); |
| 329 |
static int RADIX_NUMBER(int ch); |
| 330 |
static int INTEGER(int ch); |
| 331 |
static int REAL(int ch); |
| 332 |
static int HEX_STRING(int ch); |
| 333 |
static void save_digraph(int ch); |
| 334 |
static int STRING(int ch); |
| 335 |
static int AAH_NAME(int ch); |
| 336 |
static int NAME(int ch); |
| 337 |
static int LITERAL_NAME(int ch); |
| 338 |
static int IMMED_NAME(int ch); |
| 339 |
static int OOPS_NAME(int ch); |
| 340 |
static int RIGHT_ANGLE(int ch); |
| 341 |
static int RIGHT_PAREN(int ch); |
| 342 |
static int LEFT_BRACE(int ch); |
| 343 |
static int RIGHT_BRACE(int ch); |
| 344 |
static int LEFT_BRACKET(int ch); |
| 345 |
static int RIGHT_BRACKET(int ch); |
| 346 |
static int BREAK_SIGNAL(int ch); |
| 347 |
static int NO_TOKEN(int ch); |
| 348 |
extern void scan_token(struct ps_obj *inputP); |
| 349 |
type1.c |
| 350 |
static int ComputeAlignmentZones(void); |
| 351 |
static int InitStems(void); |
| 352 |
static int FinitStems(void); |
| 353 |
static void ComputeStem(int stemno); |
| 354 |
static struct segment *Applyhint(struct segment *p,int stemnumber,int half); |
| 355 |
static struct segment *Applyrevhint(struct segment *p,int stemnumber,int half); |
| 356 |
static struct segment *FindStems(double x,double y,double dx,double dy); |
| 357 |
static void ClearStack(void); |
| 358 |
static void Push(double Num); |
| 359 |
static void ClearCallStack(void); |
| 360 |
static void PushCall(struct ps_obj *CurrStrP,int CurrIndex,unsigned short CurrKey); |
| 361 |
static void PopCall(struct ps_obj **CurrStrPP ,int *CurrIndexP,unsigned short *CurrKeyP); |
| 362 |
static void ClearPSFakeStack(void); |
| 363 |
static void PSFakePush(double Num); |
| 364 |
static double PSFakePop(void); |
| 365 |
static struct segment *CenterStem(double edge1,double edge2); |
| 366 |
static unsigned char Decrypt(unsigned char cipher); |
| 367 |
static int DoRead(int *CodeP); |
| 368 |
static void StartDecrypt(void); |
| 369 |
static void Decode(int Code); |
| 370 |
static void DoCommand(int Code); |
| 371 |
static void Type1Escape(int Code); |
| 372 |
static void HStem(double y,double dy); |
| 373 |
static void VStem(double x,double dx); |
| 374 |
static void RLineTo(double dx,double dy); |
| 375 |
static void RRCurveTo(double dx1,double dy1,double dx2,double dy2,double dx3,double dy3); |
| 376 |
static void DoClosePath(void); |
| 377 |
static void CallSubr(int subrno); |
| 378 |
static void Return(void); |
| 379 |
static void EndChar(void); |
| 380 |
static void RMoveTo(double dx,double dy); |
| 381 |
static void DotSection(void); |
| 382 |
static void Seac(double asb,double adx,double ady,unsigned char bchar,unsigned char achar); |
| 383 |
static void Sbw(double sbx,double sby,double wx,double wy); |
| 384 |
static double Div(double num1,double num2); |
| 385 |
static void FlxProc(double c1x2,double c1y2,double c3x0,double c3y0,double c3x1,double c3y1,double c3x2,double c3y2,double c4x0,double c4y0,double c4x1,double c4y1,double c4x2,double c4y2,double epY,double epX,int idmin); |
| 386 |
static void FlxProc1(void); |
| 387 |
static void FlxProc2(void); |
| 388 |
static void HintReplace(void); |
| 389 |
static void CallOtherSubr(int othersubrno); |
| 390 |
static void SetCurrentPoint(double x,double y); |
| 391 |
extern struct xobject *Type1Char(char *env,struct XYspace *S,struct ps_obj *charstrP,struct ps_obj *subrsP,struct ps_obj *osubrsP,struct blues_struct *bluesP,int *modeP); |
| 392 |
util.c |
| 393 |
extern int vm_init(void); |
| 394 |
extern char *vm_alloc(unsigned int bytes); |
| 395 |
extern void objFormatInteger(struct ps_obj *objP,int value); |
| 396 |
extern void objFormatReal(struct ps_obj *objP,double value); |
| 397 |
extern void objFormatBoolean(struct ps_obj *objP,int value); |
| 398 |
extern void objFormatEncoding(struct ps_obj *objP,int length,struct ps_obj *valueP); |
| 399 |
extern void objFormatArray(struct ps_obj *objP,int length,struct ps_obj *valueP); |
| 400 |
extern void objFormatString(struct ps_obj *objP,int length,char *valueP); |
| 401 |
extern void objFormatName(struct ps_obj *objP,int length,char *valueP); |
| 402 |
extern void objFormatFile(struct ps_obj *objP,struct _iobuf *valueP); |