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

Feature: Point (pt) as new space unit for labels #108

Open
anne-gropler opened this issue Oct 11, 2018 · 0 comments
Open

Feature: Point (pt) as new space unit for labels #108

anne-gropler opened this issue Oct 11, 2018 · 0 comments
Labels
haeley-webgl-text Move/to be resolved in to haeley-webgl-text

Comments

@anne-gropler
Copy link
Collaborator

Currently, there is space unit support for pixels (px) and the abstract world unit (world). The former is used for 2D Labels, the latter for 3D Labels.
Since px does not ensure an absolute size (i.e. the visible result depends on the display's dpi), pt would be useful to ensure an absolute size for labels, and thus, ensure labels' readability.

1 pt is 1/72 of an inch based on the physical size of the screen.

See devicePixelRatio.

@cgcostume cgcostume added the haeley-webgl-text Move/to be resolved in to haeley-webgl-text label Jan 26, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
haeley-webgl-text Move/to be resolved in to haeley-webgl-text
Projects
None yet
Development

No branches or pull requests

2 participants