freetype2/include/freetype/internal
Alexei Podtelezhnikov 0dc811b548 [truetype] Binary search through `hdmx` records.
The `hdmx` table is supposed to be sorted by ppem size, which
enables binary search.  We also drop the check for the sufficient
length of the record because it is now enforced when the table
is loaded.

* include/freetype/internal/tttypes.h (TT_FaceRec): Store the `hdmx`
record pointers sorted by ppem instead of ppem's themselves.
* src/truetype/ttpload.c (tt_face_load_hdmx): Prudently sort records.
(tt_face_get_device_metrics): Implement binary search to retrieve
advances.
2021-12-10 22:32:05 -05:00
..
services Update all copyright notices. 2021-01-17 07:18:48 +01:00
autohint.h Update all copyright notices. 2021-01-17 07:18:48 +01:00
cffotypes.h Update all copyright notices. 2021-01-17 07:18:48 +01:00
cfftypes.h Update all copyright notices. 2021-01-17 07:18:48 +01:00
compiler-macros.h Support architectures where `long` is smaller than pointers. 2021-07-15 12:09:04 +02:00
ftcalc.h Explicitly define `FT_MSB` for Clang. 2021-11-11 23:06:36 -05:00
ftdebug.h [dlg] Define DLG_STATIC explicitly. 2021-11-07 10:20:16 -05:00
ftdrv.h Update all copyright notices. 2021-01-17 07:18:48 +01:00
ftgloadr.h * include/freetype/internal/ftgloadr.h: Add missing header. 2021-10-04 23:55:46 -04:00
fthash.h Remove redundant inclusion of `ft2build.h'. 2020-06-13 21:15:45 +02:00
ftmemory.h Fix typos in memory macros. 2021-10-15 22:18:38 -04:00
ftobjs.h [base] Fix ppem size overflow. 2021-08-18 07:27:02 +02:00
ftpsprop.h Update all copyright notices. 2021-01-17 07:18:48 +01:00
ftrfork.h Update all copyright notices. 2021-01-17 07:18:48 +01:00
ftserv.h Update all copyright notices. 2021-01-17 07:18:48 +01:00
ftstream.h Propagate sign when reading OFF3. 2021-09-24 22:14:22 -04:00
fttrace.h Small clean-ups for the last few commits. 2021-07-12 22:03:25 +02:00
ftvalid.h Update all copyright notices. 2021-01-17 07:18:48 +01:00
psaux.h Update all copyright notices. 2021-01-17 07:18:48 +01:00
pshints.h Update all copyright notices. 2021-01-17 07:18:48 +01:00
sfnt.h Update `CHANGES` files, other minor whitespace and documentation issues. 2021-11-22 19:58:21 +01:00
t1types.h Update all copyright notices. 2021-01-17 07:18:48 +01:00
tttypes.h [truetype] Binary search through `hdmx` records. 2021-12-10 22:32:05 -05:00
wofftypes.h [woff] Optimize table tagging. 2021-10-27 22:36:11 -04:00