Skip to content

Commit

Permalink
[hotconv] fix warning for negative TypoLineGap.
Browse files Browse the repository at this point in the history
  • Loading branch information
NSGod authored and kaydeearts committed Jun 8, 2023
1 parent 88b5cdd commit cb2e003
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion c/makeotf/lib/hotconv/hot.c
Original file line number Diff line number Diff line change
Expand Up @@ -764,7 +764,7 @@ static void prepWinData(hotCtx g) {
}

/* warn if the line gap is negative. */
if (font->TypoAscender < 0) {
if (font->TypoLineGap < 0) {
hotMsg(g, hotWARNING, "The feature file OS/2 override TypoLineGap value is negative!");
}

Expand Down

0 comments on commit cb2e003

Please sign in to comment.