yufeih / Nine.Graphics

A real-time rendering library
MIT License
42 stars 8 forks source link

Font Rendering? #1

Open erictuvesson opened 9 years ago

erictuvesson commented 9 years ago

How are we going to design font rendering and import the fonts?

yufeih commented 9 years ago

I'd like to have built-in freetype support. But search around the web there doesn't seem to be any freetype rasterizer written in c#. We might need to consider using native interop.

amerkoleci commented 9 years ago

Maybe you can process font during content pipeline and generate SDF (signed distance font) format, in this way at runtime you can render with no scaling issues,

yufeih commented 9 years ago

Distance map is extactly what I am trying to do. 👍

erictuvesson commented 7 years ago

I read this a few days ago, might be interesting. Pathfinder, a Fast GPU-based Font Rasterizer in Rust.