google / google/iconvg

C implementation allows `T` drawing command to reflect off `C` control point

Open
#23 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
C
Stars
694
Forks
10
PR merge metrics
No merged PRs in 30d

Description

If I'm reading the code correctly, in the C implementation, a 0xAF opcode (`C` command) followed by a 0x4F opcode (`T` command) will result in the `T` command using the last control point of the first opcode to compute the first control point of the second opcode, but the SVG spec says "if the previous command was not a Q, q, T or t, assume the control point is coincident with the current point".

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.