Skip to content

OTF Devanagari glyphs suffer vertical distortion at small font sizes when hinting is active #79

@ss141309

Description

@ss141309

When rendering the glyphs at a small size (< 20pt), some of them appear to be vertically disjointed from the surrounding characters. This issue disappears when the hinting is turned off.

emacs-screenshot

Incorrect rendering of "ङ्क" and "छ" as can be seen in emacs at 16pt.

Steps to Reproduce:

  1. Open the font such as "TiroDevaHindi-Regular.otf" in ftinspect: ftinspect TiroDevaHindi-Regular.otf
  2. Go to the "Continuous View" tab and select the Text Source field to "Text String"
  3. Type in something like, "कछ" and then start decreasing the size you will notice the incorrect rendering
  4. If the hinting is turned off in the left pane, the issue disappears
Screencast_20260303_032736.webm

System Info:
Operating System: CachyOS Linux
KDE Plasma Version: 6.6.1
KDE Frameworks Version: 6.23.0
Qt Version: 6.10.2
Freetype Version: 2.14.1
Kernel Version: 6.19.5-3-cachyos (64-bit)
Graphics Platform: Wayland
Processors: 16 × AMD Ryzen 7 5800H with Radeon Graphics
Memory: 16 GiB of RAM (13.5 GiB usable)
Graphics Processor 1: AMD Radeon Graphics
Graphics Processor 2: NVIDIA GeForce GTX 1650

Metadata

Metadata

Assignees

No one assigned

    Labels

    All ScriptsBUGConfirmed bug needing attention.

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions