From 5acb0cc45b1d71137f54a402eeb861640c5afc7d Mon Sep 17 00:00:00 2001 From: Lu Wang Date: Mon, 6 Aug 2012 01:48:52 +0800 Subject: [PATCH] always use ttf fonts --- src/HTMLRenderer.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/HTMLRenderer.cc b/src/HTMLRenderer.cc index 8ea89ca..9c8622b 100644 --- a/src/HTMLRenderer.cc +++ b/src/HTMLRenderer.cc @@ -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