Skip to content

Lohit Telugu: problematic font metrics  #91

Description

@santhoshtr

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions