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

Use line-pixel-height in box height calculations #181

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

DivineDominion
Copy link

Meant as a demonstration how the actual line-height can be used in height computations.

Fixes #180

I actually think that if this is acceptable, we should replace other uses of (frame-char-height) with (line-pixel-height) to get consistent results during calculations.

Changing this will get line-pixel-height for the current window; not being able to specify which frame and window to ask could be a weakness, but I didn't encounter any issues so far.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

company-box--height doesn't take default line-spacing into account and clips lines
1 participant