Inkscape.org
Beyond the Basics Add support for IEEE 754 float hexadecimal number in SVG file
  1. #1
    TNHH Tinh Phụng TNHH Tinh Phụng @VeTuDo
    *

    Inkscape developers please add this feature: use hex float number instead decimal number. Use float hex number not lose precision from convert decimal when write file, then convert back to hex when read file. Useful for use SVG replace PDF.

    Example SVG file here use big endian IEEE float format for draw black circle with radius 100 at (50; 50), fill opacity 1.0:

    <?xml version="1.0" encoding="UTF-8" standalone="no"?><svg version="1.1"  width="100" height="100" >

    <circle cx="#42480000" cy="#42480000" r="#42C80000" fill="#000000" fill-opacity="#3F800000" stroke="none" />

    </svg>

    Should also add this feature in future SVG version too.

  2. #2
    Maren Hachmann Maren Hachmann @Moini

    Feature requests need to go to https://inkscape.org/report .

    Make sure to supply info about the part of the SVG specification (link to it) that allows these values.

  3. #3
    TNHH Tinh Phụng TNHH Tinh Phụng @VeTuDo

    Not in standard. I think stardard not support IEEE float hex number. Strange because have hex integer format for color.

  4. #4
    Patrick Storz Patrick Storz @Ede_123

    The goal for inkscape is to produce standard-compliant SVGs, that can also be rendered by browsers and other popular SVG renderers. This request unfortunately does not seem to be compatible with that goal.

Inkscape Inkscape.org Inkscape Forum Beyond the Basics Add support for IEEE 754 float hexadecimal number in SVG file