mvysny / aedict

Original Aedict 2 source codes
http://www.aedict.eu
GNU General Public License v3.0
40 stars 7 forks source link

Abnormal font spacing when using custom fonts #984

Open malekairmaroc7 opened 10 months ago

malekairmaroc7 commented 10 months ago

Hello!

I noticed that some custom fonts have unusual large line spacing (see screenshot). I tried using Source Sans Han (Japanese) which is affected by the bug. I am actually not sure if this is normal by that font.

Some data:

Google Pixel 6a Android 14 (Nov. 2023 patch) Aedict 3.51.2

Thank you!

1701004529312

mvysny commented 10 months ago

Unfortunately custom fonts tend to have this kind of effect, for some reason. I'm simply using stock Android components to both show and edit text. Could it be some kind of bug in Android font rendering mechanism? :thinking:

Could you please attach the font in this ticket, so that I can try it out myself? You can zip the font file and attach it here as a zip file.

malekairmaroc7 commented 10 months ago

Hey,

sorry for the delayed reply.

The font being used is attached.

Thank you!

NotoSansCJKjp-Medium.zip

AltoRetrato commented 2 months ago

This issue seems to be a duplicate of #974