Log

Author Commit Date CI Message
Behdad Esfahbod 955aa56b 2018-10-25T16:50:38 [vector] Make it act more like pointer Add pointer cast operator and plus operator.
Behdad Esfahbod 8d55e2ad 2018-10-25T16:37:53 [set] Minor
Behdad Esfahbod 64c32edf 2018-10-25T16:35:36 [set] Make array access more explicit Follow up on 94e421abbfc7ede9aaf3c8d86bb0ff9992ea3123
Behdad Esfahbod e3ceb2dd 2018-10-25T14:30:24 Fix again
Ebrahim Byagowi eceeb856 2018-10-26T00:23:45 [docs] Add hb-ot-color section
Behdad Esfahbod 1cfe7028 2018-10-25T13:37:08 Fixup
Behdad Esfahbod 5739c876 2018-10-25T13:23:33 [test] Rename some fonts If we have duplicae font files in different directories, that would break the oss-fuzz build currently. So, rename some to avoid name class with text-rendering-test. Would be better to find another solution.
Behdad Esfahbod 21ede867 2018-10-25T13:19:34 Fix possible overflow in bsearch impls From bungeman. Fixes https://github.com/harfbuzz/harfbuzz/pull/1314
Ben Wagner 94e421ab 2018-10-25T13:44:27 Remove some use of Crap in hb-set. When hb_set_t::page_for_insert needs to insert at the end of the page_map it ends up evaluating '&page_map[i + 1]' which has hb_vector return an lvalue of a Crap so that nothing can be moved to its address. This turns into issues with ThreadSanitizer on Crap when two threads modify different hb_set_t instances. This can be avoided by using '&page_map[i] + 1' instead.
azure-pipelines[bot] 2798ac1c 2018-10-25T15:22:54 Set up CI with Azure Pipelines
Khaled Hosny 9a830a17 2018-10-25T01:55:10 [appveyor] Drop Cygwin builds again They are so slow and we had only a couple of Cygwin build failure reported in ~5 years.
Khaled Hosny 00e51a10 2018-10-24T22:58:22 [appveyor] Limit make to three jobs https://github.com/harfbuzz/harfbuzz/pull/1309#issuecomment-432778270
Behdad Esfahbod ae9e8f29 2018-10-24T16:46:07 [vowel-constraints] Reset continuation on all dottedcircles One of the was missed before. Not intentional.
Khaled Hosny 6a3ad245 2018-10-24T09:49:08 [appveyor] Organize config file a bit
Khaled Hosny 0cd7d041 2018-10-24T09:43:10 [appveyor] Don’t build branches with open PR twice
Khaled Hosny d2b20ba1 2018-10-24T11:37:09 [appveyor] Build on Cygwin and msys2 in parallel
Khaled Hosny 0d2fa7fd 2018-10-24T11:23:21 [appveyor] Do not update msys2 Looks like AppVeyor has new enough packages for our needs. Cuts CI build time by 5 minutes.
Behdad Esfahbod 401cdf07 2018-10-23T17:00:49 [ot-font] Fix sign of ascent/descent Some fonts, like msmincho, have positive number as descent in vhea table. That's wrong. Just enforce sign on ascent/descent when reading both horizontal and vertical metrics. Fixes https://github.com/harfbuzz/harfbuzz/issues/1248
Behdad Esfahbod ba502dea 2018-10-23T16:46:10 [morx] Fix cluster-merging when ligating Only merge when actual ligature happened. Fixes https://github.com/harfbuzz/harfbuzz/issues/1305
Garret Rieger aa5af8d0 2018-10-23T15:45:35 Fix size calculation in DEFINE_SIZE_ARRAY_SIZED.
Behdad Esfahbod f33ad6d6 2018-10-23T14:31:51 [aat] Fix up previous commit and add files
Behdad Esfahbod ffe34784 2018-10-23T14:14:03 [aat] Allow enabling/disabling features Only works at entire-buffer range, not sub-ranges. Test with: $ hb-shape Zapfino.dfont Zapfino [Z_a_p_f_i_n_o=0+2333] $ hb-shape Zapfino.dfont Zapfino --features=-dlig [Z=0+416|a=1@-21,0+264|p_f=2+433|i=4+181|n=5+261|o=6+250] $ hb-shape Zapfino.dfont Zapfino --features=+dlig [Z_a_p_f_i_n_o=0+2333] Fixes https://github.com/harfbuzz/harfbuzz/issues/1303
Behdad Esfahbod 8be0e5fd 2018-10-23T13:39:50 [ot-map] Minor
Behdad Esfahbod e8fccbc3 2018-10-23T13:25:03 Minor
Behdad Esfahbod 76324d95 2018-10-23T13:09:30 Shift code around
Behdad Esfahbod cf92d657 2018-10-23T03:10:56 [trak] Allow disabling tracking for ranges of text Fixes https://github.com/harfbuzz/harfbuzz/issues/1303
Behdad Esfahbod 8869436c 2018-10-23T03:07:48 When parsing feature ranges, accept ';' instead of ':'
Ebrahim Byagowi 22ecefd8 2018-10-23T00:52:05 Make tracking optout possible using 'trak' ot feature So '--features=-trak' or 'font-feature-settings: 'trak' 0;' can prevent applying of tracking if used.
Behdad Esfahbod 6d40eb83 2018-10-23T02:51:42 Touch up on previous commit https://github.com/harfbuzz/harfbuzz/pull/1273
David Corbett 205737ac 2018-10-12T16:54:54 [use] Prohibit visually ambiguous vowel sequences
Behdad Esfahbod 48ed598a 2018-10-23T02:19:32 [VORG] Hook up to hb-ot-font's v_origin Fixes https://github.com/harfbuzz/harfbuzz/issues/544 Test added with NotoSansCJK, eg. with U+FF38.
Behdad Esfahbod 097ecfd4 2018-10-23T02:09:42 [VORG] Add get_y_origin() Unhooked.
Behdad Esfahbod 6fb24d5e 2018-10-23T01:58:59 [VORG] Add VORG table Cherry-picked from cff-subset branch.
Behdad Esfahbod 531f9822 2018-10-23T01:32:08 [morx] Add a few debug messages to Ligature chain
Behdad Esfahbod 0e5bcdef 2018-10-23T00:39:44 [morx] Clear stack upon underflow when acting ligatures
Behdad Esfahbod 1bfb96a9 2018-10-22T23:41:47 [test/text-rendering-tests] Update from upstream
Behdad Esfahbod 792071de 2018-10-22T23:38:34 [morx] Leave ligature on stack after ligating Test with Apple Color Emoji.ttf of ~66MB and following sequence: ./hb-shape Apple\ Color\ Emoji-old.ttf --font-funcs=ot -u U+1F468,200d,U+1F469,200d,U+1F467,200d,1f466 Should form full family if matching works correctly. It first makes family of three, then makes family of four out of that and the last two characters. Fixes https://github.com/harfbuzz/harfbuzz/issues/1292
Ebrahim Byagowi e1b8e933 2018-10-23T09:23:48 [ci] Disable llvm-gcc #define Null(Type) Null<typename hb_remove_const<typename hb_remove_reference<Type>::value>::value>() raises: hb-blob.cc: In function 'hb_blob_t* hb_blob_get_empty()': hb-blob.cc:194: error: using 'typename' outside of template hb-blob.cc:194: error: using 'typename' outside of template Removing "typename"s fixes the issue but makes newer compiler fail apparently. Probably downstream can patch that locally till we get a solution.
Behdad Esfahbod 8c78ced9 2018-10-22T21:49:42 Unbreak builds
Behdad Esfahbod 8d689f8a 2018-10-22T21:33:18 Add hb_array<>() specialization for UnsizedArrayOf Related https://github.com/harfbuzz/harfbuzz/issues/1301
Behdad Esfahbod abfbba19 2018-10-22T21:27:45 Add hb_array<>() Simplifies transient object creation. Fixes https://github.com/harfbuzz/harfbuzz/issues/1301
Behdad Esfahbod 17ffbc07 2018-10-22T21:22:25 [color] Use Index for colorIdx Doesn't matter, but matches the description.
Behdad Esfahbod 07386ea4 2018-10-22T21:18:27 Remove const and references when binding Null() Fixes https://github.com/harfbuzz/harfbuzz/issues/1299 Removes anomaly I was seeing in cpal table trying to use implicit Null(NameID).
Behdad Esfahbod b18acab7 2018-10-22T18:20:57 [color] Add HB_COLOR Normally I would have added to_string / from_string like other types have. But since we don't use hb_color_t much, I'm not going to do that. Although, if we did, we could use it in hb-view to parse colors...
Behdad Esfahbod 228f96c9 2018-10-22T16:55:12 [color] Finish reviewing / revamping CPAL Now to hb_color_t.
Behdad Esfahbod 683fad06 2018-10-22T16:35:03 [color] Minor
Behdad Esfahbod 14474d21 2018-10-22T16:30:30 [color] Rely on CPALV1Tail Null object
Behdad Esfahbod d7865107 2018-10-22T16:18:34 Remove const from hb_array_t details Will come in through <T> if desired.
Behdad Esfahbod f3336580 2018-10-22T16:16:21 [color] Use hb_array_t in CPAL Doesn't work though, ouch :(. Need to figure out if it's unreasonable to expect Null(T) inside hb_array_t<T> to see the later specialization of Null for NameID.
Behdad Esfahbod 5ae18855 2018-10-22T14:54:55 [color] Check for null CPAL arrays We cannot use a nullable offset here though.
Behdad Esfahbod 69ab72e4 2018-10-22T14:51:40 [color] More CPAL rename
Behdad Esfahbod 0befb06c 2018-10-22T14:46:21 [color] More CPAL rename
Behdad Esfahbod 3600d206 2018-10-22T14:43:12 [color] Rename vars in CPAL
Ebrahim Byagowi 0babf761 2018-10-23T01:33:45 Adopt dump-emoji with latest unreleased APIs changes (#1297)
Behdad Esfahbod 7997144b 2018-10-22T13:02:04 [color] Revamp palette API
Behdad Esfahbod 3bf91bd2 2018-10-22T12:40:38 [color] Rewrite colr access COLR table has one function: return layers for a glyph, and we expose exactly that, so should just wire it through. Also use sub_array() for verifiable safety. Also, BaseGlyphRecord's null object is enough. We don't need to special-case the not-found.
Behdad Esfahbod 1de17bdb 2018-10-22T10:29:01 [colr] Add hb_ot_color_layer_t We never return parallel arrays from functions. That's inconvenient and hard to bind.
Behdad Esfahbod 3b3668ac 2018-10-21T19:23:11 [color] Rename / reorder a bit Implement has_data() for realz.
Behdad Esfahbod 9085a72d 2018-10-21T19:08:25 [cpal] Touch up palette flags
Behdad Esfahbod ee11fae9 2018-10-21T19:02:47 [color] Rename "gid" to "glyph" We don't expose "gid" in API.
Behdad Esfahbod 228fa71b 2018-10-21T17:43:29 [colr] Move sanitize
Ebrahim Byagowi d440c8d3 2018-10-22T22:07:59 Add chromacheck Emoji test fonts and minor preparations (#1294)
Behdad Esfahbod b6b17173 2018-10-21T17:41:49 [colr] Minor
Behdad Esfahbod a6ade347 2018-10-21T17:39:39 [colr] Move sanitize() to right place Sanitize always comes just before data member definitions, so it's easy to cross-check.
Behdad Esfahbod 24adc157 2018-10-21T17:39:00 [colr] Touch up a bit When a struct is plain old data with no references, etc, it's okay to mark its members public.
Khaled Hosny cc6e77ca 2018-10-21T13:29:40 [color] Fix documentation a bit
Ebrahim Byagowi 37ba2413 2018-10-21T11:46:51 Minor
Ebrahim Byagowi 44f79b4b 2018-10-21T10:17:34 Remove _palette_entry_count as can be done with _palette_colors
Ebrahim Byagowi 6795dcfc 2018-10-21T09:51:15 [test] Test hb_ot_color_has_{colr,cpal}_data
Ebrahim Byagowi b8ee3a0e 2018-10-21T09:44:16 [CPAL] Add palette entry and enable palette flag API
Ebrahim Byagowi d4261b4b 2018-10-21T08:48:07 Add API test for hb_ot_color_get_color_layers
Ebrahim Byagowi 456978d4 2018-10-21T08:26:40 Address COLR/CPAL reviews and revive cpal_v1 tests
Ebrahim Byagowi 687f679b 2018-10-20T17:50:39 [color] Fix alpha channel value and adjust spaces
Ebrahim Byagowi 00e94ce2 2018-10-20T00:31:04 [dump-emoji] Formatting
Ebrahim Byagowi e9d798dc 2018-10-19T18:30:01 [test] Use hb_test_open_font_file
Ebrahim Byagowi e8a6f5b8 2018-10-19T18:23:42 Add three macros for separating color channels
Ebrahim Byagowi 0e33467e 2018-10-19T17:44:06 Make ot-color tests pass
Khaled Hosny d4e928b1 2018-05-01T17:16:46 [color] Minimal API for COLR/CPAL
Behdad Esfahbod b92b9d7e 2018-10-21T17:42:51 [colr] Move compare function into a static Not sure if MSVC would be unhappy about this.
Ebrahim Byagowi 0229eaea 2018-10-22T10:51:37 [fuzz] Add a found hb-subset testcase
Ebrahim Byagowi 0ecddad7 2018-10-22T00:44:28 [ci] Disable flaky -windows-x64 and add a comment for iOS
Ebrahim Byagowi 9b346157 2018-10-21T11:37:38 [fuzz] Add more testcases Fixed already but better to have anyway. One didn't have minimized but it was only 164 B, so
Ebrahim Byagowi 4fa94a3e 2018-10-21T11:36:41 Merge pull request #1290 from ebraminio/testopenfont [test] Unify font file opening across the tests
Ebrahim Byagowi c110878c 2018-10-21T11:07:17 [test] Unify font file opening across the tests
Behdad Esfahbod 217a3728 2018-10-20T20:39:56 [fuzzing] Add more font
Behdad Esfahbod 1e39833b 2018-10-20T16:56:06 [docs] Minor
Behdad Esfahbod a5ad8c65 2018-10-20T16:52:55 [docs] More fixes
Behdad Esfahbod 2d9198f2 2018-10-20T16:50:39 [docs] Fix for hb-version.h being in src tree
Behdad Esfahbod 314b1af7 2018-10-20T16:49:16 [docs] Fix warning Fixes https://github.com/harfbuzz/harfbuzz/issues/1260
Behdad Esfahbod b713c139 2018-10-20T14:56:28 [kerx] Implement tuple-kerning in Format0
Behdad Esfahbod 0a3b7a0f 2018-10-20T13:14:07 2.0.2
Ebrahim Byagowi 8931bc4a 2018-10-20T23:23:32 [test] Fix -Wunused-parameter on test-font.c
Behdad Esfahbod 68b70507 2018-10-20T12:09:41 [kerx] Fix sanitize of KerxSubtableFormat2::array read Fixes https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=11033
Behdad Esfahbod 00fdbca4 2018-10-20T12:04:51 [aat] Fix LookupFormat10 sanitize Fixes https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=11060
Behdad Esfahbod f11c5576 2018-10-20T11:56:30 [test] Fix leak
Ebrahim Byagowi 440a675c 2018-10-20T21:13:25 [TODO] Remove BCP 47 language handling item Closes https://github.com/harfbuzz/harfbuzz/issues/1286
Ebrahim Byagowi d39acc5a 2018-10-20T12:20:30 [fuzzing] Add new testcases
Ebrahim Byagowi 1e55e21d 2018-10-20T07:45:46 Merge pull request #1283 from khaledhosny/cygwin Cygwin fixes and CI build
Ebrahim Byagowi 964ae32a 2018-10-20T07:39:18 Run valgrind on run-shape-fuzzer only when RUN_VALGRIND is set (#1285)
Behdad Esfahbod f70f9941 2018-10-19T20:00:36 Minor