aseprite / laf

A C++ library to create desktop applications
https://aseprite.github.io/laf/
MIT License
276 stars 60 forks source link

Drawing text as functions instead of Surface members #12

Closed dacap closed 5 years ago

dacap commented 5 years ago

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:

To reduce binary size of apps that don't require the text shaping engine.