Default: <dynamic>
If this resource is not set, then the default value for this resource will
be the name of the TextItem object.
Default: <dynamic>
If the View resources are used to position the
TextItem then this resource will be determined from that
placement, otherwise its default is 0.0.
Default: <dynamic>
If the View resources are used to position the
TextItem then this resource will be determined from that
placement, otherwise its default is 1.0.
Default: 0.0
High
, this
resource of type NhlTFont
specifies the font used for the TextItem. The fonts
may be categorized into two types according to the way their
characters are rendered: they are either stroked using lines or filled
as areas. Only the stroked fonts are affected by the resource,
txFontThicknessF, which sets the thickness of the stroking
line. When txFontQuality is set to Medium
or Low
, the
txFont resource is ignored.
The default font, the pwritx_database font (font index 0), differs from all other fonts in that it intrinsically contains many more characters than the other fonts (564 as opposed to somewhere between 97 and 128). A number of the Text Function Codes allow special access to the characters of the pwritx_database font.
You may use either the integer index or the string font name to specify a value for txFont. Note that whenever you change a font, the low-level NCAR Graphics library must read in the new font data from a file. The following table lists each fonts by index and name, and also indicates the rendering method used for the font:
+-------------------------------------------------------+ | HLU Fonts | |-------------------------------------------------------| | INDEX | TYPE | NAME | |=======================================================| | 0 | stroked | pwritx_database | |-------------------------------------------------------| | 1 | stroked | default | |-------------------------------------------------------| | 2 | stroked | cartographic_roman | |-------------------------------------------------------| | 3 | stroked | cartographic_greek | |-------------------------------------------------------| | 4 | stroked | simplex_roman | |-------------------------------------------------------| | 5 | stroked | simplex_greek | |-------------------------------------------------------| | 6 | stroked | simplex_script | |-------------------------------------------------------| | 7 | stroked | complex_roman | |-------------------------------------------------------| | 8 | stroked | complex_greek | |-------------------------------------------------------| | 9 | stroked | complex_script | |-------------------------------------------------------| | 10 | stroked | complex_italic | |-------------------------------------------------------| | 11 | stroked | complex_cyrillic | |-------------------------------------------------------| | 12 | stroked | duplex_roman | |-------------------------------------------------------| | 13 | stroked | triplex_roman | |-------------------------------------------------------| | 14 | stroked | triplex_italic | |-------------------------------------------------------| | 15 | stroked | gothic_german | |-------------------------------------------------------| | 16 | stroked | gothic_english | |-------------------------------------------------------| | 17 | stroked | gothic_italian | |-------------------------------------------------------| | 18 | stroked | math_symbols | |-------------------------------------------------------| | 19 | stroked | symbol_set1 | |-------------------------------------------------------| | 20 | stroked | symbol_set2 | |-------------------------------------------------------| | 21 | filled | helvetica | |-------------------------------------------------------| | 22 | filled | helvetica-bold | |-------------------------------------------------------| | 25 | filled | times-roman | |-------------------------------------------------------| | 26 | filled | times-bold | |-------------------------------------------------------| | 29 | filled | courier | |-------------------------------------------------------| | 30 | filled | courier-bold | |-------------------------------------------------------| | 33 | filled | greek | |-------------------------------------------------------| | 34 | filled | math-symbols | |-------------------------------------------------------| | 35 | filled | text-symbols | |-------------------------------------------------------| | 36 | filled | weather1 | |-------------------------------------------------------| | 37 | filled | weather2 | +-------------------------------------------------------+
Default: 0
Default: CenterCenter
High
Medium
High
quality fonts, resulting in somewhat smaller
metafiles. The txFont resource is ignored.
Low
Medium
text. The txFont resource is ignored.
Default: High
Default: 1
Default: .05
Default: 1.3125
Default: 1.0
Default: 0.0
Down
Up
Across
Default: Across
Default: :
Default: False
Default: Foreground
Default: 1.0
Default: 0
Default: 0.15
Default: 0.5
Transparent
(-1).
Default: Transparent
NG4.1 Home, Index, Examples, Glossary, Feedback, Ref Contents, Ref WhereAmI?