Skip to content

Commit

Permalink
SFFont.getLineSpacing now returns a float
Browse files Browse the repository at this point in the history
  • Loading branch information
fccm committed Aug 29, 2019
1 parent 05448f6 commit 12be1ff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/ex_font.ml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
let test f =
begin
let font = f () in
Printf.printf "line spacing: %d\n%!" (SFFont.getLineSpacing font 1);
Printf.printf "line spacing: %g\n%!" (SFFont.getLineSpacing font 1);
end;
Gc.full_major ();
print_endline "Done";
Expand Down

0 comments on commit 12be1ff

Please sign in to comment.