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

Stroke Numbers Upside Down #120

Open
Pairtel opened this issue Jul 31, 2024 · 1 comment
Open

Stroke Numbers Upside Down #120

Pairtel opened this issue Jul 31, 2024 · 1 comment

Comments

@Pairtel
Copy link

Pairtel commented Jul 31, 2024

Hi, when I use the code to generate a modified still SVG https://github.com/skishore/makemeahanzi/blob/master/stroke_caps/generateStillSvgs.js
the numbers of the strokes appear correct in the preview (and in a browser e.g. edge), but a flipped in any graphic program I use such as Indesign, Photoshop, Illustrator etc.
I already read that this could be due to a messed up coordinate system. How I can I fix it?
Best regards and thanks in advance for any help,
Paul
Bildschirmfoto 2024-07-31 um 14 40 20

@skishore
Copy link
Owner

I'm certainly not familiar with any specific graphic program, but could you try deleting this portion of that script and re-running? On line 66, delete this bit:

style="transform-origin:${startingPoints[i].x}px ${startingPoints[i].y}px; transform:scale(1,-1);

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

2 participants