This makes examples/render.rs compile on linux, by choosing a default font. I don't know that there's a good default choice, so I just picked one arbitrarily. I'd be happy to change it.
There seems to be a font-kit bug that prevents correct rendering on my system, even with this patch: only the "H" and "हि" render correctly. Updating font-kit to the latest github version fixes this.
This makes
examples/render.rs
compile on linux, by choosing a default font. I don't know that there's a good default choice, so I just picked one arbitrarily. I'd be happy to change it.There seems to be a
font-kit
bug that prevents correct rendering on my system, even with this patch: only the "H" and "हि" render correctly. Updating font-kit to the latest github version fixes this.