Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!swrinde!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!ucbvax!bloom-beacon!dont-send-mail-to-path-lines From: gildea@expo.lcs.mit.EDU (Stephen Gildea) Newsgroups: comp.windows.x Subject: Re: Xterm font/character set question Message-ID: <9105281541.AA01893@alex.lcs.mit.edu> Date: 28 May 91 15:41:29 GMT References: <9105231045.AA26084@cas.org> Sender: daemon@athena.mit.edu (Mr Background) Organization: X Consortium, MIT Laboratory for Computer Science Lines: 24 I am trying to figure out xterm's font handling. In the various docs that I have, there is a description of a series of escape sequences which supposedly switch between various character sets called G0-G3 . Are these supposed to correspond to font 1-4 ? No. Character sets are not the same as fonts. Character sets specify what characters are associated with what codes. For example, ASCII is the default character set used by xterm. Fonts specify how the characters look. For example, "fixed" is the default font used by xterm. Xterm supports three character sets and implements escape sequences to switch between them. See the document "Xterm Control Sequences." G0-G3 can be thought of as graphics contexts. You can select the character set for Gn and then select which Gn is active. Xterm also supports a default font and four alternate fonts, but it does not implement escape sequences to switch between them. < Stephen MIT X Consortium