You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
bugSomething isn't workingtextRelated to the text category, which is all about text handling, shaping, etc.visualizeRelated to the visualize category, which is about drawing and illustrating
A show-set rule on #raw no longer respects text colours. I believe this to be a regression, this wasn't present a month ago and came up when I updated my compiler.
I'll have a look in a few minutes, probably just white being accidentally set to some other color 😬
EDIT: it's just straight up ignoring the color, weird I haven't touched that area of the code
EDIT+: this only occurs on text when you're doing a set text inside of something like raw, otherwise there's no issues. Other containers don't have this issue
EDIT++: it seems that only raw is impacted, I did find a logic bug in color.rs for which I will submit a PR either way, but I can't figure out what is causing the current issue
I have determined that the error does not come from raw.rs, when doing text shaping, the fill is already set to black, this tells me that the PDF export code is working as intended, it might be trickier than just looking there, I am also quite surprised that the color PR is causing this
bugSomething isn't workingtextRelated to the text category, which is all about text handling, shaping, etc.visualizeRelated to the visualize category, which is about drawing and illustrating
Activity
mattfbacon commentedon Sep 29, 2023
Bisected to 163c2e1
cc @Dherse
Dherse commentedon Sep 29, 2023
I'll have a look in a few minutes, probably just white being accidentally set to some other color 😬
EDIT: it's just straight up ignoring the color, weird I haven't touched that area of the code
EDIT+: this only occurs on text when you're doing a
set textinside of something likeraw, otherwise there's no issues. Other containers don't have this issueEDIT++: it seems that only raw is impacted, I did find a logic bug in
color.rsfor which I will submit a PR either way, but I can't figure out what is causing the current issueDherse commentedon Sep 29, 2023
I have determined that the error does not come from
raw.rs, when doing text shaping, the fill is already set to black, this tells me that the PDF export code is working as intended, it might be trickier than just looking there, I am also quite surprised that the color PR is causing thisDherse commentedon Sep 29, 2023
Ok, so I found it and it is very insidious, I'll fix it and open a PR
Dherse commentedon Sep 29, 2023
Thanks for finding this bug BTW, it should be closed soon enough :)