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
[BUG] Inconsistencies with #fit-to-height
#141
Comments
I am not sure about the program state at this instant, but I found the following bug in my (hidden) terminal:
That might provide a clue. |
You're really on a mission to find every hacky bit of Polylux, aren't you 😅 |
I suspect the issue is with this unconditional space: https://github.com/andreasKroepelin/polylux/blob/main/utils/utils.typ#L75 One way to verify is using #import "@preview/polylux:0.3.1": *
#set page(paper: "presentation-16-9")
#polylux-slide[
#fit-to-height(100% - 1.0000001em)[
Test
]
] |
I am actually just using it for the first time. I am enjoying it so far, but there are definitively some rough edges. I think mostly people find workaround, but I try to make issues where I find it reasonable. I hope I am not giving you too much of an headache xD
|
It's great that you open issues! I just can't promise I'll have time to work on them soon. |
Oh absolutely! Mainly intend to document issues that I observe, that might be only discoverable by certain use and with certain expectations, and notify "those in charge". What you do with that notification is none of my business - I have no claim to your time. If one or two of these get fixed months down the line, it is worth it to open up issues ^_^ |
#fit-to-width
#fit-to-height
I figured that
1fr
and100%
should do the same thing on an empty slide. But the results are different, and both look horrible:The top case, using 1fr, ends up clipping. The bottom case does not clip, but reveals how both cases in fact do not use the full height of the slide.
I would expect them to do the same (on an empty slide), and to fill the height without clipping.
The text was updated successfully, but these errors were encountered: