Skip to content

Commit

Permalink
Merge pull request #293 from nonelement/fix-warning-text
Browse files Browse the repository at this point in the history
fix warning text for bad sxHeight
  • Loading branch information
khaledhosny authored Jan 7, 2025
2 parents 0dd1b11 + 03a1404 commit 41136f2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/os2.cc
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@ bool OpenTypeOS2::Parse(const uint8_t *data, size_t length) {
}

if (this->table.x_height < 0) {
Warning("Bad sxHeight settig it to 0: %d", this->table.x_height);
Warning("Bad sxHeight setting it to 0: %d", this->table.x_height);
this->table.x_height = 0;
}
if (this->table.cap_height < 0) {
Expand Down

0 comments on commit 41136f2

Please sign in to comment.