Strange character output when mixing different fonts
hi, When I mix the four fonts below, only the serif (mincho) outputs my characters correctly. However, if I only use any of these fonts for output, I will get normal characters. It's not clear to me if this is a bug with the font itself or what. If it's an issue with the fonts themselves, I'll report the bug to the designers of those fonts. But I'm not a programmer, so I'll only ask questions here. font: https://drive.google.com/drive/folders/1uk6fLzn8ZD0MeHSv78cFbQo4cclkOuly?usp... 汇文明朝 -- huiwenmincho 汇文港黑 -- huiwenhkheiregular 汇文仿宋 -- huiwenfangsongregular 汇文正楷 -- huiwenzhengkairegular %%%%% \starttext { {\definedfont[name:huiwenmincho] Lorem Ipsum , 也称乱数假文}\par% normal {\definedfont[name:huiwenhkheiregular] Lorem Ipsum , 也称乱数假文}\par% normal {\definedfont[name:huiwenfangsongregular]Lorem Ipsum , 也称乱数假文}\par% abnormal {\definedfont[name:huiwenzhengkairegular]Lorem Ipsum , 也称乱数假文}% abnormal } \stoptext autumnus
autumnus schrieb am 18.12.2024 um 11:41:
hi,
When I mix the four fonts below, only the serif (mincho) outputs my characters correctly. However, if I only use any of these fonts for output, I will get normal characters. It's not clear to me if this is a bug with the font itself or what. If it's an issue with the fonts themselves, I'll report the bug to the designers of those fonts. But I'm not a programmer, so I'll only ask questions here.
font: https://drive.google.com/drive/folders/1uk6fLzn8ZD0MeHSv78cFbQo4cclkOuly?usp...
汇文明朝 -- huiwenmincho 汇文港黑 -- huiwenhkheiregular 汇文仿宋 -- huiwenfangsongregular 汇文正楷 -- huiwenzhengkairegular
Does the problem disappear when you change the filenames from chinese to latin names, e.g. 匯文港黑.ttf will become huiwenhkheiregular.ttf Wolfgang
It worked, thanks. BTW, is this a common solution for font names that contain CJK characters? autumnus
participants (2)
-
autumnus
-
Wolfgang Schuster