You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Basically title. Without helper that would take glyph directly or just endpoints and glyph points and return shape Typography.MsdfGen is unusable at least for me.
The text was updated successfully, but these errors were encountered:
Hey,
In case anyone else is interested, I've been working on a game engine and wanted to be able to generate SDFs at runtime and I managed to hook up the font loader and MsdfGen without any PixelFarm stuff. You can see my fork here on how it's done, but essentially I've created some wrappers around this libraries objects for my specific usecase.
TypefaceWrappertypeface=TypefaceWrapper.Load(newFileStream(...));GlyphWrapperglyph=typeface.GetGlyph('&');MsdfgenResultresult=glyph.RenderMSDF(glyphSizePixels:40,range:10,paddingPixels:3);// Result contains the FloatRGBBmp object and a vector containing how much the glyph has been translated in pixels
Basically title. Without helper that would take glyph directly or just endpoints and glyph points and return shape Typography.MsdfGen is unusable at least for me.
The text was updated successfully, but these errors were encountered: