test/api/test-ot-face.c


Log

Author Commit Date CI Message
Julien Nabet 8de0d911 2024-10-06T18:44:21 missing-field-initializers in test/api/test-ot-face.c FAILED: test/fuzzing/hb-shape-fuzzer.p/hb-shape-fuzzer.cc.o clang++ -Itest/fuzzing/hb-shape-fuzzer.p -Itest/fuzzing -I../test/fuzzing -I. -I.. -Isrc -I../src -fdiagnostics-color=always -D_GLIBCXX_ASSERTIONS=1 -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=c++11 -fno-exceptions -O3 -fno-exceptions -fno-rtti -fno-threadsafe-statics -fvisibility-inlines-hidden -DHAVE_CONFIG_H -Wall -Wextra -Werror -MD -MQ test/fuzzing/hb-shape-fuzzer.p/hb-shape-fuzzer.cc.o -MF test/fuzzing/hb-shape-fuzzer.p/hb-shape-fuzzer.cc.o.d -o test/fuzzing/hb-shape-fuzzer.p/hb-shape-fuzzer.cc.o -c ../test/fuzzing/hb-shape-fuzzer.cc In file included from ../test/fuzzing/hb-shape-fuzzer.cc:9: ../test/fuzzing/../api/test-ot-face.c:47:34: error: missing field 'y_bearing' initializer [-Werror,-Wmissing-field-initializers] hb_glyph_extents_t extents = {0}; ^ ../test/fuzzing/../api/test-ot-face.c:85:55: error: missing field 'enable' initializer [-Werror,-Wmissing-field-initializers] hb_aat_layout_feature_selector_info_t setting = {0}; ^ 2 errors generated.
Behdad Esfahbod 49c8493f 2024-06-20T11:16:40 [test] Build with HB_MINI Also add CONFIG.md instructions for building configs with meson. Fixes https://github.com/harfbuzz/harfbuzz/issues/4760
Khaled Hosny afe09102 2023-07-09T02:45:52 [font] Actually deprecate get_glyph_shape() We previously marked it as deprecated in the documentation but didn’t actually deprecate it in code. Now the only known users have migrated to draw_glyph(), lets deprecate o=it for good.
Frédéric Wang 32e542d6 2022-06-29T06:45:38 try & fix build errors on the bot
Frédéric Wang 03d23767 2022-06-29T06:21:31 [math] Improve fuzzing coverage Extend testing to cover parts that are missing according to the recent oss-fuzz-coverage report: - Retriving all constants from MathConstants. - Retrieving entries from MathKern, MathGlyphPartRecord and MathGlyphAssembly. - Retrieving italic correction from MathGlyphAssembly. - Choosing between horizontal/vertical offset in MathVariants. https://storage.googleapis.com/oss-fuzz-coverage/harfbuzz/reports/20220627/linux/src/harfbuzz/src/hb-ot-math-table.hh.html https://github.com/harfbuzz/harfbuzz/issues/3688
Behdad Esfahbod 8b4f4290 2022-02-03T01:14:47 [draw] Virtualize hb_font_draw_glyph() into hb_font_get_glyph_shape() To be implemented in hb-ft.
Behdad Esfahbod e0ac6c58 2022-02-02T18:57:12 Remove remaining traces of HB_EXPERIMENTAL_API
Alexis King 81754a5a 2022-02-09T12:00:47 [ot-math] Add hb_ot_math_get_glyph_kernings closes #3396
Ebrahim Byagowi 08816117 2020-06-20T01:02:50 [fuzzer] Make some use for test_font API calls Making some use for result of some of the test_font calls to make sure compilers in fuzzers aren't just optimizing the calls.
Ebrahim Byagowi b4f34539 2020-06-20T00:47:00 [fuzzer] test more of ot-layout APIs
Qunxin Liu 973c47f6 2020-06-11T11:27:57 [subset] Move 2 experimental public api methods to be private methods in GSUB/GPOS. 2 methods are: hb_ot_layout_closure_lookups and hb_ot_layout_closure_features
Ebrahim Byagowi 759df465 2020-06-04T15:49:54 [style] Hide behind HB_EXPERIMENTAL_API compile flag
Ebrahim Byagowi 22037499 2019-08-04T11:31:31 [style] New experimental API, hb_style_get_value Searches variation axes of a hb_font_t object for a specific axis first, if not set, then tries to get default style values from different tables of the font.
Ebrahim Byagowi b32d169d 2020-05-23T13:03:06 [test] run aat APIs in shape fuzzer
Ebrahim Byagowi c68ab4b5 2020-05-21T00:25:17 Fix _get_ligature_caret's oob read issue AAT::Lookup has no other way to detect whether it is returned from a real and sanitized font data or from a null pool, this checks if the table has been recognized valid by sanitizer by checking table's major version which is zero if returned from a null pool and non-zero if is from a sanitized font data, it is expected the other calls of the table (unlikely to have more calls however) also do a similar version check before calling the lookups used on the table.
Ebrahim Byagowi 29c90322 2020-04-17T22:11:40 Move hb_ot_layout_closure_{features,lookups} behind EXPERIMENTAL flag
Ebrahim Byagowi 755a77d6 2020-01-29T22:26:04 Move outline draw API behind HB_EXPERIMENTAL_API directive
Ebrahim Byagowi 152000d9 2020-02-25T20:07:25 [fuzz] Practice variations on font object
Ebrahim Byagowi c31762e9 2020-02-05T23:12:37 [test] minor don't test first ten glyph, just testing cp just like other API calls is enough
Ebrahim Byagowi ac81e940 2020-01-28T12:34:47 Rename hb_outline_decompose to hb_font_draw_glyph and hb_outline_decompose_funcs_t to hb_draw_funcs_t
Ebrahim Byagowi 981125aa 2020-01-25T21:31:36 Rename hb_ot_glyph_* to hb_outline_*
Ebrahim Byagowi 7633b769 2020-01-23T18:51:40 Merge pull request #2016 from ebraminio/glyf Implement glyph outline path API
Qunxin Liu e565d1f9 2019-11-01T10:21:36 [subset] subset lookup/feature/script lists for GSUB/GPOS
Ebrahim Byagowi ec1fba13 2020-01-13T19:31:18 [ot-glyph] make hb_ot_glyph_decompose_funcs_t struct opaque
Ebrahim Byagowi d7c3cb18 2020-01-13T17:35:57 [ot-glyph] minor on tests
Qunxin Liu 0b39c480 2019-10-22T16:00:43 [subset] closure lookups for GSUB/GPOS
Ebrahim Byagowi 42f4f1ea 2020-01-11T00:00:51 [ot-glyph] Add tests for hb_ot_glyph_decompose
Ebrahim Byagowi 06a1fcb3 2020-01-10T23:12:30 [ot-glyphs] fix the tests
Ebrahim Byagowi fddf79fc 2019-10-21T14:11:27 [glyf] minor
Behdad Esfahbod e56d4ff4 2019-08-13T21:02:47 Rename hb_ot_meta_get_entries() to +hb_ot_meta_get_entry_tags()
Ebrahim Byagowi 8c0a2e68 2019-07-30T13:16:15 [fuzz] Add dummy call of the added APIs (#1886)
Behdad Esfahbod 42f4bd6b 2019-04-18T19:04:59 Minor warning fix again
Ebrahim Byagowi 5bbe78a0 2019-03-14T16:49:42 Allow zero length ranges in sanitization (#1617) Fixes fvar table sanitization where there are no named instance by allowing zero length ranges starting from Null() address. Fixes #1607
Ebrahim Byagowi 8aaab78e 2019-03-14T16:49:42 Allow zero length ranges in sanitization (#1617) Fixes fvar table sanitization where there are no named instance by allowing zero length ranges starting from Null() address. Fixes #1607
Chun-wei Fan 1e09add2 2018-12-12T01:32:01 test/api: Fix building on pre-C99 compilers Ensure variables are declared at the top of the block.
Behdad Esfahbod f48bb9a3 2018-11-20T20:40:55 [var] Deprecated axis enumeration API and add new version New version has axis flags. New API: +hb_ot_var_axis_info_t +hb_ot_var_find_axis_info() +hb_ot_var_get_axis_infos() Deprecated API: -HB_OT_VAR_NO_AXIS_INDEX -hb_ot_var_axis_t -hb_ot_var_find_axis() -hb_ot_var_get_axes()
Behdad Esfahbod 6482fda5 2018-11-05T15:03:18 [fuzzing] Fuzz glyph-id etc in test-ot-face
Behdad Esfahbod bce437cf 2018-11-04T02:47:34 [test] Call test-ot-face.c test from hb-shape-fuzzer Should increase coverage...
Behdad Esfahbod 777c2242 2018-11-04T02:40:20 [test] More funcs in test-ot-face
Behdad Esfahbod 9779e602 2018-11-03T20:50:56 [test] Add test for empty face