Skip to content Accesskey=4Skip to sub-navigation Accesskey=3View our Accessibility Options MIT Information Systems Home About IS&T Contact IS&T Site Map Search Advanced Search
Getting StartedGetting Services by Topic or Alphabetically Getting Help

On This Page

[Help]

  

Quick Links

Top Level

Related Links

Ask OLC a question

Athena Consulting Homepage

Helpdesk Stock Answers (for Mac/PC questions)


X Font name FIELDS

Most X fonts have a 14-field name in the form:

	-foundry-family-weight-slant-setwidth-style-pixelSize-pointSize-\
	  Xresolution-Yresolution-spacing-averageWidth-registry-encoding

The 14 fields are as follows:

 foundry         the name or identifier of the digital type foundry
                   that digitized and supplied the font data.
 family          a string that identifies the basic typographic style
                   (e.g., "helvetica", "courier", etc.).
 weight          a string that identifies the nominal blackness of the
                   font, according to the FOUNDRY's judgment (e.g.,
                   "medium", "bold", etc.).
 slant           a code string that indicates the overall posture of
                   the typeface design used in the font -- one of the
                   following:
                     R       Roman           upright design
                     I       Italic          italic design, slanted clockwise
                     O       Oblique         obliqued upright design,
                                               slanted clockwise
 setwidth        a string that gives the nominal width per horizontal
		   unit of the font, according to the FOUNDRY's judgment
		   (e.g., "Normal", "Narrow", "Double Wide").
 style           a string that identifies additional style information
		   not captured by other fields, but needed to uniquely
		   identify the font in the FOUNDRY's judgment (e.g.,
		   "Serif", "Sans Serif").
 pixelSize       an unsigned integer-string typographic metric in
		   device pixels which gives the body size of the font.
 pointSize       an unsigned integer-string typographic metric in
		   device-independent units which gives the body size for
		   which the font was designed.
 Xresolution     an unsigned integer-string in pixels/dots per inch
		   (dpi) which gives the horizontal resolution for which
		   the font was designed.
 Yresolution     an unsigned integer-string in pixels/dots per inch
		   (dpi) which gives the vertical resolution for which
		   the font was designed.
 spacing         a code-string that indicates the escapement class of
		   the font -- one of the following:
		     P       Proportional    proportional font
		     M       Monospace       a font whose logical character
					       widths are constant, but no
  					       other restrictions apply
	    	     C       CharCell        a monospaced font in which the
					       glyphs can be modeled as boxes
					       of identical width and height
					       with no "ink" outside the box.
 averageWidth    an unsigned integer-string value giving the unweighted
		   arithmetic mean width of all glyphs in the font,
		   measured in 1/10th pixels.
 registry        a registered name that identifies the registration
		   authority (i.e. international standards body) that
		   owns the specified encoding.
 encoding        a registered name that identifies the coded character
		   set as defined by the specified registry.

MIT Home | Getting Started | Getting Services | Getting Help | About IS&T | Accessibility
Ask a technology question or send a comment about this web page.