src/hb-open-file-private.hh


Log

Author Commit Date CI Message
Behdad Esfahbod be218c68 2012-11-23T15:32:14 Pass this object to trace macros
Behdad Esfahbod 7d52e660 2012-11-16T18:49:54 Whitespace
Behdad Esfahbod 7c8e844d 2012-08-28T17:57:49 Use namespace for OpenType tables Avoids USHORT, SHORT, ULONG, LONG clashes with Windows API.
Behdad Esfahbod ec8d2494 2012-07-24T15:40:37 Make data members of various OpenType structs protected instead of private Should fix warnings generated when building with -Wunused-private-field. Based on patch from Jonathan Kew.
Behdad Esfahbod 0ab8c862 2012-05-11T01:25:34 Annotate SANITIZE return values More to come, for APPLY, CLOSURE, etc.
Behdad Esfahbod c605bbbb 2011-08-04T20:00:53 Remove C++ guards from source files Where causing issues for people with MSVC.
Behdad Esfahbod 4f28fbdd 2011-05-31T12:33:11 Fix TTC header handling Also change the Version type to avoid similar bugs in the future. Reported by Grigori Goronzy.
Behdad Esfahbod 2409d5f8 2011-04-21T17:14:28 Update Copyright headers
Behdad Esfahbod 22c53765 2010-12-14T23:51:29 Rename TableDirectory to TableRecord as per OpenType 1.6
Behdad Esfahbod acdba3f9 2010-07-23T15:11:18 Prefer C linkage
Behdad Esfahbod 2f418f57 2010-07-07T22:07:40 Remove useless TODO
Behdad Esfahbod d7cfb3b2 2010-05-13T14:18:49 s/\<context\>/c/g
Behdad Esfahbod 4c20d8c0 2010-05-10T23:27:54 Sprinkle a few strategic likely()'s Shrinks the code size by some 2% even.
Behdad Esfahbod b5db4f1e 2010-05-10T22:22:22 Clean up NO_INDEX
Behdad Esfahbod dacebcad 2010-05-10T19:45:41 Simplify unions
Behdad Esfahbod 0eb9fc6e 2010-05-10T19:01:17 Change DEFINE_SIZE_VAR to DEFINE_SIZE_ARRAY
Behdad Esfahbod bea34c7c 2010-05-10T17:28:16 Further cleanup of DEFINE_SIZE
Behdad Esfahbod b3651231 2010-05-10T16:57:29 Remove ASSERT_SIZE in favor of the safer DEFINE_SIZE_STATIC
Behdad Esfahbod 569da92b 2010-05-10T16:38:32 Cleanup ASSERT_SIZE_VAR
Behdad Esfahbod e45d3f86 2010-05-06T19:33:31 Start cleaning up get_size() So we know when the size is static and when dynamic.
Behdad Esfahbod b1576176 2010-05-06T14:48:27 Remove the last of SANITIZE macros: SANITIZE_SELF
Behdad Esfahbod 4f252fed 2010-05-06T13:30:23 Remove SANITIZE macro
Behdad Esfahbod 41a93d2c 2010-05-06T12:55:14 Remove SANITIZE_WITH_BASE
Behdad Esfahbod 1cd1e117 2010-05-05T20:15:14 Remove SANITIZE_ARRAY
Behdad Esfahbod 583d7f95 2010-05-05T01:49:22 Cosmetic
Behdad Esfahbod 39840474 2010-05-05T00:23:19 Remove SANITIZE_ARG_DEF and SANITIZE_ARG
Behdad Esfahbod bb029af9 2010-05-04T15:28:52 Remove SANITIZE_THIS
Behdad Esfahbod ce5694c7 2010-05-04T14:10:18 [main] Recognize Apple SFNTs
Behdad Esfahbod 710500a9 2010-05-03T23:11:16 Comment new SFNT tags
Behdad Esfahbod 64d3fc8d 2010-05-03T22:51:19 Cosmetic: Rename HB_LIKELY/HB_UNLIKELY to likely/unlikely
Behdad Esfahbod 6b84198f 2010-05-03T22:46:52 Merge remote branch 'jrmuizel/master'
Jeff Muizelaar 4ce578ed 2010-05-03T15:03:53 Include the tags from the Apple specification for TrueType fonts
Behdad Esfahbod 631d10b7 2010-05-02T21:14:21 Remove unused method
Behdad Esfahbod 690b9194 2010-04-25T22:51:05 Remove use of flexible arrays Also remove wrong ASSERT_SIZE that would trigger only when not using flexible arrays (which was the case on win32, but not with gcc).
Behdad Esfahbod efb324a4 2010-04-23T16:22:54 Remove GET_FOR_DATA macros The major-version check is now handled by sanitize. If major doesn't match, we reject and fall back to the Null object.
Behdad Esfahbod f1aaa2a4 2010-04-23T15:19:50 Add TODO
Behdad Esfahbod ef66ebea 2010-04-23T14:40:36 Remove unused parameter
Behdad Esfahbod 1aa4666b 2010-04-23T13:32:03 Cleanup OpenTypeFontFile
Behdad Esfahbod ae4190ca 2010-04-23T12:33:02 Properly define separate structs for TTCHeader and TTCHeaderVersion1
Behdad Esfahbod a0bb49c5 2010-04-22T18:47:03 Add comment re bsearch effect on sanitize
Behdad Esfahbod a3263aa7 2010-04-22T18:29:09 Convert the last set of cast macros to templates
Behdad Esfahbod 1856184b 2010-04-22T14:15:11 Fail sanitize on major version mismatch We handle major-version differences via get_for_data(), so sanitize should never see a major version mismatch.
Behdad Esfahbod df3f505d 2010-04-22T14:11:33 More sanitize cleanup
Behdad Esfahbod 8015a8c7 2010-04-22T11:06:30 Don't sanitize raw table data That part is performed by individual table sanitize.
Behdad Esfahbod 079dc401 2010-04-22T10:47:12 Avoid overflow in TableDirectory sanitize
Behdad Esfahbod c755cb3e 2010-04-22T00:11:43 Change header comment
Behdad Esfahbod 0dfcc13a 2010-04-21T23:41:26 Rename ConstCharP to CharP (overloaded now)
Behdad Esfahbod 62c0fd75 2010-04-21T23:30:48 Cleanup de-const-casting during sanitize
Behdad Esfahbod 198facdc 2010-04-21T13:35:36 Use templates for const char * casts
Behdad Esfahbod ffd321af 2010-04-21T00:14:12 Simplify Tag struct
Behdad Esfahbod 4b8487d8 2010-03-16T03:46:17 Fix the mystery bug! A couple bugs joined forces to exhibit the mystery behavior of crashes / infinite loops on OS X / wrong kerning / invalid memory access. Pooh! The bugs were involved: - Wrong pointer math with ValueRecord in PairPosFormat1 - Fallout from avoiding flex arrays, code not correctly updated to remove sizeof() usage. We strictly never use sizeof() directly now. And the PairPos code is cleaned up. Should fix them all. Bugs are: Bug 605655 - Pango 1.26.2 introduces kerning bug Bug 611229 - Pango reads from uninitialized memory Bug 593240 - (pangoosx) Crash / infinite loop with Mac OS X We were also doing wrong math converting Device adjustments to hb_position_t. Fallout from FreeType days. Should shift 16, not 6. Fixed that too. There's still another bug: we don't sanitize Device records referenced from value records. Fixing that also.
Behdad Esfahbod 636f017e 2009-11-10T12:56:35 Remove obsolete TODO item
Behdad Esfahbod d3480ba3 2009-11-03T10:47:29 Don't use zero-sized arrays It's not part of the standard and MSVC doesn't like it. It makes the code a lot less elegant than it used to be, but I think it should work now.
Behdad Esfahbod 3e2401f6 2009-08-28T17:17:11 [HB] Rename DEBUG to TRACE where appropriate
Behdad Esfahbod 20b035da 2009-08-10T19:00:36 [HB] Put C++ inline's back Apparetly in C++, inline means a totally different thing.
Behdad Esfahbod bff3c0fd 2009-08-07T19:46:30 [HB] Remove clumsy macros and improve API
Behdad Esfahbod e605c367 2009-08-06T18:27:28 [HB] Rebrand XXX as TODO
Behdad Esfahbod 71a8344a 2009-08-06T14:28:18 [HB] Remove a few 'inline's, though the compiler mostly ignores them
Behdad Esfahbod 7edb430f 2009-08-04T22:06:57 [HB] Rename open-types to open-type; beauty
Behdad Esfahbod b28815c1 2009-08-04T22:35:36 [HB] Add sanitize debugging facilities
Behdad Esfahbod 2870ac5e 2009-08-04T22:43:47 [HB] Add missing sanitize
Behdad Esfahbod 9bd629cc 2009-08-04T21:42:23 [HB] Fix warnings
Behdad Esfahbod 2765d333 2009-08-04T20:50:18 [HB] Add XXX
Behdad Esfahbod b508e5cc 2009-08-04T15:07:24 [HB] open-file sanitize()
Behdad Esfahbod cd3827ee 2009-08-04T02:09:34 [HB] More sanitize()
Behdad Esfahbod 196598bb 2009-08-04T11:04:32 [Hb] Use reinterpret casts instead of direct casts to char *
Behdad Esfahbod 5f5b24f9 2009-08-02T20:03:12 [OT] Rename C++ header files from *.h to *.hh