X-Git-Url: http://git.asbjorn.it/?a=blobdiff_plain;f=pdf2swf%2Fswfoutput.h;h=1efc9ccd448f7f89dfc6d44434214a588ee944da;hb=0e916263b32f4920c2f5581caa77985bf1992081;hp=530d11c2529bdd518829e7eebedfe8f4e2497f7c;hpb=92c5f229fdf4d1a1d1efd8205dae033e70d07a1a;p=swftools.git diff --git a/pdf2swf/swfoutput.h b/pdf2swf/swfoutput.h index 530d11c..1efc9cc 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,7 @@ 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); char*getName(); char*getCharName(int t); int getCharWidth(int t) {return width[t];} @@ -90,7 +93,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*);