Do not use horizontal hinting for the editor monospace font.

This commit is contained in:
bruvzg 2022-09-14 11:05:09 +03:00
parent 240fb8666a
commit e94ac75d3d
No known key found for this signature in database
GPG key ID: 7960FCF39844EC38
2 changed files with 9 additions and 2 deletions

View file

@ -1720,6 +1720,7 @@
</constant>
<constant name="HINTING_NORMAL" value="2" enum="Hinting">
Use the default font hinting mode (crisper but less smooth).
[b]Note:[/b] This hinting mode changes both horizontal and vertical glyph metrics. If applied to monospace font, some glyphs might have different width.
</constant>
<constant name="SUBPIXEL_POSITIONING_DISABLED" value="0" enum="SubpixelPositioning">
Glyph horizontal position is rounded to the whole pixel size, each glyph is rasterized once.