fschutt / azul

Desktop GUI Framework
https://azul.rs/
Mozilla Public License 2.0
5.87k stars 219 forks source link

If would like to split out text shaping what is the plan? #264

Closed dzmitry-lahoda closed 3 years ago

dzmitry-lahoda commented 3 years ago

text shaping is good in its own, i would like it depend only on foundations. what would be plan to move it out of azul, but still usable by azul and by me?

fschutt commented 3 years ago

already done that: https://docs.rs/azul-text-layout/0.0.4/azul_text_layout/

dzmitry-lahoda commented 3 years ago

it depends on https://docs.rs/azul-core/0.0.2/azul_core/callbacks/index.html which is the purpose for GUI, not for rendering e.g. into PDF or image.

fschutt commented 3 years ago

yeah, I can't split that out, sorry. azul-core does not have dependencies (all deps are optional), so it's fine. Just use azul-core = { version = "0.2.0", default-features = false } and you won't have a dependency problem.