This commit is contained in:
John Whitington 2022-09-29 14:39:43 +01:00
parent 49885d2eb7
commit f0d4d40fa7
1 changed files with 2 additions and 3 deletions

View File

@ -297,10 +297,9 @@ let remove_unneeded_tables major minor tables data =
newtables;
let bytes = bytes_of_write_bitstream bs in
Printf.printf "Made subset font of length %i bytes\n" (bytes_size bytes);
let o = open_out_bin "fontout.ttf" in
(*let o = open_out_bin "fontout.ttf" in
output_string o (string_of_bytes bytes);
close_out o;
close_out o;*)
bytes
let parse ?(subset=[]) data ~encoding =