> The problem is the change below - the two fonts have "num_records =
> 0' and 'record_size =0'.  I think if 'num_records = 0' any
> record_size should be valid :-).

Fixed in git, thanks!  Please test.

> Does this code assumes truetype fonts must have at least two glyphs
> (thus record_size is minimum 4)?  and which two - notdef and nbsp?

No.  The size of a device record is long aligned according to the
specification, thus it can't be smaller than 4 bytes (if there is data
at all).


    Werner

_______________________________________________
Freetype-devel mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/freetype-devel

Reply via email to