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

Too much space on bottom of each glyph #18

Open
chuck-stein opened this issue Aug 10, 2021 · 2 comments
Open

Too much space on bottom of each glyph #18

chuck-stein opened this issue Aug 10, 2021 · 2 comments

Comments

@chuck-stein
Copy link

I'd like to use this font in my Android app, but unfortunately each glyph has too much vertical space, particularly on the bottom. This means the text does not appear vertically centered within a UI component, even when it is, like so:

227329953_389384329279986_2557587865180952977_n

I can artificially shift the baseline, but then there is just too much vertical space in general, and the UI components appear too tall and stretched out, instead of wrapping the text more closely.

228485981_977212296433259_8979434427610206911_n

This is how the UI components should be sized, with a different font that doesn't have this extra vertical space:

227085312_168745142022675_6786479554579582922_n

I noticed the issue is visible by comparing the glyphs in each box on Google Fonts between Manjara and other fonts.

Manjara:
_forupload1

Another font (Lato):
_forupload2

Would love to have a fix if possible, so I can use this in my app, thanks!

@santhoshtr
Copy link
Member

Hi,
You are right about this odd vertical spacing. As you may know, Manjari is primarily a typeface designed for Malayalam script. This script require vertical stacking for ligatures. This means, the descender cannot be minimum, but enough to accommodate 2-3 levels of vertical stacking of letters. As a result the whole vertical space ratios are odd for a Latin typeface. Latin glyphs were added after Malayalam glyphs to make the typeface complete and useful in Malayalam+Latin content scenario.

image

Above image compares the type metrics of Manjari and Lato. As you can see Manjari has bigger Descend values

But, to my surprise, Manjari attracted Latin users as well and I often get positive feedback about Manjari from such users.

I have not figured out a way to address this. I am hesitant sacrifice any of the design decisions I took for Malayalam(my mother tongue) to accommodate Latin script metrics.

@chuck-stein
Copy link
Author

Ah, I see. Thank you for the explanation, and let me know if there are ever any updates!

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

No branches or pull requests

2 participants