mirror of
https://github.com/pdf2htmlEX/pdf2htmlEX.git
synced 2024-12-22 13:00:08 +00:00
always use ttf fonts
This commit is contained in:
parent
e53b57f562
commit
5acb0cc45b
@ -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();
|
string fn = (boost::format("f%|1$x|")%fn_id).str();
|
||||||
ofstream tmpf((fn+".pfa").c_str(), ofstream::binary);
|
ofstream tmpf((fn+".pfa").c_str(), ofstream::binary);
|
||||||
FFT1C->convertToType1((char*)fn.c_str(), nullptr, true, &output_to_file , &tmpf);
|
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;
|
delete FFT1C;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
Loading…
Reference in New Issue
Block a user