mirror of
https://github.com/pdf2htmlEX/pdf2htmlEX.git
synced 2024-12-22 13:00:08 +00:00
..
This commit is contained in:
parent
d53e77a6f3
commit
4fa6a89925
@ -440,7 +440,7 @@ long long HTMLRenderer::install_font(GfxFont * font)
|
|||||||
|
|
||||||
void HTMLRenderer::install_embedded_font (GfxFont * font, long long fn_id)
|
void HTMLRenderer::install_embedded_font (GfxFont * font, long long fn_id)
|
||||||
{
|
{
|
||||||
//generate script for fontforge
|
// fontforge doesn't fully support ToUnicode CMap, so we have to generate the encoding for fontforge
|
||||||
fontscript_fout << boost::format("Open(\"%1%(%2%)\",1)") % param->input_filename % font->getName()->getCString() << endl;
|
fontscript_fout << boost::format("Open(\"%1%(%2%)\",1)") % param->input_filename % font->getName()->getCString() << endl;
|
||||||
if(font->hasToUnicodeCMap() && (font->getType() == fontTrueType))
|
if(font->hasToUnicodeCMap() && (font->getType() == fontTrueType))
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user