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

Two seemingly related issues #8

Open
ctrlcctrlv opened this issue Feb 15, 2021 · 1 comment
Open

Two seemingly related issues #8

ctrlcctrlv opened this issue Feb 15, 2021 · 1 comment
Labels
bug Something isn't working has workaround A workaround is known

Comments

@ctrlcctrlv
Copy link

I knew I thought there were more, however I was wrong. Only these two.

MFEKstroke_fails.zip

Command:

MFEKstroke --out build/FRBAmericanCursive-Guidance.ufo/glyphs/{/} --path FRBAmericanCursive-SOURCE.ufo/glyphs/{/} --pattern patterns.ufo/glyphs/arrow.glif -m repeated --sx 0.1 --sy 0.1 -s 3 --simplify true --stretch true

Pattern:

<?xml version="1.0" encoding="UTF-8"?>
<glyph name="arrow" format="2">
  <advance width="1000"/>
  <outline>
    <contour>
      <point x="0" y="0" type="line"/>
      <point x="0" y="52" type="line"/>
      <point x="594" y="52" type="line"/>
      <point x="594" y="0" type="line"/>
    </contour>
    <contour>
      <point x="408" y="265" type="move"/>
    </contour>
    <contour>
      <point x="260" y="171" type="line"/>
      <point x="278.5" y="189.5" type="line"/>
      <point x="334" y="134" type="line"/>
      <point x="278.5" y="79" type="line"/>
      <point x="260" y="97" type="line"/>
      <point x="284" y="121" type="line"/>
      <point x="0" y="121" type="line"/>
      <point x="0" y="147" type="line"/>
      <point x="284" y="147" type="line"/>
    </contour>
  </outline>
</glyph>
@MatthewBlanchard
Copy link

Issue is in skia's simplify or winding calls. I'm going to look further into this closer to merging the VWS branch into master. There needs to be work done to get PaP working in that branch so I will take the opportunity to do this then. For now you can build those glyphs without a simplify pass.

@ctrlcctrlv ctrlcctrlv added bug Something isn't working has workaround A workaround is known labels Sep 8, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working has workaround A workaround is known
Projects
None yet
Development

No branches or pull requests

2 participants