harfbuzz_rs icon indicating copy to clipboard operation
harfbuzz_rs copied to clipboard

Add optional freetype integration

Open narodnik opened this issue 1 year ago • 2 comments

Added the function hb_ft_font_create_referenced() for creating fonts from freetype faces.

narodnik avatar May 22 '24 11:05 narodnik

When building for android target, the compiled harfbuzz is missing freetype support due to the system not having it installed.

Should we make these changes:

  1. Link freetype-sys as a git submodule
  2. Add these lines to build.rs: .include("freetype-sys/freetype2/include/") and cfg.define("HAVE_FREETYPE", "1");.

?

narodnik avatar Jun 06 '24 07:06 narodnik

so....

narodnik avatar Jun 23 '24 14:06 narodnik