freetype/src
Werner Lemberg ded4bdb5d0 [base] More sanity checks for Mac resources.
We use

  https://github.com/kreativekorp/ksfl/wiki/Macintosh-Resource-File-Format

and

  https://developer.apple.com/legacy/library/documentation/mac/pdf/MoreMacintoshToolbox.pdf#page=151

as references.

* include/freetype/internal/ftrfork.h (FT_RFork_Ref): Use FT_Short
for `res_id'.

* src/base/ftrfork.c (FT_Raccess_Get_HeaderInfo): Extract map length
and use it to improve sanity checks.
Follow the specification more closely;in particular, all data types
are signed, not unsigned.
(FT_Raccess_Get_DataOffsets): Follow the specification more closely;
in particular, all data types are signed, not unsigned.
Add some sanity checks.
2016-12-20 23:26:38 +01:00
..
autofit [autofit] Fix Emscripten crash (patch #9180). 2016-12-01 07:07:22 +01:00
base [base] More sanity checks for Mac resources. 2016-12-20 23:26:38 +01:00
bdf Use FT_SET_ERROR where useful. Other minor code formatting. 2016-12-17 20:47:42 +01:00
bzip2 Update copyright year. 2016-01-13 11:54:10 +01:00
cache s/0/NULL/ for function pointers; comments, formatting. 2016-09-17 17:12:50 +02:00
cff [truetype] Improve logic for getting fast advance widths. 2016-12-20 12:27:22 +01:00
cid * src/cid/cidload.c (cid_face_open): Properly propagate `error'. 2016-10-08 20:26:59 +02:00
gxvalid More FT_ZERO usage. 2016-09-28 19:10:52 +02:00
gzip [gzip] Improve building with external zlib (#49673). 2016-12-01 11:36:37 +01:00
lzw [lzw] Optimize last commit. 2016-08-16 13:44:38 +02:00
otvalid s/0/NULL/ for function pointers; comments, formatting. 2016-09-17 17:12:50 +02:00
pcf Use FT_SET_ERROR where useful. Other minor code formatting. 2016-12-17 20:47:42 +01:00
pfr Use FT_SET_ERROR where useful. Other minor code formatting. 2016-12-17 20:47:42 +01:00
psaux Use FT_SET_ERROR where useful. Other minor code formatting. 2016-12-17 20:47:42 +01:00
pshinter */*: s/FT_MEM_ZERO/FT_ZERO/ where appropriate. 2016-09-28 19:06:21 +02:00
psnames s/0/NULL/ for function pointers; comments, formatting. 2016-09-17 17:12:50 +02:00
raster More FT_ZERO usage. 2016-09-28 19:10:52 +02:00
sfnt [sfnt] Handle `fvar' with zero axes as a non-MM font. 2016-12-18 15:50:18 +01:00
smooth [smooth] Revert previous commit. Already fixed with 6ca54c64. 2016-11-29 18:45:22 +01:00
tools URL updates. 2016-10-13 22:52:40 -04:00
truetype [truetype] Improve logic for getting fast advance widths. 2016-12-20 12:27:22 +01:00
type1 More code formatting. 2016-12-17 21:05:54 +01:00
type42 */*: s/FT_MEM_ZERO/FT_ZERO/ where appropriate. 2016-09-28 19:06:21 +02:00
winfonts Introduce a way of quickly retrieving (embedded) bitmap metrics. 2016-11-06 12:32:51 +01:00
Jamfile Update copyright year. 2016-01-13 11:54:10 +01:00