Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Center sequence numbers in circle #87

Open
z0rb opened this issue Sep 10, 2023 · 1 comment
Open

Center sequence numbers in circle #87

z0rb opened this issue Sep 10, 2023 · 1 comment
Assignees
Labels
bug Something isn't working
Milestone

Comments

@z0rb
Copy link

z0rb commented Sep 10, 2023

Hi,

thank you for the nice and simple tool for annotating images.

One small thing that would make sequence numbers better is centering. The numbers are all a bit to the right:
image

I wonder if this might also be up to the font. Might be that they are actually centered, but the center of the number is not "optically" the center.

I have installed the Annotator on Debian Testing (Trixie) with Gnome. Found the install command here: #43 (comment)
Maybe it influences the centering ...

@phase1geo
Copy link
Owner

I'm not exactly sure what is going on here. When I draw the number, I get the text extents (i.e., width and height) from Cairo for the given number so that I can center the text. So the code that is required to center the text is already there, but the text is still not being centered precisely as desired. I can spend some time looking into this issue, but it's a lower priority issue at the moment.

@phase1geo phase1geo self-assigned this Sep 12, 2023
@phase1geo phase1geo added the bug Something isn't working label Sep 12, 2023
@phase1geo phase1geo added this to the 1.3.0 milestone Sep 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants