microsoft / microsoft/maker.js
Invalid text path while creating Text model using ttf file
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 2k
- Forks
- 302
- Avg merge
- 21h 28m
- Merged PRs (30d)
- 5
Description
Hello,
When I was trying to generate SVG using makerjs "Text" model,
I am getting invalid text path when compared with other software.
I guess there is some issue with transformation of character.
Also, some part at start of svg is missing
Text = روميك
Preview in Microsoft word
Preview of makerjs SVG
Here is generated SVG & input font file
https://drive.google.com/file/d/1nAWOMypqvJTa2hufy5pxOfc2PMlKj6sw/view?usp=sharing
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the makerjs Text model with the provided TTF file and the Arabic text روميك, then compare the generated SVG with the Microsoft Word preview. Investigate the character transformation and the missing beginning of the SVG path. Done means the generated text path matches the expected glyph order and contains the complete text.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- computer-graphics
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100