test


Log

Author Commit Date CI Message
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
Behdad Esfahbod cf92d657 2018-10-23T03:10:56 [trak] Allow disabling tracking for ranges of text Fixes https://github.com/harfbuzz/harfbuzz/issues/1303
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.
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 1bfb96a9 2018-10-22T23:41:47 [test/text-rendering-tests] Update from upstream
Behdad Esfahbod 7997144b 2018-10-22T13:02:04 [color] Revamp palette API
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
Ebrahim Byagowi d440c8d3 2018-10-22T22:07:59 Add chromacheck Emoji test fonts and minor preparations (#1294)
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 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
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 0229eaea 2018-10-22T10:51:37 [fuzz] Add a found hb-subset testcase
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 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
Ebrahim Byagowi 8931bc4a 2018-10-20T23:23:32 [test] Fix -Wunused-parameter on test-font.c
Behdad Esfahbod f11c5576 2018-10-20T11:56:30 [test] Fix leak
Ebrahim Byagowi d39acc5a 2018-10-20T12:20:30 [fuzzing] Add new testcases
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
Behdad Esfahbod 4e09fb8f 2018-10-19T19:59:41 Oops. Fix build
Behdad Esfahbod 9e288d29 2018-10-19T19:47:27 [test-map] Cosmetic
Behdad Esfahbod 77d5c3df 2018-10-19T19:01:01 [font] Add failing test amongst font-func parallels infinite-looping Reported by Nona while updating Android to HarfBuzz 2.0.0.
Behdad Esfahbod 257ded1f 2018-10-19T11:20:14 [trak] Fix test for previous fix
Ebrahim Byagowi 114f66dd 2018-10-19T12:05:26 Fix hb_map_is_empty logic This needs reviewing
Ebrahim Byagowi 9df2fb16 2018-10-19T12:04:47 Add API tests for hb_map_t
Ebrahim Byagowi 8a5eba71 2018-10-19T10:20:16 [test] cosmetic, use g_assert_cmpint
Ebrahim Byagowi c6eb5e85 2018-10-19T10:14:25 Don't report deprecated symbols as unused symbols
Ebrahim Byagowi 34f357c7 2018-10-19T10:13:53 Add test for hb_set_del
Ebrahim Byagowi b7cef8cb 2018-10-19T09:24:21 Enable valgrind and dedicate a bot to it
Ebrahim Byagowi bccd09d6 2018-10-19T09:06:42 Minor, tweak spaces on hb-shape-fuzzer.cc
Ebrahim Byagowi fbf665b3 2018-10-19T08:09:53 [fuzz] Add more found cases (#1275)
Behdad Esfahbod 535ca678 2018-10-18T05:58:04 [test] Don't use newer glib API
Behdad Esfahbod b9478e28 2018-10-17T21:52:14 Revert "[test] Remove not-fixed yet testcases (#1268)" This reverts commit 191eef823fe95355425621f8e002dfe7fe632383.
Ebrahim Byagowi 191eef82 2018-10-18T08:04:18 [test] Remove not-fixed yet testcases (#1268) I added them but now that I think, it is a bad idea to have them as fuzzing bots will find good seeds to tweak in order to find easy new testcases which causes duplicated issues.
Ebrahim Byagowi 392e1f4d 2018-10-18T07:42:20 [test/shape-fuzzer] fail on timeout and ubsan errors (#1267)
Ebrahim Byagowi 751c10e5 2018-10-18T06:36:48 [fuzz] Add more new testcases
Ebrahim Byagowi fd282eb3 2018-10-18T06:33:39 [fuzz] Add a new testcase
Behdad Esfahbod 3341c7fb 2018-10-17T15:04:35 [fuzzing] Move fuzzing fonts from api/ here
Behdad Esfahbod 5842756b 2018-10-16T18:28:55 [fuzzing] Delete blink fuzzed data These are text, not font.
Behdad Esfahbod ba426516 2018-10-16T17:35:46 Fix indent
Behdad Esfahbod c0c190c1 2018-10-16T16:39:29 [fuzzing] Run tests against fuzzing fonts Some disable.
Behdad Esfahbod 7b37705f 2018-10-16T16:33:06 [fuzzing] Rename
Behdad Esfahbod 3676c685 2018-10-16T16:32:26 [fuzzing] Move rest of fuzzing tests here
Behdad Esfahbod 1487173d 2018-10-16T16:30:38 [fuzzing] Delete duplicate fonts
Behdad Esfahbod 49c041f7 2018-10-16T16:25:24 Minor
Behdad Esfahbod 1147ce23 2018-10-16T16:18:32 [fuzzing] Add more tests
Behdad Esfahbod 1aa353e4 2018-10-16T15:26:51 Fix tests
Behdad Esfahbod 98d4ad02 2018-10-16T15:17:31 [fuzzing] One more
Behdad Esfahbod e6f267c3 2018-10-16T15:16:20 [fuzzing] Add more clusterfuzz tests I had lying around
Ebrahim Byagowi e5320627 2018-10-17T01:42:04 Add all the fonts found by fuzzers to the repo (#1258)
Behdad Esfahbod 2137582c 2018-10-16T14:46:07 [morx] Reword ligation Still fails MORX-41. Am talking to Sascha to better understand what CoreText is doing.
Behdad Esfahbod c46d42f8 2018-10-16T13:39:54 [test/text-rendering-tests] Update from upstream
Ebrahim Byagowi 61510b63 2018-10-16T14:17:21 [test] Minor cleanup in test-multithread and test-ot-name (#1256)
Behdad Esfahbod 8dc62968 2018-10-15T01:09:05 [ot-font] Implement TrueType v_origin Fixes https://github.com/harfbuzz/harfbuzz/issues/537
Behdad Esfahbod c0a6814b 2018-10-12T16:05:56 Touch up new API New API: +hb_ot_layout_feature_get_name_ids() +hb_ot_layout_feature_get_characters()
Ebrahim Byagowi dc49bd8d 2018-10-12T03:00:59 Add two APIs for getting stylistic set labels * hb_ot_layout_feature_get_characters * hb_ot_layout_feature_get_name_ids However HarfBuzz currently doesn't expose an API for retrieving the actual information associated with NameId from the `name` table and that should be done separately.
Behdad Esfahbod bf8469be 2018-10-11T20:45:00 Attach CursivePositioning backwards, not forward This is how Uniscribe does it. So, adjust. This is only relevant to fonts that apply cursive positioning from a contextual lookup. Fixes https://github.com/harfbuzz/harfbuzz/issues/1181
Behdad Esfahbod bdb53ca2 2018-10-11T20:20:00 [myanmar] Implement Zawgyi shaper Enabled if script tag 'Qaag' is passed to HarfBuzz. Disables mark advance-zeroing and fallback mark-positioning. Fixes https://github.com/harfbuzz/harfbuzz/issues/1162
Behdad Esfahbod 788e1478 2018-10-11T19:24:52 [test] Add test for USE indic3
Behdad Esfahbod a1197278 2018-10-11T19:23:36 Minor
David Corbett 28d091d0 2018-10-11T17:15:22 Parse Indic3 tags
Behdad Esfahbod 211cd369 2018-10-11T17:31:29 Remove remains of get-codepoint-fuzzer
Behdad Esfahbod 120ed027 2018-10-11T17:08:12 [fuzzing] Fold get-codepoints-fuzzer into subset-fuzzer
Behdad Esfahbod 1d995a34 2018-10-11T15:42:54 Minor
Behdad Esfahbod 57b05210 2018-10-11T15:03:21 [test] Fix use of deprecated symbols
David Corbett 7f1fbfe2 2018-07-23T21:19:23 Add hb_ot_tags_to_script_and_language
David Corbett 65d01f77 2018-01-18T16:33:39 Test deprecated tag fallback in a font The font supports the deprecated tag 'DHV ' instead of 'DIV '. dv is mapped to 'DIV ' and 'DHV ', in that order. The test specifies `--language=dv`, demonstrating that if a font does not support the first OpenType tag mapped to a BCP 47 tag, it will fall back to the next tag.
David Corbett 7c7cb2a9 2018-01-20T15:53:09 Match extlang subtags If the second subtag of a BCP 47 tag is three letters long, it denotes an extended language. The tag converter ignores the language subtag and uses the extended language instead. There are some grandfathered exceptions, which are handled earlier.
David Corbett 2f1f961c 2017-12-08T22:45:52 Autogenerate the BCP 47 to OpenType mappings The new script, gen-tag-table.py, generates `ot_languages` automatically from the [OpenType language system tag registry][ot] and the [IANA Language Subtag Registry][bcp47] with some manual modifications. If an OpenType tag maps to a BCP 47 macrolanguage, all the macrolanguage's individual languages are mapped to the same OpenType tag, except for individual languages with their own OpenType mappings. Deprecated BCP 47 tags are canonicalized. [ot]: https://docs.microsoft.com/en-us/typography/opentype/spec/languagetags [bcp47]: https://www.iana.org/assignments/language-subtag-registry/language-subtag-registry Some OpenType tags correspond to multiple ISO 639 codes. The mapping from ISO 639 codes lists OpenType tags in priority order, such that more specific or more likely tags appear first. Some OpenType tags have no corresponding ISO 639 code in the registry so their mappings use BCP 47 subtags besides the language. For example, any BCP 47 tag with a fonipa variant subtag is mapped to 'IPPH', and 'IPPH' is mapped back to und-fonipa. Other OpenType tags have no corresponding ISO 639 code because it is not clear what they are for. HarfBuzz just ignores these tags. One such ignored tag is 'ZHP ' (Chinese Phonetic). It probably means zh-Latn. However, it is used in Microsoft JhengHei and Microsoft YaHei with the script tag 'hani', implying that it is not a romanization scheme after all. It would be simple enough to add this mapping to gen-tag-table.py once a definitive mapping is determined. The manual modifications are mainly either obvious mappings that the OpenType registry omits or mappings for compatibility with previous versions of HarfBuzz. Some of the old mappings were discarded, though, for homophonous language names. For example, OpenType maps 'KUI ' to kxu; previous versions of HarfBuzz also mapped it to kvd, because kvd and kxu both happen to be called "Kui". gen-tag-table.py also generates a function to convert multi-subtag tags like el-polyton and zh-HK to OpenType tags, replacing `ot_languages_zh` and the hard-coded list of special cases in `hb_ot_tags_from_language`. It also generates a function to convert OpenType tags to BCP 47, replacing the hard-coded list of special cases in `hb_ot_tag_to_language`.
David Corbett 91067716 2017-12-08T11:21:14 Refactor the selection of script and language tags The old hb-ot-tag.cc functions, `hb_ot_tags_from_script` and `hb_ot_tag_from_language`, are now wrappers around a new function: `hb_ot_tags`. It converts a script and a language to arrays of script tags and language tags. This will make it easier to add new script tags to scripts, like 'dev3'. It also allows for language fallback chains; nothing produces more than one language yet though. Where the old functions return the default tags 'DFLT' and 'dflt', `hb_ot_tags` returns an empty array. The caller is responsible for using the default tag in that case. The new function also adds a new private use subtag syntax for script overrides: "x-hbscabcd" requests a script tag of 'abcd'. The old hb-ot-layout.cc functions,`hb_ot_layout_table_choose_script` and `hb_ot_layout_script_find_language` are now wrappers around the new functions `hb_ot_layout_table_select_script` and `hb_ot_layout_script_select_language`. They are essentially the same as the old ones plus a tag count parameter. Closes #495.
Behdad Esfahbod 100e95f4 2018-10-11T11:30:45 [trak] Add tests
Behdad Esfahbod 1e8fdd28 2018-10-10T16:32:35 Remove HAVE_OT We never tested compiling without it. Just kill it. We always build our own shaper.
Behdad Esfahbod be2f148d 2018-10-09T16:24:50 [ft] Use mutex to lock access to FT_Face Makes our FT-backed hb_font_t safe to use from multiple threads. Still, the underlying FT_Face should NOT be used from other threads by client or other libraries. Maybe I add a lock()/unlock() public API ala PangoFT2 and cairo-ft. Maybe not.
Behdad Esfahbod 9f79365c 2018-10-09T14:36:25 Fix warning How come this one is not generated by clang everything bot?! ../../../test/api/test-multithread.c:37:26: warning: initialization discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] static char *font_path = "fonts/Inconsolata-Regular.abc.ttf"; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../test/api/test-multithread.c:38:21: warning: initialization discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
Chun-wei Fan 4035158d 2018-07-25T18:26:10 test/api/test-subset-*.c: Fix build on pre-C99 Ensure that we have the variables at the beginning of the block. These are the only fixes that we need for building HarfBuzz on older compilers.
Behdad Esfahbod eb2be97f 2018-10-09T07:48:52 Port test off deprecated API
Behdad Esfahbod cc126f28 2018-10-09T01:10:15 Minor
Behdad Esfahbod a353c176 2018-10-09T01:05:28 Remove test for deprecated hb_set_invert()
Behdad Esfahbod fc509165 2018-10-09T00:39:42 Remove deprecated decompose_compatibility stuff
Behdad Esfahbod eed737f6 2018-10-09T00:33:30 Remove deprecated eastasian_width
Behdad Esfahbod 9c1bb81f 2018-10-08T16:10:54 [test/text-rendering-tests] Update from upstream
Behdad Esfahbod 2a5cb37f 2018-10-07T20:36:46 Revert "[morx] Fix MORX-35" This reverts commit f62f6e90ad1f1a83f77771ad65ee1ffb79470a8a.
Behdad Esfahbod f62f6e90 2018-10-07T18:06:53 [morx] Fix MORX-35 Fixes https://github.com/harfbuzz/harfbuzz/issues/1224
Behdad Esfahbod c07b91b8 2018-10-07T18:00:14 [test/text-rendering-tests] Update from upstream
Behdad Esfahbod f92330b5 2018-10-07T17:51:50 Minor
Ebrahim Byagowi e9abe339 2018-10-06T12:19:33 Use tempfile in run-tests as a fix for Windows CI fails (#1228)
Behdad Esfahbod 5a41cf6b 2018-10-05T11:33:19 [test/text-rendering-tests] Update from upstream
Behdad Esfahbod 7b3ae5ff 2018-10-04T16:36:42 More bot fixes
Behdad Esfahbod 0abce581 2018-10-04T16:23:42 [test] Choose 'ot' shaper specifically Now that we added morx support, our OS X bot is running them through CoreText and failing (with a DoS / infinite loop no less!). Always run tests through our own shaper.
Behdad Esfahbod 55468ca0 2018-10-04T12:13:55 [test/text-rendering-tests] Update from upstream