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
Arabic Language Support #391
Comments
You may be interested in this solution: https://github.com/ryanoasis/nerd-fonts Duplicate #358 |
I am thinking of doing the Arabic version of Inter. |
@NotAnmol You can achieve this by using a font editor (e.g., FontForge) and combining the Latin with Arabic to produce a new font. |
@bluemix yes thats what we are moving (using FontForge) right now. |
Isn't it easier to use 'Nerd Fonts' solution? #391 (comment) |
@VladWinner couldn't find 'Inter' font in Patched Fonts folder. |
|
In practice you do not want one font file with Latin/Cyrillic and Arabic since the constructs are very different. Better to use multiple font files in your source chain. If you’re making a website, specify it with the font-family CSS list. There are no plans for Arabic Inter I’m afraid. Noto is a good font family that works well with Inter. |
@rsms So what would you suggest, Let's say I use Noto for Arabic and Inter for English, how would I apply 2 different fonts for 2 different languages in a single page. |
OR
OR
|
That's just importing 2 fonts, what if Arabic version also have English glyphs, how would I set it so that it automatically applies one font to Arabic and other to English |
@NotAnmol Mentioned 'Noto * Arabic' fonts contain only Arabic glyphs, while for the rest glyphs (English etc.) Inter font will be picked up. Try it yourself. |
@NotAnmol: actually in modern browsers you could define which browser you would like to be used by specifying the @font-face {
font-family: 'Inter';
font-style: normal;
font-display: swap;
font-weight: 400;
src: url('../lib/webfonts/inter-cyrillic-ext-400-normal.woff2') format('woff2'), url('../lib/webfonts/inter-all-400-normal.woff') format('woff');
unicode-range: U+0460-052F,U+1C80-1C88,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F;
} |
Inter to have support for Arabic language, really loved what Notion has done with their product using Inter, would love to do same, but we need Arabic support because we support localisation
Additional context
The text was updated successfully, but these errors were encountered: