Skip to content

Commit

Permalink
[absfont_dump] Ubuntu flake8 fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
kaydeearts committed Mar 29, 2023
1 parent ba2e048 commit a526a83
Showing 1 changed file with 4 additions and 8 deletions.
12 changes: 4 additions & 8 deletions c/shared/source/absfont/absfont_dump.c
Original file line number Diff line number Diff line change
Expand Up @@ -346,11 +346,9 @@ void abfDumpBegFont(abfDumpCtx h, abfTopDict *top) {
/* UFO can store names even when CID-keyed */
if (top->sup.srcFontType == 7) {
FPRINTF_S(h->fp, "## glyph[tag] {name,cid,iFD");
}
else {
} else {
FPRINTF_S(h->fp, "## glyph[tag] {cid,iFD");
}
else
} else
FPRINTF_S(h->fp, "## glyph[tag] {name,encoding");
if (h->flags & DUMP_LANG_GROUP)
FPRINTF_S(h->fp, ",LanguageGroup");
Expand All @@ -375,11 +373,9 @@ static int glyphBeg(abfGlyphCallbacks *cb, abfGlyphInfo *info) {
/* Dump CID-keyed glyph. Check for names first since UFO can store name and CID */
if (info->gname.ptr != NULL) {
FPRINTF_S(h->fp, "%s,%hu,%u", info->gname.ptr, info->cid, info->iFD);
}
else {
} else {
FPRINTF_S(h->fp, "%hu,%u", info->cid, info->iFD);
}
else {
} else {
/* Dump name-keyed glyph */
abfEncoding *enc = &info->encoding;
if (info->gname.ptr == NULL)
Expand Down

0 comments on commit a526a83

Please sign in to comment.