Hi Jan, Jan Stary writes: > Assigning the keysymbols for IPA symbols to the keycodes > (in some way I choose, preferably compatible to the existing > IPA keyboards out there) would amount to writing a layout > such as those in /usr/X11R6/share/X11/xkb/symbols/, right? > > A quick search for 'xkb layout ipa' shows that a few of those exist. > Is any of them prevalent, or at least used by phoneticians? > Are any such layouts in the Xorg distribution already?
As I'm not a phoneticist I use Compose(5) instead of a full layout. I have no special insights as to designing or loading such layouts. SIL, which authored the Doulos and Charis fonts you mentioned and is a big player in the open source linguistics space, recommends their keyboard layout: https://keyman.com/keyboards/sil_ipa This is used by Keyman, which seems to be some sort of frontend to load keyboard layouts into ibus. We don't have Keyman in ports, but if it's useful software it would be good to add it. If you'd rather write an X keyboard layout directly (to avoid extra software like ibus), and no other layout exists, it would probably be a good idea to use their key arrangement as a base for writing your own. > How do I install a font that has glyphs for those symbols? > Is there anything for that in ports? There are lots of Unicode fonts in ports. XTerm's default font supports the IPA ranges. Several fixed-width fonts in ports, like Go Mono, are also usable in the terminal and cover those characters. The Doulos and Charis fonts you mentioned are also in ports. -- Anthony J. Bentley