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

Label letters have uneven vertical offset when scaling #5745

Closed
cguinnup opened this issue Aug 14, 2017 · 2 comments
Closed

Label letters have uneven vertical offset when scaling #5745

cguinnup opened this issue Aug 14, 2017 · 2 comments

Comments

@cguinnup
Copy link

cguinnup commented Aug 14, 2017

Used the label Sandcastle, but disabled FXAA and set scale to 0.5:
image
You can see the vertical height of the "a"s are off, and the horizontal line in the "e" is very nearly missing. Reproduced in FF and Chrome.

var viewer = new Cesium.Viewer('cesiumContainer');

viewer.entities.add({
    position : Cesium.Cartesian3.fromDegrees(-75.1641667, 39.9522222),
    label : {
        text : 'Philadelphia',
        scale: 0.5
    }
});
@cguinnup
Copy link
Author

cguinnup commented Aug 14, 2017

Similar misalignment also occurs when I set the font size to 14px and 16px, but don't use scaling. This bug combined with #5746 makes it very difficult to display quality text without using a giant font size. Also note that FXAA doesn't solve either case, which I see was discussed as a solution in the blurry text & billboards issues.

@ggetz
Copy link
Contributor

ggetz commented Jul 18, 2023

I think this is a duplicate of #8474. Closing this issue to move the discussion there.

@ggetz ggetz closed this as completed Jul 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants