Reputation: 2341
I have a font... the circle monogram. The cursor for it does not want to line up with the actual position of the character insertion... Note the position of the cursor after the first character is typed, and the size of the textbox.
Note the position of the cursor after the second character is typed, and the size of the textbox.
Note the position after the third character is typed, and the size of the textbox.
So... hopefully these images are enough to understand what I am trying to accomplish, but if not then basically I am trying to programmatically move the cursor into the right location... If you couldn't tell... there will always be three letters max. This thread FabricJS Textbox - The cursor position is not set correctly for certain fonts is what I want, but it doesn't look like anything was actually fixed. Thank you in advance.
Edit: This is related to the bounding box of text, seeing that it doesn't use the most accurate means of computing kerning and what not. Read the comments under this post.
Upvotes: 0
Views: 221