-
Notifications
You must be signed in to change notification settings - Fork 69
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
Allow usage specify unicode code for each character #53
Comments
@edouard-lopez thanks for feedback, i don't know why it is happens, need investigation, if you have time feel free to PR or create issue to related project 👍 |
@evilebottnawi I used neither |
@edouard-lopez can you upload here one of svg? |
Here is 中.svg and the script to build those files. |
@edouard-lopez oh sorry, I did not immediately understand what you specifically mean 😄 Filename of svg files not associated with real unicode characters (). Starting unicode https://github.com/nfroidure/svgicons2svgfont/blob/master/src/metadata.js#L17 Why you need associated real filename and unicode? |
I generate the file from Unicode database, should I use the codepoint (e.g. |
@edouard-lopez we can generate custom font and use the offset to not intersect with the real characters of the fonts. This approach is used by all font generators, if you can explain in more detail why you need it and for what, then maybe I can help |
@evilebottnawi my goal is to generate a Chinese font based on Noto CJK (Chinese/Japenese/Korean) to add the pronunciation on top of each Chinese character, see repo, like example below. But the generated glyph should have the same codepoint as the original one otherwise it will be pointless as users won't be able to type the character. |
@edouard-lopez Thanks for the explanation, I think it's workable, I'll try to find a solution this week, but you can try it yourself and send PR 👍 |
I would expect an option What do you think? |
@edouard-lopez sgtm for me! |
@evilebottnawi
For example:
|
@edouard-lopez it is good 😄 |
I'm building a font from SVG files. For instance:
However 中 is associate with U+EA02 instead of U+4E2D CJK UNIFIED IDEOGRAPH-4E2D.
Question
Is there a convention I'm missing to assign a glyph to the correct codepoint?
related: parlr/Hanzi-Pinyin-Font#22 - Associate glyph with correct codepoint.
The text was updated successfully, but these errors were encountered: