Log

Author Commit Date CI Message
Ebrahim Byagowi 8ccf328d 2019-09-02T00:02:06 [subset] Run once for a tag
Khaled Hosny 0954c8f7 2019-09-01T17:09:08 [ft] Prefer symbol cmap subtable if found (#1948) Similar to commit d304d60e4d49df14ed85d6646680085f27bafbf2 for ot-font.
Ebrahim Byagowi 43758587 2019-09-01T15:13:05 [editorconfig] Treat Ragel files also as C sources
Ebrahim Byagowi d80a3ea9 2019-09-01T14:05:16 [cff] Implement in-house power of 10 A minimal power only for natural numbers exponents of ten, for portability. Found the idea in Tcl/Tk but wrote it myself after weeks and it turned out being a different implementation, reverse direction, constexpr, etc.
Ebrahim Byagowi f441a7c0 2019-09-01T02:18:09 Don't allow reference blob be accessed using empty tag in hb_face_reference_table (#1947)
Behdad Esfahbod c9eb913f 2019-08-31T15:21:02 [iter] Simplify hb_chop()
Behdad Esfahbod 67ec9fa9 2019-08-31T14:51:49 [iter] Add hb_chop()
Behdad Esfahbod 5828d8e8 2019-08-31T14:36:44 [iter] Add hb_take() specialization for arrays
Behdad Esfahbod 398b296f 2019-08-31T12:44:24 [iter] Add hb_len()
Behdad Esfahbod 875131d4 2019-08-31T12:42:52 [iter] Add hb_take()
Behdad Esfahbod ce4d63be 2019-08-30T11:59:50 [iter] Separate hb_iota implementation from hb_range
Behdad Esfahbod 814dc3cb 2019-08-30T10:20:30 [iter] Rename Moving towards making iota useful for non-integers.
Behdad Esfahbod 2d5643ae 2019-08-30T09:51:22 [algs] Add hb_inc() and hb_dec())
Behdad Esfahbod 7eafe947 2019-08-30T09:40:40 Revert "[array] Add chop()" This reverts commit 545fe9d9f0870568c40c17591f3f224c228feba6. Breaks gcc 4.8 and MSVC all versions. Will add hb_chop() that works on all iterators instead.
Behdad Esfahbod 1f88dae9 2019-08-31T12:24:42 [iter] Make iota() accept invokable for increasing to next item
Behdad Esfahbod 3bc86fb2 2019-08-30T16:39:52 [algs] Fix hb_inc/dec signature
Behdad Esfahbod b1378d8a 2019-08-30T12:10:45 [iter] Add hb_repeat()
Behdad Esfahbod 966a18b9 2019-08-30T12:07:17 [iter] Remove some &&
Behdad Esfahbod de45775c 2019-08-30T12:02:46 [iter] Use hb_ridentity instead of lazy +
Ebrahim Byagowi 28c8dcb5 2019-08-31T12:27:14 [subset] minor
Behdad Esfahbod 545fe9d9 2019-08-29T15:48:21 [array] Add chop() Takes n, and returns iterator of iterators that contain up to n items each. Basically cuts the array into subarrays of size n. The last sub-array might contain fewer. Ideally this should become a generic iter tool, not array-specific, so we can use it in GPOS to chop a value matrix into rows and elements.
Behdad Esfahbod c72589f1 2019-08-29T15:45:21 [iter] Change item_size to get_item_size() By moving access to hb_static_size(Type) into a function instead of a class-const, we can refer to iter types of incomplete types, which come handy when a method of hb_array_t wants to return iterator of hb_array_t. That kind of stuff. Next commit needs this to build on clang...
Behdad Esfahbod d58e248d 2019-08-29T15:23:48 [array] Add truncate() method
Behdad Esfahbod a06edf14 2019-08-29T15:21:18 [array] Use injected class name more
Behdad Esfahbod e0e0c8c1 2019-08-29T14:58:16 Minor
qxliu76 0313ef86 2019-08-29T14:09:05 bug fix in optimizing coverage table format (#1942) We are comparing number of shorts, NOT number of bytes.
Behdad Esfahbod 38f95baf 2019-08-29T13:40:46 [subset] in SingleSubst subsetting, check for substitute in glyphset That matches what fonttools does and allows for specifying exact glyphset for subset.
Ebrahim Byagowi 49902964 2019-08-29T15:09:39 [gsub] Fix clang's semicolon complains
Ebrahim Byagowi 28620310 2019-08-29T14:55:54 [test] Avoid alloca use as clang complain Fixes https://circleci.com/gh/harfbuzz/harfbuzz/108171 complain
Ebrahim Byagowi 875985cd 2019-08-29T14:51:22 [subset] Don't allow malicious fonts to insert unlimited table headers Fixes https://crbug.com/oss-fuzz/16810
Behdad Esfahbod dc9222b1 2019-08-28T15:38:46 [subset] Implement AlternateSubst subsetting
Behdad Esfahbod 23681b6d 2019-08-28T15:30:37 Minor
Behdad Esfahbod 33c8e230 2019-08-28T15:25:55 [subset] Implement MultipleSubst subsetting
Behdad Esfahbod 5c43a7ba 2019-08-28T15:09:58 [GSUB] Use dagger in Ligature::intersects()
Behdad Esfahbod b8c642c1 2019-08-28T15:06:45 Minor
Behdad Esfahbod dc2c9aa0 2019-08-28T15:05:49 Rename
Behdad Esfahbod bc5ef765 2019-08-28T14:51:28 [subset] Subset ligature substitutes! Test with: $ ./hb-subset -o out.ttf NotoSansArabic-Regular.ttf --drop-tables= سلام && ./hb-view out.ttf سلام
Behdad Esfahbod 42d887bd 2019-08-28T14:47:14 Beef up HeadlessArrayOf<> Should be merged with ArrayOf... https://github.com/harfbuzz/harfbuzz/issues/1937
Behdad Esfahbod 3ca809e3 2019-08-28T13:49:35 Add ArrayOf::pop()
Behdad Esfahbod 307bd6d7 2019-08-28T13:49:17 Add arithmetic operators to IntType<>
Behdad Esfahbod 2e1d00c8 2019-08-28T13:49:04 [debug] Minor
Behdad Esfahbod 062cad5e 2019-08-28T13:33:08 Add ArrayOf::serialize_append
Adrian Wong b6607681 2019-08-28T21:31:27 Adjustments to the generated Indic table output (#1936) * Add empty parentheses after print call * Minor: newlines. Move #pragma pop down one; #endif up one * Adjust #define ISC/IMC output * Regenerate Indic table
Ebrahim Byagowi 4ef08dbc 2019-08-27T14:49:46 Use hb_bytes_t as<T> in hb_blob_t
Ebrahim Byagowi dce42cef 2019-08-27T14:32:05 [glyf] Move GlyphHeader::from_bytes to hb_bytes_t, introduce .as<T> ()
Ebrahim Byagowi 6e82d59b 2019-08-27T12:33:42 [glyf] Revert the way indexToLocFormat is set
Ebrahim Byagowi 88e9db19 2019-08-27T02:44:26 [subset] Remove subset table size assertion As https://github.com/harfbuzz/harfbuzz/pull/1930#issuecomment-525036802
Ebrahim Byagowi a0b4ac4d 2019-08-24T17:57:14 Turn 8 spaces to tab across the project According to the current code style of the project
Ebrahim Byagowi 269a120f 2019-08-25T20:37:00 [subset] Raise the bar in new vs old table size https://crbug.com/oss-fuzz/16740 This is actually an interesting thing that {h,v}mtx allocates as much as a font pretends to have glyphs but the solution is not that obvious as regular fonts can have less than actually containing metrics in their {h,v}mtx. This change raises the bar to consider this hmtx 4 byte for every glyph case. Initially we wanted to just find things allocating crazy amount of memory but having the assert has led to interesting findings also so let's don't remove the assert and see what we can find elsewhere.
Ebrahim Byagowi 2f8e8233 2019-08-25T12:37:40 [glyf] minor
Ebrahim Byagowi 07e467a3 2019-08-25T00:36:58 [glyf] Move GlyphHeader size checking to a static method
Ebrahim Byagowi 139d14dc 2019-08-24T17:23:16 [glyf] Move GlyphHeader related logics to its, making its fields protected
Ebrahim Byagowi d57819cb 2019-08-24T16:26:42 [glyf] format source
Ebrahim Byagowi 2aef3013 2019-08-24T02:59:18 [subset] Consider instruction length place itself Now fixes https://crbug.com/oss-fuzz/16639 completely
Ebrahim Byagowi 922898c8 2019-08-23T22:04:14 [subset] Fail on table grow more than 16x+4096
Ebrahim Byagowi 28aba780 2019-08-23T16:47:15 [subset] Fix blob leak of _subset2 when returns early Fixes https://crbug.com/oss-fuzz/16639
Behdad Esfahbod 541f3c2d 2019-08-23T12:25:58 [debug] Fix extra semicolon issue https://github.com/harfbuzz/harfbuzz/issues/1923
Behdad Esfahbod 4dcaca84 2019-08-23T12:24:15 Whitespace
Behdad Esfahbod 569426d8 2019-08-23T11:54:20 [debug] Fix build with HB_DEBUG Fixes https://github.com/harfbuzz/harfbuzz/issues/1923
Khaled Hosny f233e6c8 2019-08-23T13:15:37 [doc] Update list of default features in the manual Fixes https://github.com/harfbuzz/harfbuzz/issues/1921
Behdad Esfahbod be97e9d6 2019-08-22T15:52:24 2.6.1
Behdad Esfahbod d304d60e 2019-08-21T12:30:22 [ot-font] Prefer symbol cmap subtable if found Fixes https://github.com/harfbuzz/harfbuzz/issues/1918 Hopefully doesn't break anyone...
Ebrahim Byagowi 2a3d4987 2019-08-21T03:02:01 Remove hb_directwrite_shape_experimental_width public API I had specially exposed the API as I didn't know how to embed harfbuzz easily elsewhere but now with harfbuzz.cc it has become very easy and I don't like to see its use anywhere as it has a bad naming and its Kashida adding is bogus and only useful to check where it should be added, not visually useful however.
Behdad Esfahbod 163a66dc 2019-08-20T14:22:57 [test] Add test for aaa85931f3542639cd9d0dfb92fd6baab5b0298d
Behdad Esfahbod aaa85931 2019-08-20T13:06:10 [font] Update multipliers when creating sub_font Fixes https://github.com/harfbuzz/harfbuzz/issues/1910
Ebrahim Byagowi bbad1b82 2019-08-20T14:46:48 [trak] minor, use roundf instead round to normalize the use The change to `round` wasn't intended
Ebrahim Byagowi e67cb500 2019-08-20T13:30:34 [readme] add oss-fuzz badge Related: https://github.com/google/oss-fuzz/pull/2513 https://github.com/systemd/systemd/commit/ce2098b7e9443cd6f31fb70af7f72308cd2962a3
Ebrahim Byagowi d59d89b2 2019-08-20T13:07:17 [test] Rebase 10.14 trak related test
Ebrahim Byagowi 20b1a27c 2019-08-20T13:04:51 Merge remove-coretext-96dpi-assumption, @drott Remove assumption about Core Text working in 96 DPI
Ebrahim Byagowi 37de38ad 2019-08-20T12:59:33 Merge branch 'master' into remove-coretext-96dpi-assumption
Behdad Esfahbod 5ee1e451 2019-08-19T14:23:17 Minor touch-up for recent change
Ebrahim Byagowi 33489928 2019-08-07T20:07:58 [avar] Implement inverse map, unmap
Ebrahim Byagowi 981f5a54 2019-08-07T18:45:39 [fvar] Implement inverse normalize, unnormalize
Behdad Esfahbod dcb4cd40 2019-08-19T11:35:37 Minor
Ebrahim Byagowi ca544403 2019-08-18T11:58:04 Remove continuous development helper script Not have used it personally for a long time, lets remove it
Khaled Hosny 40aef1b4 2019-08-16T01:00:30 [ot-shape] Keep horizontal_features array sorted
Khaled Hosny da5118da 2019-08-16T00:48:26 [ot-shape] Enable abvm/blwm features by default Core Text seems to apply them to Latin text, but Uniscribe doesn’t. See https://github.com/harfbuzz/harfbuzz/pull/1908#issuecomment-521819343
Khaled Hosny 2164bd6f 2019-08-16T00:28:41 [ot-shape] Enable dist feature by default (#1908) Fixes https://github.com/harfbuzz/harfbuzz/issues/1907
Ebrahim Byagowi bc27f86f 2019-08-14T22:37:00 Move HB_NO_VAR to a better place in hb-font.cc Needed for other works
Ebrahim Byagowi 1cc844da 2019-08-14T19:10:02 minor Use hb_font_t coords directly
Ebrahim Byagowi 6a194b68 2019-08-14T18:49:57 Minor, remove trailing spaces in hb-font.{cc,h} as .editorconfig
Ebrahim Byagowi 3ae44645 2019-08-14T14:34:55 Fix caret_count value when AAT is disabled Set caret_count to zero as that is what we want to happen inside lcar when there is no result.
Ebrahim Byagowi a5aa67b9 2019-08-14T14:29:01 [lcar] Use multiformat convention
Ebrahim Byagowi bfffe85d 2019-08-14T13:55:49 [opbd] Use multiformat convention on the table
Ebrahim Byagowi d6206dbc 2019-08-14T11:24:06 [opbd] Turn OpticalBounds fields to FWORD
Behdad Esfahbod 6461143b 2019-08-13T22:20:54 2.6.0
Behdad Esfahbod e56d4ff4 2019-08-13T21:02:47 Rename hb_ot_meta_get_entries() to +hb_ot_meta_get_entry_tags()
Behdad Esfahbod aade9b70 2019-08-13T16:09:20 [pool] Fix alignment assertion I *think* it should fix https://github.com/harfbuzz/harfbuzz/issues/1901 Ie. if on a system, alignof(void*) < sizeof(void*)...
Ebrahim Byagowi b31d627f 2019-08-11T23:34:48 Increase subset fuzzer timeout to 16s To satisfy -valgrind and -tsan bots, very ugly
Ebrahim Byagowi 5b9cf191 2019-08-11T23:07:29 [ci] Disable vcpkg thus running the test suit in Windows vcpkg apparently doesn't like to work the same way used to anymore, lets disable it
Ebrahim Byagowi 60d9f009 2019-08-11T16:15:19 Implement opbd table parsing https://developer.apple.com/fonts/TrueType-Reference-Manual/RM06/Chap6opbd.html
Ebrahim Byagowi 8762676e 2019-08-10T01:26:55 [os2] Replace null pool addr compare by checking vital fields (#1896)
Ebrahim Byagowi 1f926fb2 2019-08-07T20:22:20 [fvar] Use roundf instead hardcoding round logic
Ebrahim Byagowi 60485ab0 2019-08-07T23:23:06 [os2] Get defined lower/upper optical size
Qunxin Liu 321d5588 2019-07-02T16:30:57 [subset] Add subsetting for GPOS Lookup Type 1: Single Adjustment Positioning Subtable
Qunxin Liu 37572882 2019-06-25T13:17:30 [subset] cmap table to use _subset2 and new iterator frameworks
Khaled Hosny 06596cf9 2019-08-03T13:55:34 Some styling
Ebrahim Byagowi 5848c890 2019-08-03T14:19:28 [metrics] Add metrics tags documentation
Ebrahim Byagowi 4d1872b8 2019-08-03T14:06:46 [base] Add documentation for baseline tags from ot spec
Ebrahim Byagowi bbeee84a 2019-08-03T13:47:55 [meta] Add metadata tags documentation from ot spec