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
Very nice stuff. I have looked over the code briefly, but how hard would it be to get a scaled output of a character for just the line points and then can be processed from there. I will take some more time to look at the code, but maybe can come up with a sample app that does this quickly? Going to try and put this on a small micro, etc.
Will deal with the curves later depending on how it looks.
Thanks
The text was updated successfully, but these errors were encountered:
There is currently no API for that, but it should be pretty easy to implement.
libschrift first accumulates all lines and curves of a glyph in a struct outline buffer,
then tesselates the curves into more straight line segments.
So after tesselate_curves() has finished, that struct contains exactly what you need:
an array of endpoints, and array of line segments, where each line is represented as a pair of indices into the point array.
Very nice stuff. I have looked over the code briefly, but how hard would it be to get a scaled output of a character for just the line points and then can be processed from there. I will take some more time to look at the code, but maybe can come up with a sample app that does this quickly? Going to try and put this on a small micro, etc.
Will deal with the curves later depending on how it looks.
Thanks
The text was updated successfully, but these errors were encountered: