question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[0.10.10] GeometryDrawing: glitches in rendering

See original GitHub issue

Describe the bug Some icons don’t show at all, some are shifted, etc

To Reproduce

  <Window.Resources>
    <GeometryDrawing x:Key="EvaIcons.CheckmarkCircle2Outline" Brush="#FF000000" Geometry="F1M387.124420166016,-400.150909423828C388.229858398438,-400.156280517578 389.342864990234,-400.088714599609 390.456878662109,-399.945495605469 399.369049072266,-398.7998046875 406.993011474609,-392.986541748047 410.456878662109,-384.695495605469C413.920745849609,-376.404479980469,412.698303222656,-366.895324707031,407.25,-359.75L293,-209.75C288.280181884766,-203.61882019043 280.987426757813,-200.018600463867 273.25,-200 265.555480957031,-199.958541870117 258.270538330078,-203.462692260742 253.5,-209.5L192.75,-287.25C184.25862121582,-298.157623291016,186.217376708984,-313.883636474609,197.125,-322.375C208.032623291016,-330.866394042969,223.75862121582,-328.907623291016,232.25,-318L273,-265.25 367.5,-390.25 367.25,-390.25C372.017272949219,-396.502166748047,379.386199951172,-400.113342285156,387.124420166016,-400.150909423828z M304.3896484375,-499.958587646484C250.851913452148,-501.122711181641 197.903366088867,-480.746063232422 158.578643798828,-441.421356201172 101.379058837891,-384.221740722656 84.2678985595703,-298.198181152344 115.224098205566,-223.463317871094C146.180297851563,-148.728439331055 219.107543945313,-100 300,-100 410.456970214844,-100 500,-189.543045043945 500,-300C500,-380.892456054688,451.271545410156,-453.819702148438,376.536682128906,-484.77587890625C353.182037353516,-494.449676513672,328.724975585938,-499.429412841797,304.3896484375,-499.958587646484z M300,-550C438.071197509766,-550,550,-438.071197509766,550,-300C550,-198.88444519043 489.089447021484,-107.725387573242 395.670837402344,-69.0301361083984 302.252258300781,-30.3349075317383 194.722793579102,-51.7238273620605 123.223304748535,-123.223320007324 51.7238273620605,-194.72282409668 30.3348770141602,-302.252258300781 69.0301208496094,-395.670867919922C107.725372314453,-489.089447021484,198.88444519043,-550,300,-550z"/>
  </Window.Resources>
  <Grid>
    <DrawingPresenter
       Grid.Row="0"
       Grid.Column="0"
       Width="48"
       Height="48"
       Margin="2"
       VerticalAlignment="Center"
       Drawing="{StaticResource ResourceKey=EvaIcons.CheckmarkCircle2Outline}"
     />

  </Grid>

Expected behavior Icon is visible

Desktop (please complete the following information):

  • OS: Windows
  • Version: 0.10.10

Additional context Works fine in 0.10.8

Issue Analytics

  • State:open
  • Created 2 years ago
  • Comments:12 (12 by maintainers)

github_iconTop GitHub Comments

1reaction
ahoppercommented, Dec 22, 2021

I’ve updated Avalonia.Iconpacks to scale and shift the icons to all be the same small size which effectively hides the issue. A good side effect is that the icons that had to be inverted no longer have an excess of decimal places.

1reaction
ahoppercommented, Nov 15, 2021

it also works in a Drawing image

<DrawingImage x:Key="EvaIcons.CheckmarkCircle2Outline">
  <GeometryDrawing  Brush="#FF000000" Geometry="F1M387.124420166016,-400.150909423828C388.229858398438,-400.156280517578 389.342864990234,-400.088714599609 390.456878662109,-399.945495605469 399.369049072266,-398.7998046875 406.993011474609,-392.986541748047 410.456878662109,-384.695495605469C413.920745849609,-376.404479980469,412.698303222656,-366.895324707031,407.25,-359.75L293,-209.75C288.280181884766,-203.61882019043 280.987426757813,-200.018600463867 273.25,-200 265.555480957031,-199.958541870117 258.270538330078,-203.462692260742 253.5,-209.5L192.75,-287.25C184.25862121582,-298.157623291016,186.217376708984,-313.883636474609,197.125,-322.375C208.032623291016,-330.866394042969,223.75862121582,-328.907623291016,232.25,-318L273,-265.25 367.5,-390.25 367.25,-390.25C372.017272949219,-396.502166748047,379.386199951172,-400.113342285156,387.124420166016,-400.150909423828z M304.3896484375,-499.958587646484C250.851913452148,-501.122711181641 197.903366088867,-480.746063232422 158.578643798828,-441.421356201172 101.379058837891,-384.221740722656 84.2678985595703,-298.198181152344 115.224098205566,-223.463317871094C146.180297851563,-148.728439331055 219.107543945313,-100 300,-100 410.456970214844,-100 500,-189.543045043945 500,-300C500,-380.892456054688,451.271545410156,-453.819702148438,376.536682128906,-484.77587890625C353.182037353516,-494.449676513672,328.724975585938,-499.429412841797,304.3896484375,-499.958587646484z M300,-550C438.071197509766,-550,550,-438.071197509766,550,-300C550,-198.88444519043 489.089447021484,-107.725387573242 395.670837402344,-69.0301361083984 302.252258300781,-30.3349075317383 194.722793579102,-51.7238273620605 123.223304748535,-123.223320007324 51.7238273620605,-194.72282409668 30.3348770141602,-302.252258300781 69.0301208496094,-395.670867919922C107.725372314453,-489.089447021484,198.88444519043,-550,300,-550z"   />
</DrawingImage>
Read more comments on GitHub >

github_iconTop Results From Across the Web

Video glitches while rendering
Hii so yesterday i was rendering my video when my edit came out all glitched and like an old tv kind of video....
Read more >
How do I fix these glitches in freestyle renders?
My freestyle renders randomly have these glitches in them (circled in red). From what I can tell they appear sometimes where there is ......
Read more >
Glitches after rendering a fusion composition
Hi! I'm rendering an animation I have made and I have found some troubles. While in the edit and fusion tabs everything looks...
Read more >
[Need Help] Glitch Frames In Render (16.2) - Video Included
Re: [Need Help] Glitch Frames In Render (16.2) - Video Inclu ... Charles Bennett wrote: You could try rendering at a lower speed....
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found