Skip to content

Commit

Permalink
Setting skia_enable_fontmgr_custom_empty=true on non-linux (its value…
Browse files Browse the repository at this point in the history
… defaults to skia_use_freetype &&)

skia_use_freetype=true is not automatic with skia_enable_fontmgr_custom_empty=true

Apparently it still tries to read headers from system locations on non-linux! Need skia_use_system_freetype2=false also.
  • Loading branch information
HinTak committed Nov 23, 2023
1 parent e5f2e63 commit 0f366c0
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions scripts/build_Windows.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@ cd skia && \
bin/gn gen out/Release --args='
is_official_build=true
skia_enable_svg=true
skia_use_freetype=true
skia_use_system_freetype2=false
skia_enable_fontmgr_custom_empty=true
skia_use_system_libjpeg_turbo=false
skia_use_system_libwebp=false
skia_use_system_libpng=false
Expand Down
3 changes: 3 additions & 0 deletions scripts/build_macOS.sh
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,9 @@ cd skia && \
bin/gn gen out/Release --args="
is_official_build=true
skia_enable_svg=true
skia_use_freetype=true
skia_use_system_freetype2=false
skia_enable_fontmgr_custom_empty=true
skia_use_system_libjpeg_turbo=false
skia_use_system_libwebp=false
skia_use_system_libpng=false
Expand Down

0 comments on commit 0f366c0

Please sign in to comment.