34

LINE 電腦版標點符號變小問題

 1 year ago
source link: https://blog.darkthread.net/blog/line-small-symbol-issue/
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

LINE 電腦版標點符號變小問題

calendar.svg 2022-06-12 08:18 AM comment.svg 1 eye.svg 1,256

最近電腦上的 LINE 怪怪的,某些標點符號變得很小,但有些又不會:

Fig1_637905940091859258.png

測了一下,發現問題出在全型「,、。?!」等符號,半型沒問題。

之前處理過反斜線變日圓符號(¥),知道 LINE 的字型有些特殊設計。

實測發現跟我 LINE 選用 Consolas 字型有關,改用微軟正黑體、思源黑體甚至細明體,全型標點大小正常,但若選用 Consolas、Time New Roman 等英文字型(註:字型未包含完整 Unicode 字元範圍),「,、。?!」等全型符號就會變得超小。。

Fig2_637905940092331391.png

再測了幾種字型,結果更加迷離。基本上選英文字體「,、。?!」等全型符號會變小,但偏偏有 Courier New 這個特例,而 Time News Roman 不但全型標點,連半型標點也超小。選中文字體,則又有半型 , 及 . 偏小的問題 (我心中的理想半型符號大小要像 Consolas 啊)。比較之後,我覺得若要兼顧全型半型符號清晰度,只剩微軟正黑體勉強能接受。

Fig3_637905940092855726.png

上次研究心得,LINE 雖然用 CSS 控制字型,但樣式設定被打包成資源檔,很難魔改,故回到老結論,等 LINE 自己修正吧。

and has 1 comment

Comments

Post a comment

Comment
Name Captcha 74 - 40 =

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK