Skip to content

Commit

Permalink
[11_20] bin/format
Browse files Browse the repository at this point in the history
  • Loading branch information
da-liii committed Dec 16, 2023
1 parent 7893587 commit 133d188
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/Graphics/Fonts/virtual_font.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -787,15 +787,15 @@ virtual_font_rep::compile_bis (scheme_tree t, metric& ex) {

if (is_tuple (t, "junc-left", 2) && is_double (t[2])) {
glyph gl1= compile (t[1], ex);
SI w = (SI) (as_double (t[2]) * (ex->x2 - ex->x1));
int jw= max (w / PIXEL, 0);
SI w = (SI) (as_double (t[2]) * (ex->x2 - ex->x1));
int jw = max (w / PIXEL, 0);
return junc_left (compile (t[1], ex), jw);
}

if (is_tuple (t, "junc-right", 2) && is_double (t[2])) {
glyph gl1= compile (t[1], ex);
SI w = (SI) (as_double (t[2]) * (ex->x2 - ex->x1));
int jw= max (w / PIXEL, 0);
SI w = (SI) (as_double (t[2]) * (ex->x2 - ex->x1));
int jw = max (w / PIXEL, 0);
return junc_right (compile (t[1], ex), jw);
}

Expand Down

0 comments on commit 133d188

Please sign in to comment.