Wrong position of underline with custom fonts

asked 2014-08-01 04:58:45 +0200

gexc gravatar image

updated 2014-08-01 05:47:48 +0200

After setting up a custom font, the position of underline in some widgets is much higher than expected if there are double-bytes (CJK) chars in the same line. In the other hand the whole line of text appear lower than the original position if a Chinese char is typed.

The problem occurrs at the widgets for message composing, mail composing, notes, tweetian... while not at those for message display, mail headlines, etc.

Two images are appended. The custom font used is Noto Sans (Source Han Sans), other fonts (Hiragino Sans, STHeiti) have also been tested, only the stock wqy-zenhei works fine.

okay here

bad here

edit retag flag offensive close delete