AceJump icon indicating copy to clipboard operation
AceJump copied to clipboard

Add setting to display to lower case tags

Open YNCBearz opened this issue 4 years ago • 2 comments

Is it available to add setting about tag selection (display to lower case)?

YNCBearz avatar Mar 28 '21 07:03 YNCBearz

Although it sounds like a simple feature, the problem with lower case tags is that the tag rendering algorithm becomes more complicated, since we would need to compute the center of the box when painting the letters, otherwise some letters like yjp will spill outside the boundaries. If anyone wants to give it a stab, here is where this is done:

https://github.com/acejump/AceJump/blob/4622fbb20b4a84dcceb16fa0c19c3f54b60396c9/src/main/kotlin/org/acejump/view/Tag.kt#L60-L74

breandan avatar Apr 17 '21 20:04 breandan