Skip to content

Commit

Permalink
slim down harfbuzz
Browse files Browse the repository at this point in the history
Diffs=
c36e16cb6 slim down harfbuzz (#6710)

Co-authored-by: Luigi Rosso <[email protected]>
  • Loading branch information
luigi-rosso and luigi-rosso committed Mar 2, 2024
1 parent 2e787a1 commit 55ddabd
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .rive_head
Original file line number Diff line number Diff line change
@@ -1 +1 @@
f2ecb3a22e9003dda6de911cc1a58b8547988ef4
c36e16cb6a812a4b46c5ea8f133598367b664a17
19 changes: 18 additions & 1 deletion wasm/premake5.lua
Original file line number Diff line number Diff line change
Expand Up @@ -232,7 +232,24 @@ files({
harfbuzz .. '/src/hb-outline.cc',
})

defines({ 'HAVE_OT', 'HB_NO_FALLBACK_SHAPE', 'HB_NO_WIN1256' })
defines({
'HAVE_OT',
'HB_NO_FALLBACK_SHAPE',
'HB_NO_WIN1256',
'HB_NO_EXTERN_HELPERS',
'HB_DISABLE_DEPRECATED',
'HB_NO_COLOR',
'HB_NO_BITMAP',
'HB_NO_BUFFER_SERIALIZE',
'HB_NO_SETLOCALE',
'HB_NO_STYLE',
'HB_NO_VERTICAL',
'HB_NO_LAYOUT_COLLECT_GLYPHS',
'HB_NO_LAYOUT_RARELY_USED',
'HB_NO_LAYOUT_UNUSED',
'HB_NO_OT_FONT_GLYPH_NAMES',
})

buildoptions({
'-s STRICT=1',
'-s DISABLE_EXCEPTION_CATCHING=1',
Expand Down
2 changes: 1 addition & 1 deletion wasm/submodules/rive-cpp

0 comments on commit 55ddabd

Please sign in to comment.