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

fix(LWW): follow extents_to_pixels for allocation #720

Merged
merged 1 commit into from
Jan 4, 2024

Conversation

GeopJr
Copy link
Owner

@GeopJr GeopJr commented Dec 26, 2023

Previously, the rectangle would go through PANGO_PIXELS to get the new allocation which doesn't match extents_to_pixels' behavior. extents_to_pixels uses PANGO_PIXELS_FLOOR for them. Additionally, extents_to_pixels doesn't seem to pass the rectangle as a reference while also manipulating its width and height which we don't use. So instead use the manipulation we need only

Previously, the rectangle would go through PANGO_PIXELS to get the new allocation which doesn't match extents_to_pixels' behavior. extents_to_pixels uses PANGO_PIXELS_FLOOR for them. Additionally, extents_to_pixels doesn't seem to pass the rectangle as a reference while also manipulating its width and height which we don't use. So instead use the manipulation we need only
@GeopJr GeopJr force-pushed the fix/LWW/follow-extents-to-pixels branch from e2583b7 to 69297aa Compare December 26, 2023 17:34
@GeopJr GeopJr merged commit fc2b26e into main Jan 4, 2024
5 checks passed
@GeopJr GeopJr deleted the fix/LWW/follow-extents-to-pixels branch January 4, 2024 18:02
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.

1 participant