-
Notifications
You must be signed in to change notification settings - Fork 404
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
JUCE SVG and UI issues #4438
Comments
Since I asked:
|
Hmmm SVG parser in JUCE not working with our specific type of gradient (or the way it's outlined in the SVG)? EDIT: Possibly related - https://forum.juce.com/t/how-radial-gradients-are-defined-in-juce/11055 |
@baconpaul Please investigate why we cannot nicely center text vertically AND horizontally in the tempo block (VKB area), despite justification set to |
I remember now
|
which you should call in |
Reactivate skin colors for typein, one issue remains outlined in surge-synthesizer#4438
Reactivate skin colors for typein, one issue remains outlined in #4438
basically change this line
in the SVG from 131.45 to 270.5 and you will get something closer to what 19 did Seems 1.9 was not dealing with non-uniform scales on gradient transforms properly. |
Aaaaand that's fixed. JUCE is still not rendering the raster texture that's part of that gradient but I guess that's up to them to implement? Which then only leaves the Royal Surge issues. |
The reason for the different colors in royal surge are because royal surge has odd svg. It might be standards OK but juce doesn't like it.
here's the SVG for a chunk of the LFO arrow. That's saying the fill is But it is also saying there's a style with a fill. That fill is #f6d537 which is the desired color, and also the color chromium selects. So the answer on these odd royal skin colors is: Royal gives two conflicting colors for the fill in their svgs. Chromium and VSTGUI pick one, juce picks the other. Juce may be wrong but the easy fix is to find all the places with a fill and a style and make them coherent. I think, other than new assets and new colors, that's the only remaining svg issue correct? |
@baconpaul There's also the issue where the slider grooves render quite differently (no semitransparent triangles) in JUCE vs 1.9. Is that the same conflicting color thing? |
I'm assuming it is yes. Here's a fragment from bmp00154
same problem |
Gosh darn it! Oh well, gotta manually tweak. |
wonder if i can write a script to find em |
yeah i you just remove the conflicting fill and fill-rule the style gets used properly |
by the way, do we know if we will have royal updated for xt1? If so I need to update the pipelines. |
I gotta talk to Nick. I think the problem will be the temporary coded multibutton you coded, all of them look a bit different style wise in Royal, so the coded ones would stick out like a sore thumb. |
Right so we would need backgrounds blank for some since they change their label as we undertake actions if we went with svgs, or we would need to change the drawing code with more options |
Alldone except for the goobits moved to #5437 |
Left - 1.9, right - XT. Slider groove is darker/more opaque and there's no semitransparent triangle.
Unsure why the modbutton arrow is a different color here. Makes no sense, SVG shows brown and yellow states over here. Red is nowhere to be found?
Chromium and Figma render it fine. Seems to be caused by the stroke in the last
<path>
:The text was updated successfully, but these errors were encountered: