Smithay / andrew

Convenient drawing of objects such as shapes, lines and text to buffers
MIT License
17 stars 8 forks source link

Compiling fails on windows #4

Open Boscop opened 4 years ago

Boscop commented 4 years ago

Thanks for this nice crate. I want to use it to render data into a buffer, to create a glium texture to render with imgui. But it doesn't compile on windows because of this line: https://github.com/trimental/andrew/blob/30a2d2487e726520cfcf8a2e615fefab697649c7/src/text/fontconfig.rs#L5


error: C:\Users\me\.cargo\registry\src\github.com-1ecc6299db9ec823\andrew-0.2.1\src\text\fontconfig.rs:5: unresolved import `xdg::BaseDirectories`
error: C:\Users\me\.cargo\registry\src\github.com-1ecc6299db9ec823\andrew-0.2.1\src\text\fontconfig.rs:5: no `BaseDirectories` in the root