1
0
mirror of https://github.com/pdf2htmlEX/pdf2htmlEX.git synced 2024-12-22 13:00:08 +00:00

set std glyph name when creating empty char

This commit is contained in:
Lu Wang 2013-05-04 22:05:43 +08:00
parent daece48bd7
commit 769f081609

View File

@ -267,7 +267,11 @@ void ffw_cidflatten(void)
void ffw_add_empty_char(int32_t unicode, int width)
{
SplineChar * sc = SFMakeChar(cur_fv->sf, cur_fv->map, cur_fv->map->enccount);
SCSetMetaData(sc, sc->name, unicode, sc->comment);
char buffer[400];
SCSetMetaData(sc,
strcopy(StdGlyphName(buffer, unicode,
cur_fv->sf->uni_interp, cur_fv->sf->for_new_glyphs)),
unicode, sc->comment);
SCSynchronizeWidth(sc, width, sc->width, cur_fv);
}