freetype-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [ft-devel] regression from fix eca0f067 to Savannah bug #43679


From: Werner LEMBERG
Subject: Re: [ft-devel] regression from fix eca0f067 to Savannah bug #43679
Date: Thu, 27 Oct 2016 07:32:16 +0200 (CEST)

> 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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]