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

Lohit Telugu: problematic font metrics #91

Open
santhoshtr opened this issue Jan 13, 2022 · 0 comments
Open

Lohit Telugu: problematic font metrics #91

santhoshtr opened this issue Jan 13, 2022 · 0 comments

Comments

@santhoshtr
Copy link

Lohit Telugu font is very problematic with its metrics. It has an Ascender 1617 units which exceed the total 1024 em units defined. And the x-height where the most of glyph strokes are supposed to occupy is just 500 units, leaving too much empty space above and below the em square.

image

The effect can be seen by comparing same text rendering by Noto and Lohit. First one is Noto, Second is Lohit telugu

image

image

This can create many issues with content layouting, text selection. For example, selecting some text will clip the previous lines as shown here.

image

Here is a ticket from Wikimedia bug tracker https://phabricator.wikimedia.org/T262102 with similar issue

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

1 participant