X-Git-Url: http://git.asbjorn.biz/?a=blobdiff_plain;f=pdf2swf%2Fswfoutput.h;h=47f1a6c5c08d05457a79d3ca6521966fbd3d4e14;hb=1592b59ab70de77446cacc437f984c846d10c404;hp=530d11c2529bdd518829e7eebedfe8f4e2497f7c;hpb=c4a755fa06ba517f247c19a16fccc84a6c64daed;p=swftools.git diff --git a/pdf2swf/swfoutput.h b/pdf2swf/swfoutput.h index 530d11c..47f1a6c 100644 --- a/pdf2swf/swfoutput.h +++ b/pdf2swf/swfoutput.h @@ -46,6 +46,9 @@ class SWFFont U16*swfcharid2char; int swfcharpos; + char**standardtable; + int standardtablesize; + public: int t1id; @@ -55,7 +58,8 @@ class SWFFont SWFFont(char*name, int t1id, char*filename); SWFFont::~SWFFont(); T1_OUTLINE*getOutline(char*charname); - int getSWFCharID(char*name); + int getSWFCharID(char*name, int charnr); + int getWidth(char*name); char*getName(); char*getCharName(int t); int getCharWidth(int t) {return width[t];} @@ -90,7 +94,7 @@ void swfoutput_setstrokecolor(struct swfoutput*, unsigned char r, unsigned char void swfoutput_setfontmatrix(struct swfoutput*,double,double,double,double); void swfoutput_setlinewidth(struct swfoutput*, double linewidth); -void swfoutput_drawchar(struct swfoutput*,double x,double y,char*a); +void swfoutput_drawchar(struct swfoutput*,double x,double y,char*a, int charnr); void swfoutput_drawpath(struct swfoutput*, T1_OUTLINE*outline, struct swfmatrix*m); void swfoutput_startclip(struct swfoutput*, T1_OUTLINE*outline, struct swfmatrix*m); void swfoutput_endclip(struct swfoutput*); @@ -117,6 +121,7 @@ void swfoutput_drawimageagain(struct swfoutput*, int id, int sizex, int sizey, void swfoutput_linktopage(struct swfoutput*, int page, swfcoord*points); void swfoutput_linktourl(struct swfoutput*, char*url, swfcoord*points); +void swfoutput_namedlink(struct swfoutput*obj, char*name, swfcoord*points); void swfoutput_destroy(struct swfoutput*);