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

Lagrange isn't recognizing Indic(Nepali, Sanskrit) Fonts #345

Closed
scientiac opened this issue Sep 29, 2021 · 5 comments
Closed

Lagrange isn't recognizing Indic(Nepali, Sanskrit) Fonts #345

scientiac opened this issue Sep 29, 2021 · 5 comments
Labels
bug Something isn't working i18n Internationalization issue

Comments

@scientiac
Copy link

I wrote a capsule on my native language, it shows on ariane, deedum on android , on amfora, kristall on desktop linux but lagrange shows boxes, i didn't understand the symbol font option, it didn't work when i loaded the font through that option.

Is this a bug or is it just my computer?

@skyjake
Copy link
Owner

skyjake commented Sep 29, 2021

Lagrange currently has only limited access to fonts. There's a few open issues about this (#195, #273). It is lacking Indic fonts and therefore the characters are showing up as missing (boxes).

Configuring a symbol font should alleviate the issue, but it has its limitations, too: only one font file is allowed, and it has to be TrueType (not OTF, for example).

@scientiac
Copy link
Author

Symbol font too didn't work, I tried preeti, devanagari, freesans, nothing worked, I guess I will wait for the support of more fonts now.
But damn it is the best looking gemini client, you have done some fine work here!
Good Luck for further!

@skyjake skyjake added the i18n Internationalization issue label Sep 30, 2021
@skyjake
Copy link
Owner

skyjake commented Nov 2, 2021

With v1.8 the Noto fonts now seem to have the required glyphs, but looks like there are still some issues with correctly shaping the text. I'll check where exactly things are breaking down...

स्पन्दन

Screen Shot 2021-11-02 at 6 51 47

@skyjake skyjake added the bug Something isn't working label Nov 2, 2021
@scientiac
Copy link
Author

scientiac commented Nov 2, 2021

That's great!!

We call those "half letters", those are represented by स् "The symbol under the letter" which is written when the letter is singularly mentioned, when combined it should look like the literal half or the letter स्प of " स " not‌‌ " स् " .

But it is kinda usable , Reading it is a little difficult as we are used to reading literal halfs instead of symbolic half letters. Also the punctuations are misplaced in this font pack ( "अर्धाङ्गिनी" - is shown " अ र् धा ङ् गनि नी " )

Thank You Very Much , This font will cover the main language of Nepal as well as many languages of Nepal including Hindi (Official language of India). And many Asian languages and Sanskrit Letters too.

skyjake added a commit that referenced this issue Jan 6, 2022
Tell HarfBuzz when Devanagari has been detected.

TODO: Check for other languages supported by HarfBuzz (there's a long list).

IssueID #345
skyjake added a commit that referenced this issue Jan 6, 2022
@scientiac
Copy link
Author

This is fixed on version 1.10
Thanks! Skyjake

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working i18n Internationalization issue
Projects
None yet
Development

No branches or pull requests

2 participants