{"id":6317,"date":"2022-12-20T18:58:09","date_gmt":"2022-12-20T21:58:09","guid":{"rendered":"http:\/\/lode.uno\/linux-man\/index.php\/2022\/12\/20\/font-mann\/"},"modified":"2022-12-20T18:58:09","modified_gmt":"2022-12-20T21:58:09","slug":"font-mann","status":"publish","type":"post","link":"https:\/\/lode.uno\/linux-man\/2022\/12\/20\/font-mann\/","title":{"rendered":"font (mann)"},"content":{"rendered":"<h1 align=\"center\">font<\/h1>\n<p> <a href=\"#NAME\">NAME<\/a><br \/> <a href=\"#SYNOPSIS\">SYNOPSIS<\/a><br \/> <a href=\"#DESCRIPTION\">DESCRIPTION<\/a><br \/> <a href=\"#FONT DESCRIPTIONS\">FONT DESCRIPTIONS<\/a><br \/> <a href=\"#FONT METRICS\">FONT METRICS<\/a><br \/> <a href=\"#FONT OPTIONS\">FONT OPTIONS<\/a><br \/> <a href=\"#STANDARD FONTS\">STANDARD FONTS<\/a><br \/> <a href=\"#PLATFORM SPECIFIC FONTS\">PLATFORM SPECIFIC FONTS<\/a><br \/> <a href=\"#EXAMPLE\">EXAMPLE<\/a><br \/> <a href=\"#SEE ALSO\">SEE ALSO<\/a><br \/> <a href=\"#KEYWORDS\">KEYWORDS<\/a> <\/p>\n<hr>\n<p>______________________________________________________________________________<\/p>\n<h2>NAME <a name=\"NAME\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\">font \u2212 Create and inspect fonts.<\/p>\n<h2>SYNOPSIS <a name=\"SYNOPSIS\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>font<\/b> <i>option<\/i> ?<i>arg arg &#8230;<\/i>? ______________________________________________________________________________<\/p>\n<h2>DESCRIPTION <a name=\"DESCRIPTION\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\">The <b>font<\/b> command provides several facilities for dealing with fonts, such as defining named fonts and inspecting the actual attributes of a font. The command has several different forms, determined by the first argument. The following forms are currently supported: <b><br \/> font actual<\/b> <i>font<\/i> ?<b>\u2212displayof<\/b> <i>window<\/i>? ?<i>option<\/i>? ?<b>\u2212\u2212<\/b>? ?<i>char<\/i>?<\/p>\n<p style=\"margin-left:22%;\">Returns information about the actual attributes that are obtained when <i>font<\/i> is used on <i>window<\/i>\u2019s display; the actual attributes obtained may differ from the attributes requested due to platform-dependent limitations, such as the availability of font families and point sizes. <i>font<\/i> is a font description; see <b>FONT DESCRIPTIONS<\/b> below. If the <i>window<\/i> argument is omitted, it defaults to the main window. If <i>option<\/i> is specified, returns the value of that attribute; if it is omitted, the return value is a list of all the attributes and their values. See <b>FONT OPTIONS<\/b> below for a list of the possible attributes. If the <i>char<\/i> argument is supplied, it must be a single character. The font attributes returned will be those of the specific font used to render that character, which will be different from the base font if the base font does not contain the given character. If <i>char<\/i> may be a hyphen, it should be preceded by <b>\u2212\u2212<\/b> to distinguish it from a misspelled <i>option<\/i>.<\/p>\n<p style=\"margin-left:11%;\"><b>font configure<\/b> <i>fontname<\/i> ?<i>option<\/i>? ?<i>value option value &#8230;<\/i>?<\/p>\n<p style=\"margin-left:22%;\">Query or modify the desired attributes for the named font called <i>fontname<\/i>. If no <i>option<\/i> is specified, returns a list describing all the options and their values for <i>fontname<\/i>. If a single <i>option<\/i> is specified with no <i>value<\/i>, then returns the current value of that attribute. If one or more <i>option<\/i>\u2212<i>value<\/i> pairs are specified, then the command modifies the given named font to have the given values; in this case, all widgets using that font will redisplay themselves using the new attributes for the font. See <b>FONT OPTIONS<\/b> below for a list of the possible attributes.<\/p>\n<p style=\"margin-left:22%; margin-top: 1em\">Note that on Aqua\/Mac OS X, the system fonts (see <b>PLATFORM SPECIFIC FONTS<\/b> below) may not be actually altered because they are implemented by the system theme. To achieve the effect of modification, use <b>font actual<\/b> to get their configuration and <b>font create<\/b> to synthesize a copy of the font which can be modified.<\/p>\n<p style=\"margin-left:11%;\"><b>font create<\/b> ?<i>fontname<\/i>? ?<i>option value &#8230;<\/i>?<\/p>\n<p style=\"margin-left:22%;\">Creates a new named font and returns its name. <i>fontname<\/i> specifies the name for the font; if it is omitted, then Tk generates a new name of the form <b>font<\/b><i>x<\/i>, where <i>x<\/i> is an integer. There may be any number of <i>option<\/i>\u2212<i>value<\/i> pairs, which provide the desired attributes for the new named font. See <b>FONT OPTIONS<\/b> below for a list of the possible attributes.<\/p>\n<p style=\"margin-left:11%;\"><b>font delete<\/b> <i>fontname<\/i> ?<i>fontname &#8230;<\/i>?<\/p>\n<p style=\"margin-left:22%;\">Delete the specified named fonts. If there are widgets using the named font, the named font will not actually be deleted until all the instances are released. Those widgets will continue to display using the last known values for the named font. If a deleted named font is subsequently recreated with another call to <b>font create<\/b>, the widgets will use the new named font and redisplay themselves using the new attributes of that font.<\/p>\n<p style=\"margin-left:11%;\"><b>font families<\/b> ?<b>\u2212displayof<\/b> <i>window<\/i>?<\/p>\n<p style=\"margin-left:22%;\">The return value is a list of the case-insensitive names of all font families that exist on <i>window<\/i>\u2019s display. If the <i>window<\/i> argument is omitted, it defaults to the main window.<\/p>\n<p style=\"margin-left:11%;\"><b>font measure<\/b> <i>font<\/i> ?<b>\u2212displayof<\/b> <i>window<\/i>? <i>text<\/i><\/p>\n<p style=\"margin-left:22%;\">Measures the amount of space the string <i>text<\/i> would use in the given <i>font<\/i> when displayed in <i>window<\/i>. <i>font<\/i> is a font description; see <b>FONT DESCRIPTIONS<\/b> below. If the <i>window<\/i> argument is omitted, it defaults to the main window. The return value is the total width in pixels of <i>text<\/i>, not including the extra pixels used by highly exaggerated characters such as cursive \u201cf\u201d. If the string contains newlines or tabs, those characters are not expanded or treated specially when measuring the string.<\/p>\n<p style=\"margin-left:11%;\"><b>font metrics<\/b> <i>font<\/i> ?<b>\u2212displayof<\/b> <i>window<\/i>? ?<i>option<\/i>?<\/p>\n<p style=\"margin-left:22%;\">Returns information about the metrics (the font-specific data), for <i>font<\/i> when it is used on <i>window<\/i>\u2019s display. <i>font<\/i> is a font description; see <b>FONT DESCRIPTIONS<\/b> below. If the <i>window<\/i> argument is omitted, it defaults to the main window. If <i>option<\/i> is specified, returns the value of that metric; if it is omitted, the return value is a list of all the metrics and their values. See <b>FONT METRICS<\/b> below for a list of the possible metrics.<\/p>\n<p style=\"margin-left:11%;\"><b>font names<\/b><\/p>\n<p style=\"margin-left:22%;\">The return value is a list of all the named fonts that are currently defined.<\/p>\n<h2>FONT DESCRIPTIONS <a name=\"FONT DESCRIPTIONS\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\">The following formats are accepted as a font description anywhere <i>font<\/i> is specified as an argument above; these same forms are also permitted when specifying the <b>\u2212font<\/b> option for widgets. <br \/> [1] <i>fontname<\/i><\/p>\n<p style=\"margin-left:22%;\">The name of a named font, created using the <b>font create<\/b> command. When a widget uses a named font, it is guaranteed that this will never cause an error, as long as the named font exists, no matter what potentially invalid or meaningless set of attributes the named font has. If the named font cannot be displayed with exactly the specified attributes, some other close font will be substituted automatically.<\/p>\n<p style=\"margin-left:11%;\">[2] <i>systemfont<\/i><\/p>\n<p style=\"margin-left:22%;\">The platform-specific name of a font, interpreted by the graphics server. This also includes, under X, an XLFD (see [4]) for which a single \u201c<b>*<\/b>\u201d character was used to elide more than one field in the middle of the name. See <b>PLATFORM SPECIFIC FONTS<\/b> for a list of the system fonts.<\/p>\n<p style=\"margin-left:11%;\">[3] <i>family<\/i> ?<i>size<\/i>? ?<i>style<\/i>? ?<i>style &#8230;<\/i>?<\/p>\n<p style=\"margin-left:22%;\">A properly formed list whose first element is the desired font <i>family<\/i> and whose optional second element is the desired <i>size<\/i>. The interpretation of the <i>size<\/i> attribute follows the same rules described for <b>\u2212size<\/b> in <b>FONT OPTIONS<\/b> below. Any additional optional arguments following the <i>size<\/i> are font <i>style<\/i>s. Possible values for the <i>style<\/i> arguments are as follows:<\/p>\n<table width=\"100%\" border=\"0\" rules=\"none\" frame=\"void\" cellspacing=\"0\" cellpadding=\"0\">\n<tr valign=\"top\" align=\"left\">\n<td width=\"32%\"><\/td>\n<td width=\"-14%\"><\/td>\n<td width=\"19%\">\n<p><b>normal<\/b><\/p>\n<\/td>\n<td width=\"17%\">\n<p><b>bold<\/b><\/p>\n<\/td>\n<td width=\"46%\">\n<p><b>roman<\/b><\/p>\n<\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"32%\"><\/td>\n<td width=\"-14%\"><\/td>\n<td width=\"19%\"><\/td>\n<td width=\"17%\"><\/td>\n<td width=\"46%\">\n<p><b>italic<\/b><\/p>\n<\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"32%\"><\/td>\n<td width=\"-14%\"><\/td>\n<td width=\"19%\">\n<p><b>underline<\/b><\/p>\n<\/td>\n<td width=\"17%\">\n<p><b>overstrike<\/b><\/p>\n<\/td>\n<td width=\"46%\"> <\/td>\n<\/tr>\n<\/table>\n<p style=\"margin-left:11%;\">[4] X-font names (XLFD)<\/p>\n<p style=\"margin-left:22%;\">A Unix-centric font name of the form <i>\u2212foundry\u2212family\u2212weight\u2212slant\u2212setwidth\u2212addstyle\u2212pixel\u2212point\u2212resx\u2212resy\u2212spacing\u2212width\u2212charset\u2212encoding<\/i>. The \u201c<b>*<\/b>\u201d character may be used to skip individual fields that the user does not care about. There must be exactly one \u201c<b>*<\/b>\u201d for each field skipped, except that a \u201c<b>*<\/b>\u201d at the end of the XLFD skips any remaining fields; the shortest valid XLFD is simply \u201c<b>*<\/b>\u201d, signifying all fields as defaults. Any fields that were skipped are given default values. For compatibility, an XLFD always chooses a font of the specified pixel size (not point size); although this interpretation is not strictly correct, all existing applications using XLFDs assumed that one \u201cpoint\u201d was in fact one pixel and would display incorrectly (generally larger) if the correct size font were actually used.<\/p>\n<p style=\"margin-left:11%;\">[5] <i>option value<\/i> ?<i>option value &#8230;<\/i>?<\/p>\n<p style=\"margin-left:22%;\">A properly formed list of <i>option<\/i>\u2212<i>value<\/i> pairs that specify the desired attributes of the font, in the same format used when defining a named font; see <b>FONT OPTIONS<\/b> below.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">When font description <i>font<\/i> is used, the system attempts to parse the description according to each of the above five rules, in the order specified. Cases [1] and [2] must match the name of an existing named font or of a system font. Cases [3], [4], and [5] are accepted on all platforms and the closest available font will be used. In some situations it may not be possible to find any close font (e.g., the font family was a garbage value); in that case, some system-dependent default font is chosen. If the font description does not match any of the above patterns, an error is generated.<\/p>\n<h2>FONT METRICS <a name=\"FONT METRICS\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\">The following options are used by the <b>font metrics<\/b> command to query font-specific data determined when the font was created. These properties are for the whole font itself and not for individual characters drawn in that font. In the following definitions, the \u201cbaseline\u201d of a font is the horizontal line where the bottom of most letters line up; certain letters, such as lower-case \u201cg\u201d stick below the baseline. <b><br \/> \u2212ascent<\/b><\/p>\n<p style=\"margin-left:22%;\">The amount in pixels that the tallest letter sticks up above the baseline of the font, plus any extra blank space added by the designer of the font.<\/p>\n<p style=\"margin-left:11%;\"><b>\u2212descent<\/b><\/p>\n<p style=\"margin-left:22%;\">The largest amount in pixels that any letter sticks down below the baseline of the font, plus any extra blank space added by the designer of the font.<\/p>\n<p style=\"margin-left:11%;\"><b>\u2212linespace<\/b><\/p>\n<p style=\"margin-left:22%;\">Returns how far apart vertically in pixels two lines of text using the same font should be placed so that none of the characters in one line overlap any of the characters in the other line. This is generally the sum of the ascent above the baseline line plus the descent below the baseline.<\/p>\n<p style=\"margin-left:11%;\"><b>\u2212fixed<\/b><\/p>\n<p style=\"margin-left:22%;\">Returns a boolean flag that is \u201c<b>1<\/b>\u201d if this is a fixed-width font, where each normal character is the same width as all the other characters, or is \u201c<b>0<\/b>\u201d if this is a proportionally-spaced font, where individual characters have different widths. The widths of control characters, tab characters, and other non-printing characters are not included when calculating this value.<\/p>\n<h2>FONT OPTIONS <a name=\"FONT OPTIONS\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\">The following options are supported on all platforms, and are used when constructing a named font or when specifying a font using style [5] as above: <b><br \/> \u2212family<\/b> <i>name<\/i><\/p>\n<p style=\"margin-left:22%;\">The case-insensitive font family name. Tk guarantees to support the font families named <b>Courier<\/b> (a monospaced \u201ctypewriter\u201d font), <b>Times<\/b> (a serifed \u201cnewspaper\u201d font), and <b>Helvetica<\/b> (a sans-serif \u201cEuropean\u201d font). The most closely matching native font family will automatically be substituted when one of the above font families is used. The <i>name<\/i> may also be the name of a native, platform-specific font family; in that case it will work as desired on one platform but may not display correctly on other platforms. If the family is unspecified or unrecognized, a platform-specific default font will be chosen.<\/p>\n<p style=\"margin-left:11%;\"><b>\u2212size<\/b> <i>size<\/i><\/p>\n<p style=\"margin-left:22%;\">The desired size of the font. If the <i>size<\/i> argument is a positive number, it is interpreted as a size in points. If <i>size<\/i> is a negative number, its absolute value is interpreted as a size in pixels. If a font cannot be displayed at the specified size, a nearby size will be chosen. If <i>size<\/i> is unspecified or zero, a platform-dependent default size will be chosen.<\/p>\n<p style=\"margin-left:22%; margin-top: 1em\">Sizes should normally be specified in points so the application will remain the same ruler size on the screen, even when changing screen resolutions or moving scripts across platforms. However, specifying pixels is useful in certain circumstances such as when a piece of text must line up with respect to a fixed-size bitmap. The mapping between points and pixels is set when the application starts, based on properties of the installed monitor, but it can be overridden by calling the <b>tk scaling<\/b> command.<\/p>\n<p style=\"margin-left:11%;\"><b>\u2212weight<\/b> <i>weight<\/i><\/p>\n<p style=\"margin-left:22%;\">The nominal thickness of the characters in the font. The value <b>normal<\/b> specifies a normal weight font, while <b>bold<\/b> specifies a bold font. The closest available weight to the one specified will be chosen. The default weight is <b>normal<\/b>.<\/p>\n<p style=\"margin-left:11%;\"><b>\u2212slant<\/b> <i>slant<\/i><\/p>\n<p style=\"margin-left:22%;\">The amount the characters in the font are slanted away from the vertical. Valid values for slant are <b>roman<\/b> and <b>italic<\/b>. A roman font is the normal, upright appearance of a font, while an italic font is one that is tilted some number of degrees from upright. The closest available slant to the one specified will be chosen. The default slant is <b>roman<\/b>.<\/p>\n<p style=\"margin-left:11%;\"><b>\u2212underline<\/b> <i>boolean<\/i><\/p>\n<p style=\"margin-left:22%;\">The value is a boolean flag that specifies whether characters in this font should be underlined. The default value for underline is <b>false<\/b>.<\/p>\n<p style=\"margin-left:11%;\"><b>\u2212overstrike<\/b> <i>boolean<\/i><\/p>\n<p style=\"margin-left:22%;\">The value is a boolean flag that specifies whether a horizontal line should be drawn through the middle of characters in this font. The default value for overstrike is <b>false<\/b>.<\/p>\n<h2>STANDARD FONTS <a name=\"STANDARD FONTS\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\">The following named fonts are supported on all systems, and default to values that match appropriate system defaults. <b><br \/> TkDefaultFont<\/b><\/p>\n<p style=\"margin-left:22%;\">This font is the default for all GUI items not otherwise specified.<\/p>\n<p style=\"margin-left:11%;\"><b>TkTextFont<\/b><\/p>\n<p style=\"margin-left:22%;\">This font should be used for user text in entry widgets, listboxes etc.<\/p>\n<p style=\"margin-left:11%;\"><b>TkFixedFont<\/b><\/p>\n<p style=\"margin-left:22%;\">This font is the standard fixed-width font.<\/p>\n<p style=\"margin-left:11%;\"><b>TkMenuFont<\/b><\/p>\n<p style=\"margin-left:22%;\">This font is used for menu items.<\/p>\n<p style=\"margin-left:11%;\"><b>TkHeadingFont<\/b><\/p>\n<p style=\"margin-left:22%;\">This font should be used for column headings in lists and tables.<\/p>\n<p style=\"margin-left:11%;\"><b>TkCaptionFont<\/b><\/p>\n<p style=\"margin-left:22%;\">This font should be used for window and dialog caption bars.<\/p>\n<p style=\"margin-left:11%;\"><b>TkSmallCaptionFont<\/b><\/p>\n<p style=\"margin-left:22%;\">This font should be used for captions on contained windows or tool dialogs.<\/p>\n<p style=\"margin-left:11%;\"><b>TkIconFont<\/b><\/p>\n<p style=\"margin-left:22%;\">This font should be used for icon captions.<\/p>\n<p style=\"margin-left:11%;\"><b>TkTooltipFont<\/b><\/p>\n<p style=\"margin-left:22%;\">This font should be used for tooltip windows (transient information windows).<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">It is <i>not<\/i> advised to change these fonts, as they may be modified by Tk itself in response to system changes. Instead, make a copy of the font and modify that.<\/p>\n<h2>PLATFORM SPECIFIC FONTS <a name=\"PLATFORM SPECIFIC FONTS\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\">The following system fonts are supported: <b><br \/> X Windows<\/b><\/p>\n<p style=\"margin-left:22%;\">All valid X font names, including those listed by xlsfonts(1), are available.<\/p>\n<p style=\"margin-left:11%;\"><b>MS Windows<\/b><\/p>\n<p style=\"margin-left:22%;\">The following fonts are supported, and are mapped to the user\u2019s style defaults.<\/p>\n<table width=\"100%\" border=\"0\" rules=\"none\" frame=\"void\" cellspacing=\"0\" cellpadding=\"0\">\n<tr valign=\"top\" align=\"left\">\n<td width=\"32%\"><\/td>\n<td width=\"-14%\"><\/td>\n<td width=\"19%\">\n<p><b>system<\/b><\/p>\n<\/td>\n<td width=\"63%\">\n<p><b>ansi<\/b><\/p>\n<\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"32%\"><\/td>\n<td width=\"-14%\"><\/td>\n<td width=\"19%\"><\/td>\n<td width=\"63%\">\n<p><b>device<\/b><\/p>\n<\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"32%\"><\/td>\n<td width=\"-14%\"><\/td>\n<td width=\"19%\">\n<p><b>systemfixed<\/b><\/p>\n<\/td>\n<td width=\"63%\">\n<p><b>ansifixed<\/b><\/p>\n<\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"32%\"><\/td>\n<td width=\"-14%\"><\/td>\n<td width=\"19%\"><\/td>\n<td width=\"63%\">\n<p><b>oemfixed<\/b><\/p>\n<\/td>\n<\/tr>\n<\/table>\n<p style=\"margin-left:11%;\"><b>Mac OS X<\/b><\/p>\n<p style=\"margin-left:22%;\">The following fonts are supported, and are mapped to the user\u2019s style defaults.<\/p>\n<table width=\"100%\" border=\"0\" rules=\"none\" frame=\"void\" cellspacing=\"0\" cellpadding=\"0\">\n<tr valign=\"top\" align=\"left\">\n<td width=\"32%\"><\/td>\n<td width=\"-14%\"><\/td>\n<td width=\"19%\">\n<p><b>system<\/b><\/p>\n<\/td>\n<td width=\"63%\">\n<p><b>application<\/b><\/p>\n<\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"32%\"><\/td>\n<td width=\"-14%\"><\/td>\n<td width=\"19%\"><\/td>\n<td width=\"63%\">\n<p><b>menu<\/b><\/p>\n<\/td>\n<\/tr>\n<\/table>\n<p style=\"margin-left:22%; margin-top: 1em\">Additionally, the following named fonts provide access to the Aqua theme fonts:<\/p>\n<table width=\"100%\" border=\"0\" rules=\"none\" frame=\"void\" cellspacing=\"0\" cellpadding=\"0\">\n<tr valign=\"top\" align=\"left\">\n<td width=\"32%\"><\/td>\n<td width=\"-1%\"><\/td>\n<td width=\"69%\">\n<p><b>systemSystemFont<\/b><\/p>\n<\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"32%\"><\/td>\n<td width=\"-1%\"><\/td>\n<td width=\"69%\">\n<p><b>systemEmphasizedSystemFont<\/b><\/p>\n<\/td>\n<\/tr>\n<\/table>\n<p style=\"margin-left:32%;\"><b>systemSmallSystemFontsystemSmallEmphasizedSystemFont <br \/> systemApplicationFontsystemLabelFont<\/b><\/p>\n<table width=\"100%\" border=\"0\" rules=\"none\" frame=\"void\" cellspacing=\"0\" cellpadding=\"0\">\n<tr valign=\"top\" align=\"left\">\n<td width=\"32%\"><\/td>\n<td width=\"-1%\"><\/td>\n<td width=\"69%\">\n<p><b>systemViewsFont<\/b><\/p>\n<\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"32%\"><\/td>\n<td width=\"-1%\"><\/td>\n<td width=\"69%\">\n<p><b>systemMenuTitleFont<\/b><\/p>\n<\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"32%\"><\/td>\n<td width=\"-1%\"><\/td>\n<td width=\"69%\">\n<p><b>systemMenuItemFont<\/b><\/p>\n<\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"32%\"><\/td>\n<td width=\"-1%\"><\/td>\n<td width=\"69%\">\n<p><b>systemMenuItemMarkFont<\/b><\/p>\n<\/td>\n<\/tr>\n<\/table>\n<p style=\"margin-left:32%;\"><b>systemMenuItemCmdKeyFontsystemWindowTitleFont <br \/> systemPushButtonFontsystemUtilityWindowTitleFont <br \/> systemAlertHeaderFontsystemToolbarFont <br \/> systemMiniSystemFontsystemDetailSystemFont <br \/> systemDetailEmphasizedSystemFont<\/b><\/p>\n<h2>EXAMPLE <a name=\"EXAMPLE\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\">Fill a text widget with lots of font demonstrators, one for every font family installed on your system:<\/p>\n<p style=\"margin-left:22%;\">pack [text .t \u2212wrap none] \u2212fill both \u2212expand 1 <br \/> set count 0 <br \/> set tabwidth 0 <br \/> foreach family [lsort \u2212dictionary [<b>font families<\/b>]] { <br \/> .t tag configure f[incr count] \u2212font [list $family 10] <br \/> .t insert end ${family}:t {}  <br \/> &#8220;This is a simple samplern&#8221; f$count <br \/> set w [<b>font measure<\/b> [.t cget \u2212font] ${family}:] <br \/> if {$w+5 > $tabwidth} { <br \/> set tabwidth [expr {$w+5}] <br \/> .t configure \u2212tabs $tabwidth <br \/> } <br \/> }<\/p>\n<h2>SEE ALSO <a name=\"SEE ALSO\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\">options(n)<\/p>\n<h2>KEYWORDS <a name=\"KEYWORDS\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\">font<\/p>\n<hr>\n","protected":false},"excerpt":{"rendered":"<p>  font \u2212 Create and inspect fonts. <\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3783,1],"tags":[2916,2635],"class_list":["post-6317","post","type-post","status-publish","format-standard","hentry","category-n-comandos-tcl-tk","category-sin-categoria","tag-font","tag-mann"],"gutentor_comment":0,"_links":{"self":[{"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/posts\/6317","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/comments?post=6317"}],"version-history":[{"count":0,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/posts\/6317\/revisions"}],"wp:attachment":[{"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/media?parent=6317"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/categories?post=6317"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/tags?post=6317"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}