chiron-sung-hk icon indicating copy to clipboard operation
chiron-sung-hk copied to clipboard

希腊字母 θ 显示问题仍未解决

Open WyxXu opened this issue 1 year ago • 15 comments

image

希腊字母 θ 正体未能正确挖空,斜体则没问题。

WyxXu avatar Nov 24 '23 17:11 WyxXu

image 您好。感谢您的工作。以上系在OneNote中测试。

WyxXu avatar Nov 24 '23 17:11 WyxXu

你好。早前 θ 問題源於曲線方向有誤,此一錯誤已經修正,並回報至 Source Serif 字體(Italic 版曲線不同,未必會出現相同問題)。閣下既用 OneNote 測試,故推定作業系統是 Windows,而 OneNote 不支援 VF 字體,閣下使用的應是 Instance 版 OTF/TTF。我剛確認過字元 (U+03B8) 的曲線亦應無誤。我在 OneNote 嘗試輸入相關字元,也不相類似問題出現。

image

惟因事忙,匆匆查證恐有疏漏,因此未能能否幫忙確認一下:

  1. 所用的作業系統是否 Windows?
  2. 使用的是 OTF 還是 TTF 版?
  3. 字元 θ 所述的是 U+03B8?
  4. 字體版本是否已確認為最新 1.011?(Windows 如用覆蓋方法安裝新版字體,或會有舊版字體殘留,打開檔案所顯示的版本也未必正確,易生誤導。建議先完全移除舊版字體,再安裝新版以確認)

謝謝。

tamcy avatar Nov 25 '23 03:11 tamcy

補充信息:

image 左為OneNote,右為Word; 系統:win10(專業版 10.0.19045),字體係GitHub下載的最新版字體包,各個字重ttf單獨安裝,安裝方式-為所有用戶安裝,安裝字型後多次重啓; 顯示效果可能與office套件底層是XML有關?

通過 alt-X 確認字符編碼是 3B8 ,alt-X 將 03B8 逆轉爲字符,表現一致(即Sung系列統統顯示異常,Sung Text系列在 SB 字重時異常)

作爲參照:

image 使用 EmEditor,結果相同

image vscode+live server 在chrome顯示效果如上。Normal 字重在此不知爲何也顯示異常。

image AsciidocFx(基於Ruby?類markdown,可内嵌HTML)内置預覽似乎全部正常,但生成html到chrome中預覽又是另外一個情況,同前一例子。

PS: 字體在一般文本編輯器中的引用名和在CSS中的引用名似乎不一致,字重不能用縮寫,必須全名。且在文本編輯器中,Text 是在字重後面,到CSS中,字重又必須寫在Text後面。這個無傷大雅,只是略感有失一致性。

我用fontforge打開過ttf查看字形,似乎未發現綫方向等問題,最終也是不解爲何如此。

另:

image Sung 字族不知爲何在某些字體選擇器中顯示為亂碼(内文中顯示正常),可能係編輯器内部引擎差異所致。

感謝作者回覆。

WyxXu avatar Nov 26 '23 13:11 WyxXu

補充

image noetpad

image photoshop

image inkscape

image illustrator

WyxXu avatar Nov 26 '23 13:11 WyxXu

先謝謝提供這麼多的參考圖片。另外還想知道,請問閣下有沒有安裝一些像 MacType 一類取代 Windows GDI 渲染引擎的軟件?

tamcy avatar Nov 26 '23 14:11 tamcy

無。不知道有這個。感謝告知,我會嘗試下!

WyxXu avatar Nov 26 '23 14:11 WyxXu

不,我只是在排除一些可能性,並不鼓勵使用。

tamcy avatar Nov 26 '23 14:11 tamcy

@WyxXu 不知是否可幫忙試試,在最新下載昭源宋體 zip 檔的 ttf 目錄中,建立一 demo.html 檔,放入下面的 html 內容,再用 Chrome 開啟,並放大縮小看看,左右兩邊的 θ 是否正常?先謝謝!


<!doctype html>
<html lang="zh">
<head>
    <title>Test</title>
    <style>
        @font-face {
            font-family: 'ChironSungHK';
            src: url('ChironSungHK-R.ttf');
            font-weight: normal;
            font-style: normal;
        }

        @font-face {
            font-family: 'ChironSungHK';
            src: url('ChironSungHK-B.ttf');
            font-weight: bold;
            font-style: normal;
        }

        .local {
            font-family: 'ChironSungHK';
        }

        .system {
            font-family: 'Chiron Sung HK';
        }

        body {
            font-weight: normal;
            font-style: normal;
            display: flex;
        }

        div {
            flex: 1;
        }

        p, h1 {
            margin: 0;
            font-size: 12px;
        }
    </style>
