X Window System core protocol: Difference between revisions

Content deleted Content added
Debrell (talk | contribs)
m Fix a grammar mistake.
Line 59:
The names of the fonts are arbitrary strings at the level of the X Window core protocol. The [[X logical font description]] conventions<ref name="logi-font">{{cite web|url=http://www.xfree86.org/current/xlfd.pdf |title=X Logical Font Description Conventions |accessdate=2005-12-30 |author=Jim Flowers |author2=Stephen Gildea |year=1994 |format=PDF |work=[[Digital Equipment Corporation]] |publisher=[[X Consortium]] |url-status=dead |archiveurl=https://web.archive.org/web/20050328124653/http://www.xfree86.org/current/xlfd.pdf |archivedate=March 28, 2005 }}</ref> specify how fonts should be named according to their attributes. These conventions also specify the values of optional properties that can be attached to fonts.
 
The <code>xlsfonts</code> program prints the list of fonts stored in the server. The <code>xfontsel</code> program shows the glyphs of fonts, and allowallows the user to select the name of a font for pasting it in another window.
 
The use of server-side fonts is currently considered deprecated in favour of client-side fonts.<ref name="herr-hopf">Matthieu Herrb and Matthias Hopf. [http://www.openbsd.org/papers/eurobsd2005/herrb-hopf.pdf New Evolutions in the X Window System].</ref> Such fonts are rendered by the client, not by the server, with the support of the [[Xft]] or [[Cairo (graphics)|cairo]] libraries and the [[XRender]] extension. No specification on client-side fonts is given in the core protocol.