Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

skia does it better!! #16

Open
typemytype opened this issue Aug 20, 2018 · 0 comments
Open

skia does it better!! #16

typemytype opened this issue Aug 20, 2018 · 0 comments

Comments

@typemytype
Copy link

not an issue, but an example where skia has more precision compared to booleanOperations

skia adds off curve points in the small segment

<?xml version="1.0" encoding="UTF-8"?>
<glyph name="M" format="2">
  <advance width="500"/>
  <outline>
    <contour>
      <point x="269" y="253" type="curve" smooth="yes"/>
      <point x="170" y="253"/>
      <point x="89" y="356"/>
      <point x="89" y="481" type="curve" smooth="yes"/>
      <point x="89" y="607"/>
      <point x="170" y="710"/>
      <point x="269" y="710" type="curve" smooth="yes"/>
      <point x="368" y="710"/>
      <point x="448" y="607"/>
      <point x="448" y="481" type="curve" smooth="yes"/>
      <point x="448" y="356"/>
      <point x="368" y="253"/>
    </contour>
    <contour>
      <point x="339" y="357" type="curve"/>
      <point x="403" y="536" type="line"/>
      <point x="537" y="378"/>
      <point x="547" y="308"/>
    </contour>
  </outline>
</glyph>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant