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