Capabilities Question #166
Replies: 1 comment 3 replies
-
We don't generally expose all the font metrics as this library wasn't designed to be a general purpose font loader. What it does do however is perform text layout and rendering via the Basically if you are interested in laying out all the glyphs yourself this libraries public API probably isn't the best fit for you and a fork/port might be better, but if you are just trying to load a ttf, and have it draw to some surface you control (and you can convert from path/vectors on your target platform) then you should be able to get this working well enough. All that said if you are interested in something that supports fully rendering to a raw pixel data then you might want to look at ImageSharp.Drawing directly. Note ImageSharp.Drawing only has a general purpose renderer which isn't optimised for screen rendering but could be used as inspiration (improving the caching so that its longer lived than a single call for example). |
Beta Was this translation helpful? Give feedback.
-
Hello!!
I am doing some research and POC stuff for something that I want to do and I came across this library.
What I am doing is building a cross-platform game engine that uses OpenTK(OpenGL) under the hood. I need to render text to the screen and was hoping this library could help me out.
Questions:
NOTE: This is pulled from LearnOpenGL
Thanks!!
Beta Was this translation helpful? Give feedback.
All reactions