chickadee » pdf-truetype » read-truetype-font

read-truetype-font BYTEVECTORprocedure

Parses the TrueType font file held in BYTEVECTOR (see read-byte-file) and returns a truetype-font. Raises an error, naming the problem, for data that is not a supported TrueType font, is truncated, or lacks one of the required tables (head, hhea, hmtx, cmap, post).