This commit is contained in:
John Whitington 2022-09-21 20:36:14 +01:00
parent 81b9bf49a6
commit 3457664d3f
2 changed files with 1 additions and 2 deletions

View File

@ -3,6 +3,7 @@
New features: New features:
o Embed TrueType fonts with -font-ttf for -add-text et al. o Embed TrueType fonts with -font-ttf for -add-text et al.
o Embed the 14 standard fonts
o Add links to parts of text with -add-text as %URL[|]. o Add links to parts of text with -add-text as %URL[|].
Extended features: Extended features:

View File

@ -65,8 +65,6 @@ let read_format_6_encoding_table b =
let firstCode = read_ushort b in let firstCode = read_ushort b in
let entryCount = read_ushort b in let entryCount = read_ushort b in
let t = null_hash () in let t = null_hash () in
(* FIXME: This format can address glyphs > 255, but we don't support that
elsewhere yet --- but we read the whole format table nonethless *)
try try
for x = firstCode to firstCode + entryCount - 1 do for x = firstCode to firstCode + entryCount - 1 do
Hashtbl.add t x (read_ushort b) Hashtbl.add t x (read_ushort b)