fbpx
Wikipedia

X logical font description

X logical font description (XLFD) is a font standard used by the X Window System. Modern X software typically relies on the newer Fontconfig system instead, but XLFDs are still supported in current X window implementations for compatibility with legacy software.

The xfontsel program allows the user to view the glyphs of a font

XLFD is intended to support:

  • unique, descriptive font names that support simple pattern matching
  • multiple font vendors, arbitrary character sets, and encodings
  • naming and instancing of scalable and polymorphic fonts
  • transformations and subsetting of fonts
  • independence of X server and operating or file system implementations
  • arbitrarily complex font matching or substitution
  • extensibility

One prominent XLFD convention is to refer to individual fonts including any variations using their unique FontName. It comprises a sequence of fourteen hyphen-prefixed, X-registered fields:

  1. FOUNDRY: Type foundry - vendor or supplier of this font
  2. FAMILY_NAME: Typeface family
  3. WEIGHT_NAME: Weight of type
  4. SLANT: Slant (upright, italic, oblique, reverse italic, reverse oblique, or "other")
  5. SETWIDTH_NAME: Proportionate width (e.g. normal, condensed, narrow, expanded/double-wide)
  6. ADD_STYLE_NAME: Additional style (e.g. (Sans) Serif, Informal, Decorated)
  7. PIXEL_SIZE: Size of characters, in pixels; 0 (Zero) means a scalable font
  8. POINT_SIZE: Size of characters, in tenths of points
  9. RESOLUTION_X: Horizontal resolution in dots per inch (DPI), for which the font was designed
  10. RESOLUTION_Y: Vertical resolution, in DPI
  11. SPACING: monospaced, proportional, or "character cell"
  12. AVERAGE_WIDTH: Average width of characters of this font; 0 means scalable font
  13. CHARSET_REGISTRY: Registry defining this character set
  14. CHARSET_ENCODING: Registry's character encoding scheme for this set

The following sample is for a 75-dpi, 12-point, Charter font:

-bitstream-charter-medium-r-normal--12-120-75-75-p-68-iso8859-1[65 70 80_90] 

(which also tells the font source that the client is interested only in characters 65, 70, and 80-90.)

References edit

  • Jim Flowers; Stephen Gildea (1994). "X Logical Font Description Conventions" (PDF). Digital Equipment Corporation. X Consortium. Retrieved 2015-11-22.
  • Mansfield, Niall (1994) [1992]. "System Administration". The Joy of X - An overview of the X Window System. Cambridge: Addison-Wesley. pp. 266–267. ISBN 0-201-56512-9.

logical, font, description, this, article, multiple, issues, please, help, improve, discuss, these, issues, talk, page, learn, when, remove, these, template, messages, this, article, includes, list, references, related, reading, external, links, sources, remai. This article has multiple issues Please help improve it or discuss these issues on the talk page Learn how and when to remove these template messages This article includes a list of references related reading or external links but its sources remain unclear because it lacks inline citations Please help to improve this article by introducing more precise citations May 2017 Learn how and when to remove this template message This article may be in need of reorganization to comply with Wikipedia s layout guidelines Please help by editing the article to make improvements to the overall structure April 2014 Learn how and when to remove this template message This article may be too technical for most readers to understand Please help improve it to make it understandable to non experts without removing the technical details April 2014 Learn how and when to remove this template message Learn how and when to remove this template message X logical font description XLFD is a font standard used by the X Window System Modern X software typically relies on the newer Fontconfig system instead but XLFDs are still supported in current X window implementations for compatibility with legacy software The xfontsel program allows the user to view the glyphs of a fontXLFD is intended to support unique descriptive font names that support simple pattern matching multiple font vendors arbitrary character sets and encodings naming and instancing of scalable and polymorphic fonts transformations and subsetting of fonts independence of X server and operating or file system implementations arbitrarily complex font matching or substitution extensibilityOne prominent XLFD convention is to refer to individual fonts including any variations using their unique FontName It comprises a sequence of fourteen hyphen prefixed X registered fields FOUNDRY Type foundry vendor or supplier of this font FAMILY NAME Typeface family WEIGHT NAME Weight of type SLANT Slant upright italic oblique reverse italic reverse oblique or other SETWIDTH NAME Proportionate width e g normal condensed narrow expanded double wide ADD STYLE NAME Additional style e g Sans Serif Informal Decorated PIXEL SIZE Size of characters in pixels 0 Zero means a scalable font POINT SIZE Size of characters in tenths of points RESOLUTION X Horizontal resolution in dots per inch DPI for which the font was designed RESOLUTION Y Vertical resolution in DPI SPACING monospaced proportional or character cell AVERAGE WIDTH Average width of characters of this font 0 means scalable font CHARSET REGISTRY Registry defining this character set CHARSET ENCODING Registry s character encoding scheme for this setThe following sample is for a 75 dpi 12 point Charter font bitstream charter medium r normal 12 120 75 75 p 68 iso8859 1 65 70 80 90 which also tells the font source that the client is interested only in characters 65 70 and 80 90 References editJim Flowers Stephen Gildea 1994 X Logical Font Description Conventions PDF Digital Equipment Corporation X Consortium Retrieved 2015 11 22 Mansfield Niall 1994 1992 System Administration The Joy of X An overview of the X Window System Cambridge Addison Wesley pp 266 267 ISBN 0 201 56512 9 nbsp This free and open source software article is a stub You can help Wikipedia by expanding it vte Retrieved from https en wikipedia org w index php title X logical font description amp oldid 1026725804, wikipedia, wiki, book, books, library,

article

, read, download, free, free download, mp3, video, mp4, 3gp, jpg, jpeg, gif, png, picture, music, song, movie, book, game, games.