mirror of
https://github.com/pdf2htmlEX/pdf2htmlEX.git
synced 2024-12-21 20:50:07 +00:00
wipe out font names; fixes #486
This commit is contained in:
parent
ae0adbd0fe
commit
1a90525a8b
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user