google / iconvg

IconVG is a compact, binary format for simple vector graphics: icons, logos, glyphs and emoji.
Apache License 2.0
676 stars 11 forks source link

Potential error in the specification of encoding types #38

Closed 1ntEgr8 closed 2 years ago

1ntEgr8 commented 2 years ago

The spec mentions:

0x03 means a 1-byte encoding.

However, tests/data/elliptical.iconvg.disassembly seems to use a 4-byte encoding if the lower two bits equal 0x03.

Line 18 of tests/data/elliptical.iconvg.disassembly

ab aa 2a 3d         +0.041666668

I'm unsure where the error is. Looking at the other disassembled files, it seems like the problem lies in elliptical.iconvg.disassembly.

Specifications