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 2416bfc commit bd6e886
Show file tree
Hide file tree
Showing 3 changed files with 35 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
18 changes: 17 additions & 1 deletion dependencies/premake5_harfbuzz.lua
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,23 @@ do

warnings('Off')

defines({ 'HAVE_OT', 'HB_NO_FALLBACK_SHAPE', 'HB_NO_WIN1256', 'HB_NO_EXTERN_HELPERS' })
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',
})

filter('system:emscripten')
do
Expand Down
18 changes: 17 additions & 1 deletion dependencies/premake5_harfbuzz_v2.lua
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,23 @@ do

warnings('Off')

defines({ 'HAVE_OT', 'HB_NO_FALLBACK_SHAPE', 'HB_NO_WIN1256', 'HB_NO_EXTERN_HELPERS' })
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',
})

filter('toolset:not msc')
do
Expand Down

0 comments on commit bd6e886

Please sign in to comment.