• MorphOS Developer
    Piru
    Posts: 576 from 2003/2/24
    From: finland, the l...
    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 ]
  • »23.03.20 - 09:10
    Profile