Commit Graph

504 Commits

Author SHA1 Message Date
Behdad Esfahbod 9b76a290a9 [HB] Improve debug output 2009-11-02 14:40:32 -05:00
Behdad Esfahbod 9faee63034 [HB] Minor 2009-11-02 14:40:32 -05:00
Behdad Esfahbod f72059ee69 [HB] Add a few TODO items 2009-11-02 14:40:32 -05:00
Behdad Esfahbod 0d77ab8a73 [HB] Improve debug output 2009-11-02 14:40:32 -05:00
Behdad Esfahbod 268cac4c9e [HB] Fix blob unlock 2009-11-02 14:40:32 -05:00
Behdad Esfahbod 7acb389569 [HB] Improve debug output and fix mprotect bug 2009-11-02 14:40:31 -05:00
Behdad Esfahbod ec9f8db0d3 [HB] Minor 2009-11-02 14:40:31 -05:00
Behdad Esfahbod d341881d9a [HB] Fix build of main.cc 2009-11-02 14:40:31 -05:00
Behdad Esfahbod 8f3be25e7e [HB] turn debugging off 2009-11-02 14:40:31 -05:00
Behdad Esfahbod 62ed5850d9 [HB] Fix another sanitize() bug; hopefully it's the last one 2009-11-02 14:40:31 -05:00
Behdad Esfahbod 90482b6817 [HB] Fix a couple other sanitize() bugs 2009-11-02 14:40:31 -05:00
Behdad Esfahbod 4f3ad9115a [HB] More debugging output 2009-11-02 14:40:30 -05:00
Behdad Esfahbod 8cd6fa28d1 [HB] Fix fatal Sanitizer bug 2009-11-02 14:40:30 -05:00
Behdad Esfahbod 2870ac5e5d [HB] Add missing sanitize 2009-11-02 14:40:30 -05:00
Behdad Esfahbod b28815c1f6 [HB] Add sanitize debugging facilities 2009-11-02 14:40:30 -05:00
Behdad Esfahbod 7edb430f91 [HB] Rename open-types to open-type; beauty 2009-11-02 14:40:30 -05:00
Behdad Esfahbod f4b58d3fc2 [HB] Save edit even if not writeable 2009-11-02 14:40:30 -05:00
Behdad Esfahbod 9bd629ccd0 [HB] Fix warnings 2009-11-02 14:40:30 -05:00
Behdad Esfahbod 5ff4e13143 [HB] Avoid infinite recusion in Extension sanitize() 2009-11-02 14:40:30 -05:00
Behdad Esfahbod d60bb8ca2a [HB] Hook Sanitizer up. Hell's breaking loose right now 2009-11-02 14:40:30 -05:00
Behdad Esfahbod 679f41fe61 [HB] Fix leak 2009-11-02 14:40:30 -05:00
Behdad Esfahbod 4e8a0602bb [HB] Add Sanitizer 2009-11-02 14:40:30 -05:00
Behdad Esfahbod 2765d333e5 [HB] Add XXX 2009-11-02 14:40:30 -05:00
Behdad Esfahbod a328d66e6a [HB] Minor cleanup 2009-11-02 14:40:29 -05:00
Behdad Esfahbod 577c111649 [HB] Shuffle code around 2009-11-02 14:40:29 -05:00
Behdad Esfahbod b1e187fc63 [HB] More sanitize infrastructure 2009-11-02 14:40:29 -05:00
Behdad Esfahbod b508e5ccd5 [HB] open-file sanitize() 2009-11-02 14:40:29 -05:00
Behdad Esfahbod 738c54d9ca [HB] Tag sanitize() 2009-11-02 14:40:29 -05:00
Behdad Esfahbod e49a84c9e3 [HB] GDEF sanitize() 2009-11-02 14:40:29 -05:00
Behdad Esfahbod 18939487d0 [HB] Fix Extension sanitize() 2009-11-02 14:40:29 -05:00
Behdad Esfahbod f2be750981 [HB] Remove stale TODO 2009-11-02 14:40:29 -05:00
Behdad Esfahbod ac26e2a838 [HB] Hookup NEUTER() 2009-11-02 14:40:29 -05:00
Behdad Esfahbod 15164d9258 [HB] Fix mix warnings 2009-11-02 14:40:29 -05:00
Behdad Esfahbod 42b778f89e [HB] GPOS sanitize() 2009-11-02 14:40:29 -05:00
Behdad Esfahbod dc9c4d93cd [HB] Sanitize DeviceTable 2009-11-02 14:40:28 -05:00
Behdad Esfahbod ad3a3cd495 [HB] More casts 2009-11-02 14:40:28 -05:00
Behdad Esfahbod 95639fccc1 [HB] Fix couple of bugs 2009-11-02 14:40:28 -05:00
Behdad Esfahbod 2b5a59c277 [HB] More cast cleanup 2009-11-02 14:40:28 -05:00
Behdad Esfahbod 196598bbcc [Hb] Use reinterpret casts instead of direct casts to char * 2009-11-02 14:40:28 -05:00
Behdad Esfahbod 92b5dd8e71 [HB] Merge more templates 2009-11-02 14:40:28 -05:00
Behdad Esfahbod e6ab2c59ba [HB] Simplify indirect sanitize() 2009-11-02 14:40:28 -05:00
Behdad Esfahbod 29d8644a31 [HB] Finish GSUB sanitize() 2009-11-02 14:40:28 -05:00
Behdad Esfahbod cf086adca1 [HB] Add comment 2009-11-02 14:40:28 -05:00
Behdad Esfahbod a97ce570ab [HB] Optimize sanitize() 2009-11-02 14:40:28 -05:00
Behdad Esfahbod cd3827ee56 [HB] More sanitize() 2009-11-02 14:40:28 -05:00
Behdad Esfahbod 70de50c11e [HB] Start sanitize() 2009-11-02 14:40:27 -05:00
Behdad Esfahbod 5fc22e647c [HB] Remove use of typeof() 2009-11-02 14:40:27 -05:00
Behdad Esfahbod 70e0f2a75e [HB] Make it all work again 2009-11-02 14:40:27 -05:00
Behdad Esfahbod 23c86aa000 [HB] Use face_t directly instead of ot_layout_t 2009-11-02 14:40:27 -05:00
Behdad Esfahbod fc6c94002d [HB] Simplify sub-blob support 2009-11-02 14:40:27 -05:00
Behdad Esfahbod a26442437a [HB] Add sub-blobs 2009-11-02 14:40:27 -05:00
Behdad Esfahbod b28e21b90c [HB] Rename hb-font.c to hb-font.cc 2009-11-02 14:40:27 -05:00
Behdad Esfahbod 5f5b24f99f [OT] Rename C++ header files from *.h to *.hh 2009-11-02 14:40:27 -05:00
Behdad Esfahbod 2098a021a8 [HB] Move OT file handling out of ot-layout 2009-11-02 14:40:26 -05:00
Behdad Esfahbod 0ead481a5a [HB] Port ot-layout to new public API 2009-11-02 14:40:26 -05:00
Behdad Esfahbod 678bed4333 [HB] Add top-level header files 2009-11-02 14:40:26 -05:00
Behdad Esfahbod 2c80296aa5 [HB] Add XXX marks 2009-11-02 14:40:26 -05:00
Behdad Esfahbod c46f8efd6d [HB] Rename _duplicate to _copy
To be in line with cairo
2009-11-02 14:40:26 -05:00
Behdad Esfahbod f1ebe44985 [HB] Cleanup TODO 2009-11-02 14:40:26 -05:00
Behdad Esfahbod f1322e52d5 [HB] Cleanup public buffer structs 2009-11-02 14:40:26 -05:00
Behdad Esfahbod 6d5bb18e93 [OT] Match struct with HB's 2009-11-02 14:40:25 -05:00
Behdad Esfahbod 11fbb5487d [HB] Port buffert to new object API 2009-11-02 14:40:25 -05:00
Behdad Esfahbod 0cc7bc59ea [HB] Move typedef's around 2009-11-02 14:40:25 -05:00
Behdad Esfahbod a12dd324a3 [HB] Add get_reference_count() 2009-11-02 14:40:25 -05:00
Behdad Esfahbod baec684fde [HB] Remove glib dependency 2009-11-02 14:40:25 -05:00
Behdad Esfahbod df66028781 [HB] Assorted compiler macros 2009-11-02 14:40:25 -05:00
Behdad Esfahbod ba8d94ce33 [HB] Simplify object creation 2009-11-02 14:40:25 -05:00
Behdad Esfahbod c62b503770 [HB] Add abstract font and face API
Not used yet.
2009-11-02 14:40:25 -05:00
Behdad Esfahbod 35a7383c61 [HB] Simplify refcounting functions 2009-11-02 14:40:24 -05:00
Behdad Esfahbod 23af767a44 [HB] Fix for dfont's with multiple faces 2009-11-02 14:40:24 -05:00
Behdad Esfahbod e97a95f2ea [HB] Use calloc instead of malloc where feasible 2009-11-02 14:40:24 -05:00
Behdad Esfahbod 0090dc0f67 [HB] Remove hinting setting and use ppem==0 to mean "no hinting" 2009-11-02 14:40:24 -05:00
Behdad Esfahbod f0954d1e08 [HB] Add a "blob" manager 2009-11-02 14:40:24 -05:00
Behdad Esfahbod 02a370697d [HB] Move direction to buffer 2009-11-02 14:40:23 -05:00
Behdad Esfahbod 7cda6fa24c [HB] Rename internal vars 2009-11-02 14:40:23 -05:00
Behdad Esfahbod b196e6f274 [HB] Fix buffer enlargement. Ouch 2009-11-02 14:40:23 -05:00
Behdad Esfahbod f9cd1014f8 Apply patch from Jonathan Kew 2009-11-02 14:40:23 -05:00
Behdad Esfahbod 2ebb89d63d Revert "XX"
This reverts commit c939f6aff405ca7b10b1f1538f46148bff719fcb.
2009-11-02 14:40:22 -05:00
Behdad Esfahbod 55520d2af1 XX 2009-11-02 14:40:22 -05:00
Behdad Esfahbod f53d434b91 [GPOS] Advance buffer cursor in SinglePos lookups. Ouch! 2009-11-02 14:40:22 -05:00
Behdad Esfahbod e35bbd570a [HB] Improve buffer. Don't dup out buffer unless out is longer than in
That is, we work in-place even for ligatures now.
2009-11-02 14:40:22 -05:00
Behdad Esfahbod 6734ed4b6b [GPOS] Fix property checking 2009-11-02 14:40:21 -05:00
Behdad Esfahbod cc83ae1248 [GPOS] Add vertical TODO 2009-11-02 14:40:21 -05:00
Behdad Esfahbod b69d38e7ea [HB] Remove useless include 2009-11-02 14:40:21 -05:00
Behdad Esfahbod 6c8108cb58 [GPOS] Remove unused variables 2009-11-02 14:40:21 -05:00
Behdad Esfahbod 09c292e3b6 [HB] Fix glyph properties 2009-11-02 14:40:21 -05:00
Behdad Esfahbod 64e33f008f [GPOS] Fix PairPos signedness 2009-11-02 14:40:20 -05:00
Behdad Esfahbod 80ea5bd10e [GPOS] Fix mark matching 2009-11-02 14:40:20 -05:00
Behdad Esfahbod 4189b92aaa [HB] When looking back/forward, skip marks only 2009-11-02 14:40:20 -05:00
Behdad Esfahbod 1246e41021 [GDEF] Support MarkFilteringSets 2009-11-02 14:40:20 -05:00
Behdad Esfahbod 5130c35e93 [HB] Simplify MarkAttachmentType handling 2009-11-02 14:40:20 -05:00
Behdad Esfahbod e4b92b85a7 [HB] Support parsing MarkFilteringSets introduced in OpenType 1.6 2009-11-02 14:40:19 -05:00
Behdad Esfahbod 515ce4ceb2 [HB] More de-C++'ization 2009-11-02 14:40:19 -05:00
Behdad Esfahbod d7df42d7ee [HB] Start MarkFilteringSet support 2009-11-02 14:40:19 -05:00
Behdad Esfahbod 62964afcec [HB] Implement get_lig_carets() 2009-11-02 14:40:19 -05:00
Behdad Esfahbod 79420ad9ca [HB] Add get_attach_points() 2009-11-02 14:40:19 -05:00
Behdad Esfahbod 855720ca47 [HB] Remove more macros 2009-11-02 14:40:19 -05:00
Behdad Esfahbod c968fc2dc8 [HB] More buffer cleanup 2009-11-02 14:40:19 -05:00
Behdad Esfahbod 88a5f5a49b [HB] Cleanup buffer 2009-11-02 14:40:19 -05:00
Behdad Esfahbod 347f0b8621 [HB] Clean more 2009-11-02 14:40:18 -05:00