PistonDevelopers / gfx_graphics

A Gfx 2D back-end for the Piston game engine
MIT License
55 stars 31 forks source link

Switch from freetype-rs to rusttype (or provide it as an alternative) #276

Closed StelarCF closed 7 years ago

StelarCF commented 8 years ago

FreeType as a dependency makes it harder to port to other platforms, especially when trying to cross-compile from linux. FreeType is not likely to change that much, so using a statically compiled alternative will make it easier to compile.

Perhaps the option to use Freetype as an alternative should be provided, but I think using RustType (once it matures enough, if it isn't mature enough already) will benefit cross-platform development.

bvssvni commented 8 years ago

There is also https://github.com/pistondevelopers/truetype.

kvark commented 8 years ago

And also https://github.com/PistonDevelopers/gfx_text/issues/38 I don't know which one of {truetype, rusttype} is better, but at least one of them should beat freetype-rs eventually.

bvssvni commented 8 years ago

I opened up an issue for discussion https://github.com/PistonDevelopers/truetype/issues/25, and informed the author of RustType. Hope we can get our heads together and come up with a good plan.

bvssvni commented 7 years ago

Closed by https://github.com/PistonDevelopers/gfx_graphics/pull/288