X-Git-Url: http://git.asbjorn.biz/?a=blobdiff_plain;f=pdf2swf%2Fttf2pt1%2Fglobal.h;h=d131adb4a3848aaa47f3960c1a27d16a62b7610e;hb=108511d4d44407f9e8b1d6dbb8bafcda5b331973;hp=d8e9b025eb085db863d40306afcb9123eb4ae87f;hpb=92c5f229fdf4d1a1d1efd8205dae033e70d07a1a;p=swftools.git diff --git a/pdf2swf/ttf2pt1/global.h b/pdf2swf/ttf2pt1/global.h index d8e9b02..d131adb 100644 --- a/pdf2swf/ttf2pt1/global.h +++ b/pdf2swf/ttf2pt1/global.h @@ -26,13 +26,19 @@ extern int hints; /* enables autogeneration of hints */ extern int subhints; /* enables autogeneration of substituted hints */ extern int trybold; /* try to guess whether the font is bold */ extern int correctwidth; /* try to correct the character width */ +extern int vectorize; /* vectorize the bitmaps */ +extern int use_autotrace; /* use the autotrace library on bitmap */ +/* options - suboptions of File Generation */ +extern int gen_pfa; /* generate the font file */ +extern int gen_afm; /* generate the metrics file */ +extern int gen_dvienc; /* generate the dvips encoding file */ /* not quite options to select a particular source encoding */ extern int force_pid; /* specific platform id */ extern int force_eid; /* specific encoding id */ /* other globals */ -extern FILE *pfa_file, *afm_file; +extern FILE *null_file, *pfa_file, *afm_file, *dvienc_file; extern int numglyphs; /* warnings */ @@ -106,6 +112,10 @@ extern int numglyphs; int iscale( int val); double fscale( double val); int unicode_rev_lookup( int unival); +void bmp_outline( GLYPH *g, int scale, char *bmap, + int xsz, int ysz, int xoff, int yoff); +int isign( int x); +int fsign( double x); /* global metrics for a font */