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

Font baseline shift #3393

Closed
sebaldundsoehne opened this issue Sep 29, 2016 · 9 comments · Fixed by #6292
Closed

Font baseline shift #3393

sebaldundsoehne opened this issue Sep 29, 2016 · 9 comments · Fixed by #6292

Comments

@sebaldundsoehne
Copy link

Is there a way to modify the vertical-alignment of the font itself? On my Mac all the fonts are shifted down a few pixels. This looks buggy...

bildschirmfoto 2016-09-29 um 16 42 33

@etimberg
Copy link
Member

@sebaldundsoehne what version and browser are you using? Do you have a fiddle that reproduces?

@sebaldundsoehne
Copy link
Author

I use Chrome 53.0.2785.116. I tried FF and Safari – same.

No, I don´t have a fiddle. It would take quite a long time to create one. But I guess, it´s a client-side rendering problem. The examples delivered with the .zip package also have slightly shifted fonts, but the problem seems to be more noticeable with custom webfonts.

@sebaldundsoehne
Copy link
Author

I tried on (virtual) Windows Chrome. Same. Is there a way to send you a private message? Then I could send you the URL of the dummy I am working on...

@etimberg
Copy link
Member

Could this be related to #3324 ?

@sebaldundsoehne
Copy link
Author

Yes, I guess. I have version 2.3.0 running. It´s not yet fixed in this release, is it?

@sebaldundsoehne
Copy link
Author

Fixed the offset in the tooltips with the titleSpacing option. But the fonts in the legend still don´t align with the baseline... A global setting for the vertical shift of the font would be great. Something like vertical-align in CSS.

doughnutchart_ 2

@etimberg
Copy link
Member

It's not fixed in v2.3.0. We'll need to do some investigation on the legend issue

@lefoy
Copy link

lefoy commented Dec 7, 2016

I have a similar issue, I can't find a way to properly align my chart legends. I'm using Chrome on Mac.

@nagix
Copy link
Contributor

nagix commented May 23, 2019

The alignment of legend items was fixed in #4318. The alignment of tooltip items is under way in #6292.

@nagix nagix added this to the Version 2.9 milestone Jun 19, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

6 participants