1
0
mirror of https://github.com/pdf2htmlEX/pdf2htmlEX.git synced 2024-07-07 10:20:33 +00:00

wipe out font names; fixes #486

This commit is contained in:
Lu Wang 2015-05-02 17:16:10 +08:00
parent ae0adbd0fe
commit 1a90525a8b

View File

@ -157,6 +157,13 @@ void ffw_prepare_font(void)
}
}
}
/*
* Wipe out font name
* browsers may rejects fonts with malformed font names
*/
free(sf->fontname);
sf->fontname = strcopy("");
}
void ffw_save(const char * filename)