mirror of
https://github.com/pdf2htmlEX/pdf2htmlEX.git
synced 2024-12-22 13:00:08 +00:00
fix #100
This commit is contained in:
parent
942b11633d
commit
4fabd5abf0
@ -260,12 +260,14 @@ void ffw_cidflatten(void)
|
|||||||
SFFlatten(cur_fv->sf->cidmaster);
|
SFFlatten(cur_fv->sf->cidmaster);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
|
* There is no check if a glyph with the same unicode exists!
|
||||||
|
*/
|
||||||
void ffw_add_empty_char(int32_t unicode, int width)
|
void ffw_add_empty_char(int32_t unicode, int width)
|
||||||
{
|
{
|
||||||
// append the new char to Enc
|
|
||||||
SplineChar * sc = SFMakeChar(cur_fv->sf, cur_fv->map, cur_fv->map->enccount);
|
SplineChar * sc = SFMakeChar(cur_fv->sf, cur_fv->map, cur_fv->map->enccount);
|
||||||
sc->unicodeenc = unicode;
|
SCSetMetaData(sc, sc->name, unicode, sc->comment);
|
||||||
sc->width = width;
|
SCSynchronizeWidth(sc, width, sc->width, cur_fv);
|
||||||
}
|
}
|
||||||
|
|
||||||
int ffw_get_em_size(void)
|
int ffw_get_em_size(void)
|
||||||
|
Loading…
Reference in New Issue
Block a user