Apple Newton Utilities Guia do Utilizador Página 309

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 942
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 308
CHAPTER 8
Text and Ink Input and Display
Using Text 8-17
You can modify the size at which ink words are displayed in two ways: by
changing the scaling percentage or the font size. For example, suppose that you
draw an ink word and the system calculates its font size, as written, at 36 point. If
your ink text scaling is set to 50 percent, the ink word is displayed at half of the
written size, which makes its font size 18 point. If you subsequently change the
scaling of that ink word to 100 percent, its font size changes to 36 point.
If the user applies deferred recognition to the ink words, the recognized text is
displayed in the current font family, size, and style, as specied in the Styles menu.
Note
There is a maximum ink word size. Ink words are scaled to the
smaller of what would be produced by the selected scaling
percentage or the maximum size.
Constraining Font Style in Views 8
You can override the use of styles in a paragraph view so that all of the text in the
paragraph is displayed with a certain font specication. To do this, use the
viewFont slot of the paragraph view along with two of the text view flags.
If you include
vFixedTextStyle in the text ags for a paragraph view, all
recognized text in the view is displayed using the font family, point size, and
character style specied for viewFont. This is the normal behavior for input elds.
If you include
vFixedInkTextStyle in the text ags for a paragraph view, all
ink words in the view are displayed using the point size and character style
specied for
viewFont. Note that the font family does not affect the display of
ink words.
Note
Using the vFixedTextStyle or vFixedInkTextStyle ags
does not modify the
'styles slot of the view. However, if you
use either of these ags, the system does not allow the user to
change the text style for your paragraph view.
The text view ags are described in “Text Flags” (page 7-2) in Newton
Programmers Reference.
Using Fonts for Text and Ink Display 8
Whenever recognized text is drawn on the Newton screen, the system software
examines the font specication associated with the text to determine how to draw
the text. The font specication includes the font family name, the font style, and
the point size for the text. You can specify a font with a font frame or with a packed
integer; both of these formats are described in this section.
Vista de página 308
1 2 ... 304 305 306 307 308 309 310 311 312 313 314 ... 941 942

Comentários a estes Manuais

Sem comentários