UI fix, disable thumbnail option, batch index size option

This commit is contained in:
2019-12-01 10:57:29 -05:00
parent 4346c3e063
commit d816dae8b3
12 changed files with 79 additions and 46 deletions

View File

@@ -167,6 +167,10 @@ void parse_font(const char *buf, size_t buf_len, document_t *doc) {
strcpy(meta_name->strval, font_name);
APPEND_META(doc, meta_name)
if (ScanCtx.tn_size <= 0) {
return;
}
int pixel = 64;
int num_chars = (int) strlen(font_name);