TeX - LaTeX Asked on June 21, 2021
I’m currently using the kotex package, which produces all IPA symbols correctly, except for the long vowel sign ː
.
The following code (in XeLaTeX) produces only a
and not aː
documentclass{article}
usepackage{kotex}
setmainfont{Libertinus Serif}
setmainhangulfont{Noto Serif CJK KR}
begin{document}
aː
end{document}
Is it a font problem? What font can I use to produce ː
without using TIPA?
I don't have Noto Serif CJK KR. Here's what happens after changing that font into GungSeo (a font with Hangul characters I have on my system:
setmainhangulfont
line, the character U+02D0 MODIFIER LETTER TRIANGULAR COLON is printed using Libertinus Serif;Thus the conjecture is that Noto Serif CJK KR doesn't have a glyph corresponding to U+02D0.
The file xetexko-space.sty
has indeed
XeTeXcharclass "02D0 = XKcjksymbol % ː
and this is what makes the character to be drawn from the Hangul font, rather than the Latin one.
If you want to keep the character to be drawn from the Latin font, change that character class assignment.
documentclass{article}
usepackage{kotex}
setmainfont{Libertinus Serif}
setmainhangulfont{GungSeo}
XeTeXcharclass "02D0 = XKlatinchar % ː
begin{document}
aː
end{document}
You clearly see that the glyph for the triangular colon is taken from a different font (in this case GungSeo).
Correct answer by egreg on June 21, 2021
Get help from others!
Recent Answers
Recent Questions
© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP