• Just looking around
    Highlander
    Posts: 3 from 2018/8/19
    From: Toulouse, France
    Quote:

    Piru a écrit :
    Quote:

    it might be because of SVG icon that MorphOS totally doesn't support yet !?

    Let me explain the issue in MorphOS (and how it can possibly be worked around).

    SVG icons are XML files. When the SVG support was added Ambient (the MorphOS Desktop) only accepted SVG files that begin with a XML tag:

    Code:
    <?xml


    However, it was later found out that many valid SVG files begin with:

    Code:
    <svg


    or even a comment:

    Code:
    <!--


    Ambient was adjusted accordingly. However due to an oversight from my part the code handling snapshotting wasn't adjusted accordingly, and can only identify files beginning with "<?xml".

    This will be updated to the next MorphOS release. Meanwhile a workaround is to convert any problematic SVG file to a one that begins with the "<?xml" tag. This can be done by hand, or a tool could be written to perform the conversion.

    Converting to PNG works as well, of course!

    [ Edited by Piru 23.03.2020 - 10:11 ]


    That explains why I could be able to snapshot mine before cleaning all *.info "SVG" files for this 1.3 release! (earning a few kilobytes)
    Glad to hear it will be fixed for next MorphOS release :)
    --
    Don't lose it... and don't lose your head!
  • »23.03.20 - 11:21
    Profile