src


Log

Author Commit Date CI Message
Behdad Esfahbod c56c1375 2022-02-07T18:38:00 [draw] Document more
Behdad Esfahbod c681331c 2022-02-03T14:36:12 [draw] Rename internal draw_helper_t to draw_session_t
Behdad Esfahbod f1a9a9cc 2022-02-03T14:10:40 [draw-state] Pass state down to callbacks
Behdad Esfahbod 23762305 2022-02-07T18:23:26 [draw] Flesh out docs a bit
Behdad Esfahbod a9dd9f0b 2022-02-03T13:58:36 [draw] Add public move_to/line_to/... API that take a draw-state
Khaled Hosny 628847b5 2022-02-08T22:09:49 [doc] Link to respective draw callback functions
Behdad Esfahbod bc6c3b84 2022-02-07T18:04:36 [font] Update get_glyph_shape() doc
Behdad Esfahbod ebc2a133 2022-02-03T13:00:39 [draw] Rename internal methods
Behdad Esfahbod 86fcd4fe 2022-02-03T12:54:32 [draw] Simplify start_path
Behdad Esfahbod 732c749e 2022-02-07T18:02:37 [font] Adjust synthetic-slant docs
Behdad Esfahbod 1740916e 2022-02-03T12:50:47 [draw] Remove check for no-op This is unnecessary overhead. Up to rasterizers to handle this. Plus, this throws off point-numbers in uses that rely on it. Disabled one test that broke with this.
Behdad Esfahbod fc78592e 2022-02-03T12:43:25 [draw-state] Add type and use in draw-helper
Khaled Hosny 7245298e 2022-02-08T21:38:57 [doc] Document HB_DRAW_STATE_DEFAULT
Behdad Esfahbod a755f93e 2022-02-03T10:28:07 [draw] Add TODO
Behdad Esfahbod 59067db9 2022-02-07T17:55:01 [font/draw] Slant drawings Need to update hb_font_set_synthetic_slant() docs now that we do this.
Behdad Esfahbod cdb1a1fc 2022-02-03T01:25:37 [draw] Add REPLACEME
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 aa5c7a38 2022-02-07T17:53:38 [draw-session] Add slant
Behdad Esfahbod 92e6e53b 2022-02-03T00:23:13 [draw] Rename user_data to draw_data
Behdad Esfahbod 3b915389 2022-02-03T00:03:13 [draw] Remove unneeded roundf() calls
Behdad Esfahbod 4f2704ad 2022-02-06T13:13:34 [draw] Add more reserved items to hb_draw_state_t Since these are free basically.
Behdad Esfahbod 2bed4f46 2022-02-02T21:42:48 [draw] Fix draw signatures
Khaled Hosny 8e892bdb 2022-02-08T19:36:29 [doc] Message draw documentation a bit
Behdad Esfahbod 2ce19f28 2022-02-05T15:01:15 [font/draw] Fetch shape from parent font if not implemented in font
Behdad Esfahbod e0ac6c58 2022-02-02T18:57:12 Remove remaining traces of HB_EXPERIMENTAL_API
Behdad Esfahbod d6b61dff 2022-02-05T13:46:48 [draw] Minor cleanup
Behdad Esfahbod 27dfd69f 2022-02-02T18:13:46 [draw] Another Since: tag update
Behdad Esfahbod 7ac23f4e 2022-02-02T18:12:03 [draw] Whitespace
Behdad Esfahbod e157b503 2022-02-02T16:16:57 [draw] Remove return value of hb_font_draw_glyph()
Behdad Esfahbod ddc36df3 2022-02-02T16:15:04 [draw] Move hb_font_draw_glyph() to hb-draw-glyph.cc
Behdad Esfahbod 9a1508a2 2022-02-02T16:12:42 [draw] Replace API Since tags with REPLACEME
Behdad Esfahbod cdf1cb35 2022-02-07T19:05:52 [draw] Destroy callback data
Behdad Esfahbod 6d5b998f 2022-02-04T18:44:38 [ft/draw] Implement hb-draw for hb-ft
Behdad Esfahbod a428c119 2022-02-02T16:09:46 [main] Fix compiler warnings
Behdad Esfahbod 35190dc9 2022-02-02T16:08:40 [draw] Convert API to float instead of hb_position_t
Behdad Esfahbod 370bec93 2022-02-04T18:40:44 [draw] Rename internal draw_session_t to hb_draw_session_t
Behdad Esfahbod d6e49b82 2022-02-02T15:45:43 [font] Add em_fscalef_[xy] That take and return float
Behdad Esfahbod 6c0b65a6 2022-02-02T15:42:33 [font] Add em_scaleff() that returns float
Behdad Esfahbod dd7b6e2c 2022-02-02T14:46:10 [draw] Remove EXPERIMENTAL_API tag
Behdad Esfahbod a357e5d8 2022-02-03T14:42:56 [draw] Do quadratic-to-cubic conversion in nil quadratic implementation
Behdad Esfahbod 7af165db 2022-02-12T21:25:24 Fix compiler warning
Khaled Hosny 0a129961 2022-02-13T00:30:50 3.4.0
Khaled Hosny 41815a0d 2022-02-13T00:00:01 [name] Extraneous (out) annotation in return value
Behdad Esfahbod b263371b 2022-02-12T15:06:47 Merge pull request #3398 from harfbuzz/buffer-verify Add HB_BUFFER_FLAG_VERIFY
Behdad Esfahbod 42b119ed 2022-02-12T14:18:02 [hmtx] Remove other subset-specific method from hmtx accelerator
Behdad Esfahbod 9ba520b5 2022-02-12T13:57:03 [hmtx] Remove one subset-specific method from hmtx accelerator Looks ugly but is the right thing to do.
Behdad Esfahbod 68937238 2022-02-11T13:16:25 [machinery] Allow using lazy-loader with void* Fixes https://github.com/harfbuzz/harfbuzz/issues/3427
Chun-wei Fan 52c536bb 2022-02-10T16:39:40 hb-algs.hh: Fix build on Visual Studio 2015 The compiler does not recognize the std::hash call on hb_decay<decltype (hb_deref (v)>, so give it a shove so that it is recognized there.
Alexis King 81754a5a 2022-02-09T12:00:47 [ot-math] Add hb_ot_math_get_glyph_kernings closes #3396
Alexis King 1bc4bad7 2022-02-07T19:57:25 [ot-tag] Add HB_SCRIPT_MATH (Zmth) and map it to OT ‘math’ tag The ISO 15924 code for mathematical notation is ‘Zmth’, but the OpenType script is ‘math’.
Khaled Hosny 76cd8a47 2022-02-08T16:47:01 [arabic] Update to AMTRA revision 6 https://www.unicode.org/reports/tr53/tr53-6.html#Modifications
Khaled Hosny ac46c324 2022-02-06T15:41:18 3.3.2
Behdad Esfahbod 88798ee8 2022-02-04T18:59:50 [GPOS] Disable split-kerning Fixes https://github.com/harfbuzz/harfbuzz/issues/3408 Reverts https://github.com/harfbuzz/harfbuzz/pull/3235 Fixes https://github.com/harfbuzz/harfbuzz/pull/3235#issuecomment-1029814978
Behdad Esfahbod 91779537 2022-02-04T12:38:45 [atexit] Allow hb_atexit redefinition Fixes https://github.com/harfbuzz/harfbuzz/issues/3412
Behdad Esfahbod 8670ffbf 2022-02-03T11:19:23 [buffer] Comment
Behdad Esfahbod e59da287 2022-02-01T16:32:39 [glyf] Don't store face in accelerator
Khaled Hosny 45df2595 2022-01-31T23:06:10 3.3.1
Garret Rieger 4e2f409b 2022-01-31T12:20:32 [subset] Don't hold references to members of the active_glyph_stack. These references may get invalidated after the vector for the stack is resized. Fixes: https://oss-fuzz.com/testcase-detail/5422577634377728
Khaled Hosny 98da3306 2022-01-31T18:12:01 3.3.0
David Corbett ae9afd97 2021-10-03T20:09:33 Let BCP 47 tag "mo" fall back to OT tag 'ROM '
David Corbett a184c5f8 2022-01-30T13:28:23 Don’t always inherit from macrolanguages If an OpenType tag maps to a BCP 47 macrolanguage, that is presumably to support the use of the macrolanguage as a vague stand-in for one of its individual languages. For example, "ar" and "zh" are often used for "arb" and "cmn". When the OpenType tag maps to a macrolanguage and some but not all of its individual languages, that indicates that the OpenType tag only corresponds to the listed individual languages (which may be referred to using the macrolanguage subtag) but not the missing individual languages. In particular, INUK (Nunavik Inuktitut) is mapped to "ike" (Eastern Canadian Inuktitut) and "iu" (Inuktitut) but not to "ikt" (Inuinnaqtun), so "ikt" should not inherit the INUK mapping from its macrolanguage "iu".
Behdad Esfahbod b47b3b99 2022-01-29T10:24:38 [fallback-kern] Move buffer message to correct position
Behdad Esfahbod e986c120 2022-01-29T09:08:48 [verify] Show buffer input text when verification fails
Behdad Esfahbod 3972e0a8 2022-01-29T08:22:19 [buffer] Whitespace
David Corbett 0b1bf89c 2022-01-28T22:27:51 Replace “[family]” with “[collection]” Not all language collections are language families.
David Corbett 0e31595e 2022-01-28T22:26:38 Infer tag mappings for unregistered macrolanguages Every macrolanguage not mentioned in the OT language system tag registry is mapped to every tag of its individual languages, if those have registered tags.
David Corbett 5a654594 2022-01-28T21:29:43 Add the language system tag INUK
Garret Rieger bc899650 2022-01-28T13:54:10 [subset] Fix for issue #3397. cur_intersected_glyphs gets modified during recursion leading to incorrect filtering of sub tables in some cases. So don't use cur_intersected_glyphs. Instead just add an additional entry onto the parent_active_glyphs () stack. Additionaly expands NotoNastaliqUrdu tests to include coverage of the issue from #3397.
Garret Rieger f3c1f4f0 2022-01-28T11:50:22 [subset] convert active_glyphs_stack to be a vector of hb_set_t instead of hb_set_t*.
Behdad Esfahbod 476a6377 2022-01-28T15:05:10 [buffer] Document HB_BUFFER_FLAG_VERIFY
Behdad Esfahbod 5b1d813b 2022-01-28T13:49:21 [config] Enable HB_NO_BUFFER_VERIFY in HB_LEAN
Behdad Esfahbod 61823838 2022-01-28T13:45:25 [buffer] Add HB_BUFFER_FLAG_VERIFY Move buffer verification code inside the library, from util/. Part of https://github.com/harfbuzz/harfbuzz/issues/3010
Behdad Esfahbod 7c704d89 2022-01-28T12:38:32 [buffer] Make hb_buffer_append() take a const argument
Behdad Esfahbod 24650624 2022-01-28T13:53:21 [font] Fix build with no-var configs
Behdad Esfahbod 91b779e2 2022-01-28T13:52:15 Avoid redefinition of HB_NO_SETLOCALE in certain configs
Khaled Hosny fa29006b 2022-01-27T01:57:45 [doc] Fix generation of hb_glyph_flags_t docs GTK-Doc does not like the empty lines here, and interprets everything after the first empty line as the description of the enum itself not a specific member and the generated text makes no sense. Removing the empty lines makes the text harder to read (both in source and HTML), but at least it is correctly organized.
Behdad Esfahbod e9cc5f6c 2022-01-26T12:23:29 Merge pull request #3297 from harfbuzz/unsafe-to-concat Implement UNSAFE_TO_CONCAT flag
Behdad Esfahbod 540af548 2022-01-25T09:10:56 [unsafe-to-concat] Clarify documentation as per feedback Fixes https://github.com/harfbuzz/harfbuzz/pull/3297#discussion_r754395825
Behdad Esfahbod bad5c945 2022-01-23T10:53:19 [test] Remove HB_UNUSED
Behdad Esfahbod 6c09a8b5 2022-01-23T10:52:13 [test-serialize] Assert len
Behdad Esfahbod 76c6f416 2022-01-23T10:43:37 [test] Add test-serialize
Behdad Esfahbod 33246064 2022-01-22T15:46:13 [buffer] Oops
Behdad Esfahbod ea1b32c8 2022-01-21T18:58:33 [unsafe-to-concat] Adjust "interior"ness of "from_out_buffer"
Behdad Esfahbod 4f04baef 2022-01-21T18:26:54 [unsafe-to-concat] Further adjust Arabic joining logic at boundary
Behdad Esfahbod 235c3a12 2022-01-21T15:17:40 [unsafe-to-concat] Adjust Arabic joining logic Test failures done one more. Fixed the mongolian-variation-selector test. Another test case: $ util/hb-shape NotoSansArabic-Regular.ttf -u 628,200c,628 --show-flags --verify
Behdad Esfahbod 48c5f261 2022-01-21T12:18:50 [unsafe-to-concat] Fix PairPos2 logic Test failures down from 8 to 6: 113/400 harfbuzz:shaping+in-house / mongolian-variation-selector FAIL 0.06s exit status 1 203/400 harfbuzz:shaping+aots / gpos3 FAIL 0.06s exit status 1 204/400 harfbuzz:shaping+aots / gpos4_lookupflag FAIL 0.06s exit status 1 260/400 harfbuzz:shaping+aots / gsub4_1_multiple_ligatures FAIL 0.06s exit status 1 264/400 harfbuzz:shaping+aots / lookupflag_ignore_attach FAIL 0.06s exit status 1 266/400 harfbuzz:shaping+aots / lookupflag_ignore_combination FAIL 0.06s exit status 1
Behdad Esfahbod c0058892 2022-01-20T15:51:04 [unsafe-to-concat] Mark entire buffer unsafe-to-concat if kerx format2
Behdad Esfahbod 60006d36 2022-01-20T15:29:28 [gsubgpos] Adjust chaining unsafe-to-concat application Fixes three tests.
Behdad Esfahbod d98a0fc8 2021-12-04T20:43:27 [buffer] Consolidate glyph-flags implementation
Behdad Esfahbod f91ce56e 2021-12-04T20:07:05 [buffer] Add default cluster value in find_min_cluster
Behdad Esfahbod 56d08195 2021-12-04T19:59:55 [buffer] Rename _unsafe_to_break_set_mask to _infos_set_glyph_flags
Behdad Esfahbod 78481b32 2021-11-21T16:50:34 [gsubgpos] Combine input/backtrack/lookahead unsafe-to-concat I feel like this is correct logic. Still have to prove. Errors unchanged at 10.
Behdad Esfahbod 596bc7e9 2021-11-20T12:02:47 [unsafe-to-concat] Add to GPOS kerning
Behdad Esfahbod e1cbd453 2021-11-20T11:46:48 [unsafe-to-concat] Add annotations to GPOS and kern Failures from 13 to 14.
Behdad Esfahbod 3122c2cd 2021-12-04T19:50:33 [buffer] Add HB_GLYPH_FLAG_UNSAFE_TO_CONCAT Fixes https://github.com/harfbuzz/harfbuzz/issues/1463
Behdad Esfahbod 20031ddb 2022-01-22T11:41:30 [unsafe-to-concat] Mark in all other shapers unsafe_to_break() implies unsafe-to-concat; but setting the flag manually wasn't.
Behdad Esfahbod 6e345f70 2022-01-22T11:40:37 Cosmetic
Behdad Esfahbod 374a6f18 2022-01-22T11:29:00 [fallback-shape] Add buffer trace log
Behdad Esfahbod bcdfedbc 2022-01-22T11:19:05 [unsafe-to-concat] Mark as unsafe in kern machine Fixes that last test. Yay!
Behdad Esfahbod 14d43d12 2022-01-22T10:46:18 [unsafe-to-concat] Adjust end conditions