Log

Author Commit Date CI Message
Behdad Esfahbod 0f33ea8c 2023-01-27T11:26:57 [subset/COLR] Copy VarStore Fixes https://github.com/harfbuzz/harfbuzz/issues/4085
Khaled Hosny 6c46da77 2023-01-27T10:34:50 [test] Fix shell script quoting
Matthias Clasen c03c8548 2023-01-26T23:17:11 Merge pull request #4084 from harfbuzz/cairo-check-funcs [meson] Enable all checked for Cairo functions for internal Cairo
Khaled Hosny 7a714d1a 2023-01-27T03:12:36 [meson] Enable all checked for Cairo functions for internal Cairo Similar to what we do with FreeType ones.
Behdad Esfahbod 950c7ab3 2023-01-26T15:26:05 [gsubgpos] Use accelerator when recursing
Behdad Esfahbod e3778889 2023-01-26T13:26:47 [ft-colr] Conditionalize on (unreleased0 FreeType 2.13.0 That's the version that the color API is called stable, and includes changes that we rely on.
Behdad Esfahbod 281db89a 2023-01-26T13:05:12 [cairo] Try to handle failure in set_user_data
Behdad Esfahbod 2fede3ef 2023-01-26T12:23:12 [layout] Fix a return_trace
Behdad Esfahbod 05a2f315 2023-01-26T12:56:02 Merge pull request #4065 from harfbuzz/cairo-fix-foreground-color hb-cairo: Fix handling of foreground color
Behdad Esfahbod e484d6b9 2023-01-26T12:55:25 [cairo] Handle malloc failure
Behdad Esfahbod 4afdbcba 2023-01-23T15:53:26 [hb-cairo] Don't call get_foreground_color unnecessarily That would invalidate cairo cache on foreground change, even if the glyph doesn't need that.
Matthias Clasen c37ea4f9 2023-01-23T08:31:24 hb-cairo: Fix handling of foreground color Use the new cairo_user_scaled_font_get_foreground_color to obtain the foreground color, since the cr's source can't be trusted. Requires https://gitlab.freedesktop.org/cairo/cairo/-/merge_requests/420
Behdad Esfahbod 29a36010 2023-01-25T17:26:33 [cairo] Adapt to cairo foreground API change again
Matthias Clasen 30d0d9c5 2023-01-24T15:43:17 Adapt to cairo changes Adapt to the api in the cairo MR that will be used, and make the code build with older cairo.
Behdad Esfahbod 034d4d26 2023-01-23T16:22:26 [hb-cairo] Minor simplify
Behdad Esfahbod 26d34392 2023-01-23T16:21:13 [hb-cairo] Fix condition
Matthias Clasen f9b3c790 2023-01-23T18:09:09 Update to different cairo API The cairo will likely end up begin a getter for a cairo_pattern_t instead of a color.
Behdad Esfahbod aea37bfd 2023-01-26T12:18:50 Fix c++20 build
Behdad Esfahbod e1dc4920 2023-01-26T12:11:35 [iter] Allow hb_len() to fetch c.len as non-function
Behdad Esfahbod 8d29be39 2023-01-26T11:41:58 [gsubgpos] Minor drop an unnecessary hb_iter
Matthias Clasen 06b9b3b5 2023-01-26T14:15:52 Merge pull request #4083 from harfbuzz/bump-cairo build: Bump to newer cairo
Matthias Clasen 4a632dec 2023-01-26T13:19:50 build: Bump to newer cairo
Matthias Clasen c1a5d209 2023-01-25T21:52:05 [doc] Add a missing comma
Matthias Clasen 8d80d1dd 2023-01-25T19:06:51 [paint] Update expected test results These tests were affected by recent fixes.
Behdad Esfahbod 570fe998 2023-01-25T15:42:24 [cairo] Another sweep_gradient fix k was -1 sometimes. Fixes the rest of https://roettsch.es/var_colrv1.html
Andres Salomon 13bfef9f 2023-01-25T16:14:59 [COPYING] Another update Adobe, Inc has copyright in src/hb-subset-cff*, test/api/test-subset*, and misc other places. Ebrahim Byagowi has copyright as far back as 2015 in places like src/hb-directwrite.cc. Google, Inc has newer copyright into 2022 in places like src/graph/test-classdef-graph.cc. Also, listing every year was getting a bit unwieldy, so just do 2010-2022. Igalia S.L. contributed the stuff in src/hb-ot-math*. The only references I could find to Martin Hosken & SIL were in src/hb-graphite2*, and they were 2011, not 2009. Mozilla's got a bunch of 2015 code in src/hb-ot-shaper-*. Red Hat has copyright up to 2023 (eg, test/api/test-glyph-names.c).
Behdad Esfahbod ea316b56 2023-01-25T15:31:29 [cairo] Flip offsets when reversing Fixes many of the var_colrv1 first row tests. https://roettsch.es/var_colrv1.html
Behdad Esfahbod 5b05e198 2023-01-25T15:24:14 [cairo] More hb_malloc
Behdad Esfahbod 57352b8b 2023-01-25T15:22:27 [cairo] Use hb_malloc / hb_free
Behdad Esfahbod a9392c0c 2023-01-25T14:54:52 [cairo] Use hb_swap()
Qunxin Liu d15551c6 2023-01-25T11:01:08 [instancer] update head table flagbit: allXMinIsLsb
Qunxin Liu 5e868703 2023-01-25T12:27:16 [instancer] compute head/maxp values using only non-empty glyphs
Behdad Esfahbod 2c49eba0 2023-01-25T14:52:39 [cairo] Indent
Behdad Esfahbod 2accbdc0 2023-01-25T14:40:04 [paint] Minor skew
Behdad Esfahbod a4420479 2023-01-25T14:37:10 Revert "[VarComposite] Fix skew" This reverts commit 8cf7076309da014e8e2af033b1c636785ae407cd.
Behdad Esfahbod 8cf70763 2023-01-25T14:35:35 [VarComposite] Fix skew
Behdad Esfahbod 626f8e4d 2023-01-25T14:33:46 [paint] Fix skew to match Chrome
Behdad Esfahbod b44ff062 2023-01-25T14:16:46 [deserialize] Some more
Behdad Esfahbod 57ff6964 2023-01-25T14:09:22 [deserialize] One more fix
Behdad Esfahbod e9730509 2023-01-25T14:07:01 [hb-buffer-deserialize] Fixups
Behdad Esfahbod a1101f09 2023-01-25T13:10:57 [test-buffer-serialize] Handle too-small out buffer Need to handle too-small in buffer still.
Behdad Esfahbod 39d50008 2023-01-25T12:53:50 [hb-info] Format
Behdad Esfahbod 4e2267b7 2023-01-25T12:51:53 [hb-info] Add --get-meta
Behdad Esfahbod 42ed6abb 2023-01-25T12:47:16 [hb-info] Add --list-meta
Behdad Esfahbod 2fec4f1c 2023-01-25T12:09:12 [subset] Finish out hb-subset-instancer-solver.cc
Qunxin Liu 90a98dd6 2023-01-25T10:06:23 [instancer] fix potential memory leak for compiled glyph bytes Also calculate max_offsets after glyph bytes are compiled, cause byte length of a glyph might change after compile
Behdad Esfahbod 223abd72 2023-01-25T11:36:47 [subset] Add unfinished port of fonttools instancer solver
Behdad Esfahbod 167443e9 2023-01-25T10:32:01 [hb-info] Respect HB_CHAFA=0
Behdad Esfahbod 87df84c3 2023-01-25T10:20:48 [hb-info] Fix copyright header
Andres Salomon 0bbc9d52 2023-01-25T00:44:38 [fonts] move OFL-1.1 license to a higher directory There's a bunch of font directories inside of test/ for which the vast majority of fonts are licensed under the SIL open font license. We currently have a COPYING file in test/shape/data/in-house/COPYING that says that most of the fonts are OFL-1.1, but that doesn't apply to the fonts in, say, test/api/fonts/ or test/fuzzing/fonts/. Since there are so many OFL-1.1 fonts all over test, let's move the COPYING file to the top-level test/ directory.
Behdad Esfahbod 44a9c4bf 2023-01-25T09:58:29 [COPYING] Update
Andres Salomon c622c6b8 2023-01-24T23:52:10 [font] update the license url for TestGVAREight.ttf The url in the exif data incorrectly links to a proprietary license. However, permission was granted for distribution under Apache-2 as part of another project, so link to that project's license instead. fixes #4062
Matthias Clasen eb0a025e 2023-01-24T20:40:32 Add a test for glyph names This verifies that hb_font_get_glyph_name returns false for nonexisting glyphs.
Behdad Esfahbod 1b143b0f 2023-01-24T18:34:04 [font] Docs
Behdad Esfahbod 64ed03c9 2023-01-24T18:30:49 [cff1] Return no name for out-of-range glyph IDs Was returning .notdef before.
Matthias Clasen c89aebc4 2023-01-24T20:24:27 hb-font: Document length limit for glyph names This is useful information for users of the hb_font_get_glyph_name() API.
Matthias Clasen dd64266e 2023-01-24T19:26:20 Add a test for glyph extents This verifies a recent fix for COLRv1 returning 0,0,-1,1 for extents of non-painting glyphs.
Qunxin Liu 73e6f6cc 2023-01-24T16:14:11 [instancer] enable the missing test
Qunxin Liu 27f72f0d 2023-01-24T16:08:32 [instancer] avoid double free for compiled glyph bytes also increase the HB_GLYF_MAX_POINTS limit to 20000 cause the test file has a .notdef glyph which is a composite glyph and has 10176 points after get_points() call
Matthias Clasen ac969fff 2023-01-24T19:06:15 Update meson summary Include builtin font callbacks and Cairo integration in the configuration summary.
Behdad Esfahbod 192361cb 2023-01-24T17:05:38 [hb-info] Show color swatch only if printing to terminal
Behdad Esfahbod 817ec182 2023-01-24T17:02:08 [hb-info] Format
Behdad Esfahbod 66ddeb07 2023-01-24T17:01:01 [hb-info] Change Chafa repeat to 16
Behdad Esfahbod 7a29ded1 2023-01-24T16:59:44 [hb-info] Render colors in --list-palette Uses chafa if available
Behdad Esfahbod b684c6ed 2023-01-23T15:44:22 [hb-cairo] Add hb_cairo_context_t
Behdad Esfahbod 279f13c1 2023-01-24T11:50:59 [hb-shape] Write trace output to stderr
Behdad Esfahbod 161d8f9d 2023-01-24T11:48:10 [util] Rename a variable
Behdad Esfahbod 68a79026 2023-01-24T11:44:32 [util] If --glyphs doesn't have positions, use glyph advances Such that eg --glyphs=10 works.
Behdad Esfahbod 91a174f1 2023-01-24T11:27:35 [hb-view] Hide --annotate and make it alias for --show-extents
Behdad Esfahbod 8cfb0ed0 2023-01-24T11:24:31 [hb-view] --annotate enables --show-extents
Behdad Esfahbod 20fcf5c5 2023-01-24T11:22:55 [hb-view] Add --show-extents
Behdad Esfahbod 72e13fff 2023-01-24T11:05:38 [COLRv1] Handle void extents
Behdad Esfahbod 20318fed 2023-01-24T11:04:10 [COLRv1] Don't return extents if glyph has no paint Fixes https://github.com/harfbuzz/harfbuzz/issues/4068
Behdad Esfahbod 32afdcdb 2023-01-23T21:10:11 [hb-buffer-deserialize-text-unicode] Relax parsing
Behdad Esfahbod 328ee9b4 2023-01-23T21:06:27 [hb-buffer-deserialize-text-unicodes] Rename
Behdad Esfahbod bc596b8c 2023-01-23T21:03:59 [buffer-deserialize-text-unicode] Simplify
Behdad Esfahbod 649973a3 2023-01-23T21:02:14 Fix build
Behdad Esfahbod f798cf22 2023-01-23T20:57:30 [util] Don't require final ']' in --glyphs
Behdad Esfahbod 4268283e 2023-01-23T20:53:17 [buffer-deserialize-text] Accept initial comma
Behdad Esfahbod 2c29b81e 2023-01-23T20:49:19 [buffer-deserialize-text] Separate glyphs / unicodes machines
Behdad Esfahbod d0355eb4 2023-01-23T20:37:53 [buffer-deserialize] Parse whole items at a time Previous logic would fail if char buffer was partial.
Matthias Clasen f65b04c1 2023-01-23T21:57:05 Tweak wording
Matthias Clasen 7e01976b 2023-01-23T20:44:22 [hb-paint] Add some details to the docs
Garret Rieger e4fff64c 2023-01-24T00:52:26 [repacker] check duplicate() for success. Fixes fuzzer testcase https://oss-fuzz.com/testcase-detail/5475787333828608.
Behdad Esfahbod 6b72a4dd 2023-01-23T18:36:04 Revert "[sanitize] Simplify(?) check_range" This reverts commit af0b1ef8a72d4f6b778dbba3606ebe7df39d5288.
Behdad Esfahbod 00cf322e 2023-01-23T16:06:26 Merge pull request #4046 from harfbuzz/hb-features-docs [doc] Try to fix generating hb-features docs
Khaled Hosny 699485b3 2023-01-24T00:07:45 [meson] Further simplify generating hb-features.h
Khaled Hosny 2486d6d2 2023-01-23T23:57:16 [meson] Reduce repetitions
Khaled Hosny 12f2ecbd 2023-01-23T23:41:11 [doc] Generate hb-supported-features.h See inline comment.
Khaled Hosny 0bbd3360 2023-01-19T20:11:35 [doc] Try to fix generating hb-features docs Move it to a separate section, since hb-common says include hb.h, while we want to include hb-features.h here. This still does not fix generating documentation of undefined macros (e.g. HB_HAS_GDI since we build docs on Linux).
Behdad Esfahbod af0b1ef8 2023-01-23T14:31:10 [sanitize] Simplify(?) check_range
Behdad Esfahbod fe94c760 2023-01-23T14:05:28 [algs] Build fix for clang and __builtin_mul_overflow Fixes https://github.com/harfbuzz/harfbuzz/issues/4066
Khaled Hosny 1cf61f30 2023-01-23T13:43:35 [meson] Fix build with -Dgobject=disabled
Behdad Esfahbod 2b87af80 2023-01-22T17:37:51 [hb-info] Typo
Behdad Esfahbod fe22afe7 2023-01-22T16:47:50 [hb-info] Simplify
Khaled Hosny eba57629 2023-01-23T01:10:56 Another try
Khaled Hosny 37ab12a3 2023-01-23T01:02:51 [util] Try to fix hb-info build
Behdad Esfahbod 5880ab06 2023-01-22T16:20:23 [hb-info] More build fix try
Behdad Esfahbod d76ef46d 2023-01-22T16:17:39 Try to fix autotools build
Behdad Esfahbod 6e585985 2023-01-22T15:22:30 [hb-info] Subfamily