</head>
<body>
<div class="col local">
    <h1>Local</h1>
    <p style="font-size: 9px; font-weight: normal;">θ Ѳ</p>
    <p style="font-size: 9px; font-weight: bold;">θ Ѳ</p>
    <p style="font-size: 12px; font-weight: normal;">θ Ѳ</p>
    <p style="font-size: 12px; font-weight: bold;">θ Ѳ</p>
    <p style="font-size: 18px; font-weight: normal;">θ Ѳ</p>
    <p style="font-size: 18px; font-weight: bold;">θ Ѳ</p>
    <p style="font-size: 24px; font-weight: normal;">θ Ѳ</p>
    <p style="font-size: 24px; font-weight: bold;">θ Ѳ</p>
    <p style="font-size: 36px; font-weight: normal;">θ Ѳ</p>
    <p style="font-size: 36px; font-weight: bold;">θ Ѳ</p>
</div>
<div class="col system">
    <h1>System</h1>
    <p style="font-size: 9px; font-weight: normal;">θ Ѳ</p>
    <p style="font-size: 9px; font-weight: bold;">θ Ѳ</p>
    <p style="font-size: 12px; font-weight: normal;">θ Ѳ</p>
    <p style="font-size: 12px; font-weight: bold;">θ Ѳ</p>
    <p style="font-size: 18px; font-weight: normal;">θ Ѳ</p>
    <p style="font-size: 18px; font-weight: bold;">θ Ѳ</p>
    <p style="font-size: 24px; font-weight: normal;">θ Ѳ</p>
    <p style="font-size: 24px; font-weight: bold;">θ Ѳ</p>
    <p style="font-size: 36px; font-weight: normal;">θ Ѳ</p>
    <p style="font-size: 36px; font-weight: bold;">θ Ѳ</p>
</div>
</body>
</html>

tamcy avatar Nov 27 '23 13:11 tamcy

image 這樣看來就是系統的原因了…… 打擾了,不是字體文件的原因。

希望有朝一日能不再受此困擾。

WyxXu avatar Nov 28 '23 20:11 WyxXu

试看用浏览器看看这个汉字的字形是不是对应最新版字体?

「膴 (U+81B4)」

NightFurySL2001 avatar Nov 29 '23 01:11 NightFurySL2001

试看用浏览器看看这个汉字的字形是不是对应最新版字体?

「膴 (U+81B4)」

WyxXu avatar Nov 30 '23 02:11 WyxXu

用上面同样方法测试。

<!doctype html>
<html lang="zh">
<head>
    <title>Test</title>
    <style>
        @font-face {
            font-family: 'ChironSungHK';
            src: url('ChironSungHK-R.ttf');
            font-weight: normal;
            font-style: normal;
        }

        @font-face {
            font-family: 'ChironSungHK';
            src: url('ChironSungHK-B.ttf');
            font-weight: bold;
            font-style: normal;
        }

        .local {
            font-family: 'ChironSungHK';
        }

        .system {
            font-family: 'Chiron Sung HK';
        }

        body {
            font-weight: normal;
            font-style: normal;
            display: flex;
        }

        div {
            flex: 1;
        }

        p, h1 {
            margin: 0;
            font-size: 12px;
        }
    </style>
</head>
<body>
<div class="col local">
    <h1>Local</h1>
    <p style="font-size: 18px; font-weight: normal;">「膴 (U+81B4)」</p>
    <p style="font-size: 18px; font-weight: bold;">「膴 (U+81B4)」</p>
</div>
<div class="col system">
    <h1>System</h1>
    <p style="font-size: 18px; font-weight: normal;">「膴 (U+81B4)」</p>
    <p style="font-size: 18px; font-weight: bold;">「膴 (U+81B4)」</p>
</div>
</body>
</html>

NightFurySL2001 avatar Nov 30 '23 10:11 NightFurySL2001

image

这和θ的问题有关?

都是sung为什么又跑出来黑体……

WyxXu avatar Dec 01 '23 22:12 WyxXu

@WyxXu 「膴」之前錯誤對映到肉部作「月」的地區,本字體標準作「⺼」。此問題 1.011 版本已修正: image

從截圖可見閣下系統字型的「膴」仍是作「月」,即肯定不會是 v1.011 版。

要證實系統中安裝的是否修復 θ 字圖問題的 v1.010 版,可以試試輸入「㗩」字,此字 v1.010 版起羽部改為有勾。

image

tamcy avatar Dec 02 '23 02:12 tamcy

都是sung为什么又跑出来黑体……

请确认您是在上面测试的字体文件夹内用同样方法测试。


这边我感觉是没有完整删除(上面您提到使用“安裝方式-為所有用戶安裝”,但是如果之前是“安装”而已是不会覆盖字体文件的),建议您尝试在 Control Panel - Appearance and Personalisation - Fonts 里面把昭源宋体字体完整删除干净,删除后按F5刷新确保没有弹出新的昭源宋体,重启电脑再确认字体删除干净后,才安装字体。

您也可以顺便看下 Control Panel 里面字体的版本号是不是 v1.011/1.010。

NightFurySL2001 avatar Dec 02 '23 09:12 NightFurySL2001

字體應無問題,先關閉。

tamcy avatar May 24 '24 14:05 tamcy