Skip to content

Caret position wrong with variable font width #1050

tobbi opened this Issue Oct 19, 2012 · 2 comments

2 participants

tobbi commented Oct 19, 2012

If I have bold text which is slightly wider than normal text, the caret position is off by a few pixels, especially when having a lot of text (because the wrong offsets add up).

@nightwing B.V. member

Most of monospace fonts have same width for bold text.
Ace tests if font supports bold text and adds .ace_nobold class if it doesn't.
You can use that as a workaround until #460 is fixed.

@nightwing B.V. member

closing as duplicate

@nightwing nightwing closed this Dec 6, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.