I need to find the coordinates of the points of the letters that were typed
Everybody in this thread has answered your initial question. It seems this is the question you should have asked from the very beginning.
I'm not aware of an android based solution where you can convert characters to actual coordinates, perhaps somebody else in the forum knows more about this.
If we for the moment assume it's not possible, one working solution could be including a svg file per character in your app. The user types in
YOLO and you grab the files
Y.svg,
O.svg and
L.svg and offset them according to a pre-generated character width file.
Of course, if that's the route you're interested in, there's nothing stopping you from skipping the svg step entirely and just have GCode coordinates instead. One thing that might be interesting with svg though is the ability to preview the output using
the svg library from
@agraham.