src


Log

Author Commit Date CI Message
Behdad Esfahbod 16ecb969 2023-02-24T19:53:47 [wasm-api] Return success from buffer_contents_realloc
Behdad Esfahbod 2568890d 2023-02-24T19:04:39 [wasm-shape] Retry shaping if out-of-memory
Behdad Esfahbod 73de7d4d 2023-02-24T17:44:33 [wasm-api] Add shape_plan
Behdad Esfahbod c5af08c0 2023-02-24T15:57:10 [wasm] Add to harfbuzz.cc and hb-features
Behdad Esfahbod cbc71c56 2023-02-24T13:15:11 [graphite] Ensure native direction Mirrored characters come out wrong. Oh well. Better than before though.
Behdad Esfahbod 2d295183 2023-02-24T09:20:42 [wasm-api] Add buffer_contents_realloc
Behdad Esfahbod 3bc0ecf2 2023-02-23T10:30:35 [wasm-api] Add ref_t
Behdad Esfahbod 62f3c7cf 2023-02-23T10:29:04 [wasm-api] Add macros for ref handling
Behdad Esfahbod 07ece174 2023-02-24T08:08:18 [wasm-graphite] Initial code
Behdad Esfahbod 4c8a414a 2023-02-23T10:22:12 [wasm-api] Clean up debugprint
Behdad Esfahbod 63904538 2023-02-23T10:11:22 [wasm-api] Use i32 instead of externref in API spec Oh well...
Behdad Esfahbod 39f8703d 2023-02-24T12:42:22 [wasm-api] Match interface and implementation signatures
Behdad Esfahbod ae981eec 2023-02-23T21:36:17 [graphite] Remove script handling https://github.com/harfbuzz/harfbuzz/issues/3439#issuecomment-1442650148
Behdad Esfahbod bd28d01a 2023-02-23T09:49:46 [wasm-api] Add HB_WASM_INTERFACE
Simon Cozens ed1a70c7 2023-02-23T16:41:17 Only export debugprint when HB_DEBUG_WASM
Behdad Esfahbod 5ab7f7a7 2023-02-23T16:11:54 [wasm-sample] Make addTable take args
Simon Cozens 89c50b0c 2023-02-23T16:41:04 Fix debugprint format string
Behdad Esfahbod aa8f9eed 2023-02-24T15:20:37 [wasm-shape] Use JIT running-modes if available Build wasm-micro-runtime with: $ cmake . -DWAMR_BUILD_REF_TYPES=1 -DWAMR_BUILD_FAST_JIT=1 or: $ cmake . -DWAMR_BUILD_REF_TYPES=1 -DWAMR_BUILD_JIT=1 The latter needs llvm and is harder to get working. Still trying.
Behdad Esfahbod fea3ffe0 2023-02-24T12:31:32 [wasm-api] Beautify internal API
Behdad Esfahbod 551528a6 2023-02-23T16:06:39 [wasm-sample] Remove unused prototype
Behdad Esfahbod fd1f7f46 2023-02-23T09:25:05 [wasm-api] Implement font_get_face
Behdad Esfahbod 9f4dc2e1 2023-02-23T09:18:25 [wasm] Bind native API
Behdad Esfahbod 926f8a32 2023-02-23T15:52:13 [wasm-sample] Actually shape text!
Behdad Esfahbod e79a7318 2023-02-23T09:03:06 [wasm] Start adding wasm-api
Behdad Esfahbod 829ba742 2023-02-23T08:32:14 [wasm] Add hb-wasm-api.h
Behdad Esfahbod fe557e2f 2023-02-24T12:20:31 [wasm-api] Bind font_get_glyph_extents Untested.
Behdad Esfahbod c1dc1121 2023-02-23T15:47:56 [wasm-api] Bind buffer_set_contents
Behdad Esfahbod 11c6d460 2023-02-23T08:16:49 [wasm] Pass font & buff to shape() function
Simon Cozens 05bf9842 2023-02-23T14:55:49 Add a simple callback native function
Simon Cozens e0fec1dd 2023-02-23T22:18:22 [wasm-api] Wrap some of hb-font
Behdad Esfahbod bdbc1568 2023-02-22T23:30:28 [wasm] Port from c_api to wasm-micro-runtime wasm_runtime API
Behdad Esfahbod db8e51e0 2023-02-22T13:33:34 [wasm] More boilerplate
Behdad Esfahbod a2672499 2023-02-24T17:22:22 [wasm] Typo
Behdad Esfahbod 8d960dfe 2023-02-24T15:07:40 [wasm-sample] Remove Wasm table from test.ttf again Was added by mistake.
Behdad Esfahbod b3b6e8da 2023-02-24T12:03:53 [wasm-api] Bind buffer_reverse
Behdad Esfahbod af1f41a4 2023-02-23T15:17:18 [wasm-api] Clear structs in _free()
Behdad Esfahbod fcc8be40 2023-02-22T12:57:19 [wasm] Add meson build option Autotools support missing.
Behdad Esfahbod 425fc7f3 2023-02-22T12:19:06 [wasm] Add wasm shaper skeleton
Behdad Esfahbod 099a0150 2023-02-23T15:15:06 [wasm] Add HB_STRUCT_TYPE
Behdad Esfahbod 863ec70e 2023-02-24T12:00:29 [wasm-shape] Add TODO items
Behdad Esfahbod 851ef138 2023-02-23T15:06:18 [wasm-api] Add buffer-contents-free
Behdad Esfahbod d38f02ab 2023-02-23T15:03:03 [wasm-api] Make ref types actual pointers on the wasm side
Behdad Esfahbod 1c6d640e 2023-02-24T15:01:36 [wasm-shaper] Whitespace
Behdad Esfahbod 1acff90b 2023-02-24T11:53:47 [wasm-api] Bind font_glyph_to_string
Behdad Esfahbod cbd5c554 2023-02-23T14:54:46 [wasm-api] Add blob_free
Behdad Esfahbod 3bec8dca 2023-02-23T14:35:01 [wasm-sample] Free blob data for now
Behdad Esfahbod 7537d48f 2023-02-24T11:47:17 [wasm] Remove a few lingering hb_
Behdad Esfahbod d45a13f1 2023-02-23T14:28:16 [wasm] Add wasm-sample/
Behdad Esfahbod 5cecfe86 2023-02-23T13:58:40 [wasm-api] Bind buffer_copy_contents
Behdad Esfahbod cb382e48 2023-02-24T17:56:14 [wasm-shape] Cache wasm-shape-plan
Behdad Esfahbod 99d2dab3 2023-02-24T17:04:05 [wasm] Try at autotools build
Behdad Esfahbod 9f8ad392 2023-02-24T14:16:11 [wasm-api] Bind shaper features
Behdad Esfahbod d7f76f30 2023-02-24T11:31:04 [wasm-graphite] Memory cleanup
Behdad Esfahbod 50b22368 2023-02-23T13:41:41 Revert "Fix function signature" This reverts commit d70ebf98b0c696f3c66a20b1243cb347e3e3abc8. Nope. A struct return is not returned that way.
Simon Cozens 743cd2c4 2023-02-23T20:35:16 Fix function signature
Behdad Esfahbod 5738851b 2023-02-24T11:05:59 [wasm-api] Disallow "wasm" shaper in shape_with
Behdad Esfahbod 3b88bd97 2023-02-23T13:27:46 [wasm-api] Make ptr_t a pointer on the wasm side
Behdad Esfahbod d7a66716 2023-02-23T13:16:49 [wasm-api] Add debugprint1/2/3/4
Behdad Esfahbod 2327fe9d 2023-02-24T13:35:47 [hb-wasm] Remove TODO
Behdad Esfahbod 2bde2f66 2023-02-24T11:03:13 [wasm-api] Bind shape_with
Behdad Esfahbod 108995bb 2023-02-23T13:04:38 [wasm-api] Finish face_reference_table
Behdad Esfahbod 69b1707d 2023-02-23T13:00:06 [wasm] Return empty object when ref2obj fails
Behdad Esfahbod a08dbf41 2023-02-24T10:13:21 [wasm-api] Bind buffer_reverse_clusters
Behdad Esfahbod e87b1b3e 2023-02-23T12:23:52 [wasm-api] Try to add face_reference_table
Behdad Esfahbod b130b2b3 2023-02-24T13:34:16 [graphite] Simplify direction handling
Behdad Esfahbod 0a51ed31 2023-02-24T10:07:59 [wasm-api] Bind buffer_get_direction
Behdad Esfahbod 747dcf56 2023-02-23T11:53:08 [wasm] Strong typing for object references Such that wasm cannot crash us by passing wrong object refs. https://github.com/bytecodealliance/wasm-micro-runtime/discussions/1987 It still is unsafe if some code in the process other than HarfBuzz registers refs with wasm-micro-runtime, since wasm_externref_ref2obj() takes no context variable and looks up refs globally :(. Maybe I fix that later by keeping a hash table of ref->obj-type instead.
Behdad Esfahbod 6b72a18c 2023-02-23T11:06:48 [wasm-api] Rename file
Behdad Esfahbod a5c844a1 2023-02-24T09:52:38 [wasm] Rename macro
Behdad Esfahbod 42d121ae 2023-02-23T11:05:19 [wasm] Add hb-wasm-api.cc
Behdad Esfahbod 98070644 2023-02-23T10:58:22 [wasm] Add hb-wasm-api-list.hh
Behdad Esfahbod ec3270c7 2023-02-24T13:31:10 [wasm-graphite] Ensure native direction here too Binds buffer_get_script and script_get_horizontal_direction.
Behdad Esfahbod 23b58b56 2023-02-24T09:50:34 [wasm-api] Bind font_get_scale
Behdad Esfahbod 65efad6b 2023-02-23T10:49:02 [wasm] Make debugprint use debug API
Behdad Esfahbod bb8a04cb 2023-02-23T10:37:44 [wasm] Remove the print(returnval) and use it to fail shaper
Behdad Esfahbod 149199ee 2023-02-24T09:39:25 [wasm-api] Bind face_get_upem
Simon Cozens 36dd27bf 2023-02-23T17:33:50 Just printf, don't take length
Behdad Esfahbod 04a47932 2023-03-31T11:44:08 [paint] Remove enum trailing comma in C header Fixes https://github.com/harfbuzz/harfbuzz/discussions/4188
Garret Rieger 2cd81fdf 2023-03-30T22:11:43 [subset] fix memory leak. Fixes fuzzer issue https://oss-fuzz.com/testcase-detail/6169920089227264
Behdad Esfahbod 453ded05 2023-03-28T13:17:15 [indic] Tighten up base-finding Fixes https://github.com/harfbuzz/harfbuzz/issues/4185
Qunxin Liu c1acfe99 2023-03-22T19:06:58 [instancer] bug fix in TupleVariationData get_size () We need to iterate TupleVariationHeader when calculating the total size
Garret Rieger be872001 2023-03-24T17:30:53 [subset] fix buffer overflow fuzzer reported issue.
Garret Rieger 79ae6b65 2023-03-24T17:14:55 [subset] Fix fuzzer found memory leaks.
Qunxin Liu fe671a5a 2023-03-16T14:10:21 [instancer] support COLRv1 full instancing
Garret Rieger f0f7f225 2023-03-20T18:39:49 [subset] fix fuzzer found null deref. https://oss-fuzz.com/testcase-detail/5844352760152064
Garret Rieger 79233a14 2023-03-17T00:58:58 [subset] fix incorrectly specified lock. Lock variable must have a name or it will immediately destruct.
Garret Rieger 8d8bcde8 2023-03-15T17:29:08 [set] don't allow -1 (HB_SET_VALUE_INVALID) to be inserted into a hb_set_t. Add tests that check all of the addition methods.
Garret Rieger a84cae42 2023-03-15T02:39:57 [subset] Don't add invalid gids (-1) to the glyphset when loading glyph map from the accelerator.
Behdad Esfahbod 09a26623 2023-03-14T12:48:12 Merge pull request #4168 from googlefonts/subset_name_collect [subset] name_id closure
Behdad Esfahbod 75e6498d 2023-03-14T12:41:46 Don't use M_PI Fixes https://github.com/harfbuzz/harfbuzz/issues/4166 Happy Pi Day!
Jason Simmons 32c889f1 2023-03-13T18:24:39 Remove extra blank line in hb-outline.cc
Qunxin Liu 0d657386 2023-03-13T15:51:45 [subset] collect elidedFallbackNameID in STAT table
Qunxin Liu 125450d2 2023-03-13T15:43:29 [subset] collect name_ids for FeratureParams
Garret Rieger 663ecc01 2023-03-13T22:12:59 [subset] don't free glyphs by range. The iterator in this loop is a map iterator so glyphs are not necessarily traveresed in order.
Garret Rieger 3d05b961 2023-03-13T21:34:26 [subset] track which glyphs have allocated memory so we can clean up correctly. Fixes https://oss-fuzz.com/testcase-detail/5388270411579392
Qunxin Liu de6533d8 2023-03-13T13:36:00 [subset] collect name_ids from CPAL table
Qunxin Liu 7b77cd19 2023-03-13T12:45:43 [subset] fix bug in CPAL V1tail serialization We should serialize nameIDs rather than retained color index
Behdad Esfahbod 6d2705a7 2023-03-10T12:40:43 [justify-demo] Help message
Simon Cozens 2d863462 2023-03-10T14:32:39 Add Tifinagh to list of both-directions scripts
Jean-Michaël Celerier 905eeee4 2023-03-06T13:21:33 harfbuzz-config.cmake: support static library build