always use ttf fonts

This commit is contained in:
Lu Wang 2012-08-06 01:48:52 +08:00
parent e53b57f562
commit 5acb0cc45b
1 changed files with 1 additions and 1 deletions

View File

@ -758,7 +758,7 @@ void HTMLRenderer::install_embedded_type1c_font (GfxFont * font, long long fn_id
string fn = (boost::format("f%|1$x|")%fn_id).str();
ofstream tmpf((fn+".pfa").c_str(), ofstream::binary);
FFT1C->convertToType1((char*)fn.c_str(), nullptr, true, &output_to_file , &tmpf);
export_remote_font(fn_id, "otf");
export_remote_font(fn_id, "ttf");
delete FFT1C;
}
else