mirror of
https://github.com/pdf2htmlEX/pdf2htmlEX.git
synced 2024-12-21 20:50:07 +00:00
do not abort when attempting to flatten a non-CID font
This commit is contained in:
parent
cb825f3691
commit
4da3a78821
@ -283,8 +283,11 @@ void ffw_reencode_raw2(char ** mapping, int mapping_len, int force)
|
||||
|
||||
void ffw_cidflatten(void)
|
||||
{
|
||||
if(!cur_fv->sf->cidmaster)
|
||||
err("Cannot flatten a non-CID font");
|
||||
if(!cur_fv->sf->cidmaster)
|
||||
{
|
||||
fprintf(stderr, "Cannot flatten a non-CID font\n");
|
||||
return;
|
||||
}
|
||||
SFFlatten(cur_fv->sf->cidmaster);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user