From 6e86be10767600021918a41c4dfe570c4042f8a4 Mon Sep 17 00:00:00 2001 From: Lu Wang Date: Wed, 8 Aug 2012 21:13:54 +0800 Subject: [PATCH] force open in ff script --- src/HTMLRenderer.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/HTMLRenderer.cc b/src/HTMLRenderer.cc index dc08dec..402da94 100644 --- a/src/HTMLRenderer.cc +++ b/src/HTMLRenderer.cc @@ -437,7 +437,7 @@ long long HTMLRenderer::install_font(GfxFont * font) void HTMLRenderer::install_embedded_font (GfxFont * font, long long fn_id) { //generate script for fontforge - fontscript_fout << boost::format("Open(\"%1%(%2%)\")") % param->input_filename % font->getName()->getCString() << endl; + fontscript_fout << boost::format("Open(\"%1%(%2%)\",1)") % param->input_filename % font->getName()->getCString() << endl; fontscript_fout << boost::format("Generate(\"f%|1$x|.ttf\")") % fn_id << endl; export_remote_font(fn_id, ".ttf", "truetype", font);