Skip to content

Commit

Permalink
two 16-bit integers are 4 bytes, not 6
Browse files Browse the repository at this point in the history
  • Loading branch information
jamis committed Jan 2, 2009
1 parent b625caf commit 4c9f18c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/ttfunk/table/cmap/format00.rb
Expand Up @@ -44,7 +44,7 @@ def supported?
private

def parse_cmap!
length, @language = read(6, "nn")
length, @language = read(4, "nn")
@code_map = read(256, "C*")
end
end
Expand Down

0 comments on commit 4c9f18c

Please sign in to comment.