X-Git-Url: http://git.asbjorn.it/?a=blobdiff_plain;f=pdf2swf%2Fpdf2swf.cc;h=20f93486a819ba3e74534b57282320e833a03d35;hb=bcf752fad2a72693489ddb2f8726a8682d7d1161;hp=41ed77d16e23381e2a73e9841c1974c061081b3f;hpb=5e9fbf647b394bf1b3975b0f018958a82677f0d0;p=swftools.git diff --git a/pdf2swf/pdf2swf.cc b/pdf2swf/pdf2swf.cc index 41ed77d..20f9348 100644 --- a/pdf2swf/pdf2swf.cc +++ b/pdf2swf/pdf2swf.cc @@ -71,6 +71,11 @@ int args_callback_option(char*name,char*val) { pdfswf_linksopennewwindow(); return 0; } + else if (!strcmp(name, "f")) + { + pdfswf_storeallcharacters(); + return 0; + } else if (name[0]=='j') { if(name[1]) { @@ -102,6 +107,7 @@ struct options_t options[] = {"j","jpegquality"}, {"p","pages"}, {"w","samewindow"}, + {"f","fonts"}, {0,0} }; @@ -135,6 +141,7 @@ void args_callback_usage(char*name) printf("-j --jpegquality=quality Set quality of embedded jpeg pictures (default:85)\n"); printf("-v --verbose Be verbose. Use more than one -v for greater effect\n"); printf("-w --samewindow Don't open a new Browser Window for Links in the SWF\n"); + printf("-f --fonts Store full fonts in SWF. (Don't reduce to used characters)\n"); printf("-V --version Print program version\n"); }