the font viewer, we see that the Entry’s font is changed with
font option using an anonymous array. From
this we know a font consists of the following things:
name of the font, e.g.,
'Times', and so on.
The size of the font in points. The larger the size, the larger the text displayed on the screen. A point is 1/72 of an inch. Negative values are interpreted as pixels.
the font is shown boldor not. The
'normal' means it is not shown bold, and
'bold' makes the font thicker.
up and down if
'roman' is used, and slanted if
'italic' is used.
If the value used with
-underline is true, the text will be underlined.
If false, the text will not be underlined.
If true, a line will be drawn through the center of the text.
If you are used to working with fonts on a Unix system, you are probably familiar with X Logical Font Descriptions (XFLD). This is the dash-delimited format used for fonts under X, for example:
This font description indicates a 24-point bold Helvetica font with Roman slant. The field order is as follows: -foundry-family-weight-slant-sWdth-adstyl-pixelsize-pointsize-resx-resy-spacing-avgWidth-registry-encoding.
When specifying a font in XLFD notation, an asterisk means you don’t care what is used for that value, and the system will choose a default for you.
While a full description of X fonts is beyond ...