Skip to content

BATIK-1378 Add support for selective glyph extraction #61

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

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

NGExplorer
Copy link

Fixes BATIK-1378

Present ttf2svg application has a limitation that it export all characters or it export range of characters.
Consider a case of Chinese/Japanese language which was resulting in large svg file.
To avoid this we have added an option '-u' to specify a text file with unicode symbols, which are required in svg file.

…hacters to export to svg.

Present ttf2svg application has a limitation that it export all characters or
it export range of characters.
Consider a case of Chinese/Japanese language which was resulting in large svg file.
To avoid this we have added an option '-u' to specify a text file with unicode symbols,
which are required in svg file.

Signed-off-by: Nilam Gaikwad <[email protected]>
- Add support for hex to integer conversion, Since unicode are better written in hex format.
- Add warning for duplicate unicode glyphs. And skip duplicate entry from svg generartion.
- Add warning for string which failed to parse.

Signed-off-by: Nilam Gaikwad <[email protected]>
@nicusorcitu
Copy link

@cjolif @simonsteiner1984
Can you please review and integrate this PR?
Thanks.

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

Successfully merging this pull request may close these issues.

2 participants