Skip to content

Commit

Permalink
Ignore bad weight
Browse files Browse the repository at this point in the history
For some reason Triplicate returns the incorrect weight even though it
is actually bold. So just pretend it's good and it will display the
proper attributes.
  • Loading branch information
bentitmus committed Sep 30, 2020
1 parent 81db6c5 commit c3b6870
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion x.c
Original file line number Diff line number Diff line change
Expand Up @@ -926,7 +926,7 @@ xloadfont(Font *f, FcPattern *pattern)
XftResultMatch)) {
if ((XftPatternGetInteger(f->match->pattern, "weight", 0,
&haveattr) != XftResultMatch) || haveattr != wantattr) {
f->badweight = 1;
//f->badweight = 1;
fputs("font weight does not match\n", stderr);
}
}
Expand Down

0 comments on commit c3b6870

Please sign in to comment.