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

sync with fontforge master

This commit is contained in:
Lu Wang 2014-06-30 12:16:55 -07:00
parent 9c0b2a8a74
commit 11ae1fbad0

View File

@ -253,7 +253,7 @@ void ffw_reencode_raw2(char ** mapping, int mapping_len, int force)
enc->enc_name = strcopy(""); enc->enc_name = strcopy("");
enc->char_cnt = mapping_len; enc->char_cnt = mapping_len;
enc->unicode = (int32_t*)malloc(mapping_len * sizeof(int32_t)); enc->unicode = (int32_t*)malloc(mapping_len * sizeof(int32_t));
enc->psnames = (const char**)calloc(mapping_len, sizeof(char*)); enc->psnames = (char**)calloc(mapping_len, sizeof(char*));
int i; int i;
for(i = 0; i < mapping_len; ++i) for(i = 0; i < mapping_len; ++i)
{ {