excessive vertical shift rendering different fonts (regression 1.50.5)
I'm using Noto Sans as English fonts and Noto Sans CJK SC as Chinese fonts, as I don't like English glyphs in Noto Sans CJK SC.
After upgrading to pango-1.50.5, the text with different fonts is rendered with excessive vertical shift. The result is extremely worse with larger font sizes.
The output of the following command is attached.
pango-view -t '测试 test' --font 'sans,200' --annotate=run-baselines
Font files used:
- https://github.com/googlefonts/noto-cjk/raw/main/Sans/Variable/OTF/NotoSansCJKsc-VF.otf
- https://github.com/googlefonts/noto-fonts/raw/main/unhinted/variable-ttf/NotoSans-VF.ttf
I'm not an expert in fonts or text rendering: maybe it's actually a bug in Google fonts but I'd like to hear your opinion first.
Edited by Xi Ruoyao