To avoid always depending/linking with harfbuzz/icu libraries, we would prefer os::draw_text() as a global function instead of a os::Surface member function. Also we're going to use two alternatives:
os::draw_text(), and
os::draw_text_with_shaper()
To reduce binary size of apps that don't require the text shaping engine.
To avoid always depending/linking with harfbuzz/icu libraries, we would prefer
os::draw_text()
as a global function instead of aos::Surface
member function. Also we're going to use two alternatives:os::draw_text()
, andos::draw_text_with_shaper()
To reduce binary size of apps that don't require the text shaping engine.