-
Notifications
You must be signed in to change notification settings - Fork 6
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
Add Punjabi Font based on GurbaniLipi Font #17
Add Punjabi Font based on GurbaniLipi Font #17
Conversation
Hi @mbaljeetsingh, Happy New Year! Thank you for putting this up. I'm traveling this week, but should have a chance next week to spend some time looking at this. We'll want to also copy the documentation to make a page for the Punjabi version once the font itself is ready. |
Hi @rajadain, Happy New Year to you too. Sure, You can have a look at it once you get time. I'll work on the documentation part. Thanks. |
Remove non-integral values for shapes, add missing extremities, ensure there are no self-intersecting shapes, and generally validate the font. This is done mainly by the auto-fix option in FontForge, with some hand-tweaking done for `n` and `N` to ensure the lack of self-intersection, by making sure the chhat-wali-lakir of the Na does not intersect with that of the ee-ki-matra.
Hi Baljeet, Back from the travels and finally got some time for this. I did some initial validation via FontForge and ironed out some basic issues. I pushed up my work in a branch and you can see the diff here: mbaljeetsingh/fonts@master...omenad:mbaljeetsingh-master. When comparing the Punjabi file against the Hindi file as a baseline I'm seeing some differences that I don't understand just yet, such as different values for Also, I see the Mizrab-ke-bol glyphs are missing. Were planning on adding those or going without them? |
Hi @rajadain I'm not sure about it, you can have a look.
I was actually planning to go without Mizarab-ke-bol. I can add it similar to the one for the hindi font. I tried searching them for gurmat sangeet, but didn't find anything. That's why didn't add. |
I also tried generating |
Validate via FontForge
Hi @rajadain, I have updated the
I'm not sure, if I understand this. Can you guide me through it? If possible, can you make the necessary modifications? |
For consistency, I'd like for them to be there. If you can do a Punjabi version of them that'd be great, otherwise we could keep the Hindi ones. I'll add an explanation for the font validation that was done soon. I did make the modifications in that pull-request, and will do so in the future as well. |
Hi @rajadain I have updated the |
Hi @rajadain Can you please share, how can I test the documetation on my local machine? I'm assuming everything is inside the docs directory. |
Hi @mbaljeetsingh, The documentation is generated using Jekyll, which runs on Ruby. You can install it using: $ gem install bundler jekyll I just updated the dependencies on Once those updates are in, go in to the $ bundle install to install the dependencies. Then you can run the documentation by running $ ./scripts/server.sh in the root of the project. Let me know if there's any questions. I'll get back to the fonts shortly. Thanks for all your work on this! |
Update docs dependencies
Hi @rajadain I have done the first two steps
but I'm not able to run |
Added |
Hi Baljeet, Thanks for all your work on this. I think updating the Gemfile is something we should leave out, although I understand that you had to make some adjustments to get it to work under Windows, and that's fair. I think I'll have a separate effort to move the documentation to either Docker or Hugo or something that doesn't have as much of the Ruby dependency nightmare. But the documentation is just a side thing, the main thing is the font. I'll take another look at it in a couple days and make a PR against your branch with any cleanups that result. Thanks for your patience. |
Hi Baljeet, When I got some time last week I tried to set the docs to generate via Docker in this branch, but haven't yet tested this on Windows yet (learning how to thread Docker through WSL is tricky). In any case, I can probably handle the docs part myself. I'll get back to looking at the font itself soon. Thanks. |
Hi @rajadain |
Hi Baljeet, Sorry, this has been a crazy week at work. I'll get back to this soon. I did take an initial look, and was trying to resolve some discrepancies around Ni, which seemed to be taking more width than it does in the other fonts. Dir was also taking more than twice the width. It's possible we may have to scale down all the characters to keep it consistent with the other Bhatkhande fonts. As I was investigating that this week FontForge kept crashing. I'll get back to it soon. Thanks for your patience. |
While I'm still figuring out the differences, perhaps you can use the font at the current version: OmeBhatkhandePunjabi.ttf.zip This was built using the following command: $ fontforge scripts/convert.pe bhatkhande/punjabi/OmeBhatkhandePunjabi.sfd |
Hi @rajadain Can you confirm If you have changed the font name? when I open the ttf it shows the name Ome Bhatkhande Hindi. I guess it needs to be changed to Ome Bhatkhande Punjabi. Looking forward to see it added to the web version soon. |
Ah good catch, added it in cf04e97. Here's the updated version, if you could test again with it: OmeBhatkhandePunjabi.ttf.zip |
Yeah, It seems to working fine now. |
Change the order of some of the glyphs, remove extraneous attributes, ensure high degree of correspondence with Bhatkhande Hindi. Compared using: code --diff bhatkhande/hindi/OmeBhatkhandeHindi.sfd bhatkhande/punjabi/OmeBhatkhandePunjabi.sfd where `code` is for Visual Studio Code.
Hi Baljeet, I just compared the Punjabi version with the Hindi version in code, and made some edits to bring them more in line with each other in 0ff602a. Here's the latest font from that version: OmeBhatkhandePunjabi.ttf.zip. Please take a look when you can. I still need to figure out some width issues before finalizing this, but we're getting really close! |
Hi Baljeet, I just made mbaljeetsingh#3 for the final changes to the font. I also retargeted this PR to a new branch Thanks. |
Regularize to Hindi format, add Ra
Hi @rajadain, I have merged the pull request. Yeah, Looking very good in the FontGoogles image. So, If I have to make any change, I'll make the PR to |
Excellent, thank you! No more changes required from your end. I'm now going to merge this PR (I've already changed it to target |
Added punjabi font based on GurbaniLipi Punjabi Font. Let me know if it looks it. Looking forward.
Closes #12