Squeak Class Documentation category index | class index  
 
TextKern
  category: Collections-Text
  superclass: TextAttribute
  subclasses:

A TextKern encodes a kerning change applicable over a given range of text. Positive values of kern spread letters out, negative kern will cause them to overlap more. Note that kerns other than 0 will display somewhat slower, as kerning is not yet supported in the text scanning primitive.

instance methods
  as yet unclassified
  =
couldDeriveFromPrettyPrinting
dominatedByCmd0
dominates:
emphasizeScanner:
kern
kern:
reset
set
writeScanOn:

  testing
  isKern

class methods
  as yet unclassified
  kern:

instance methods
  as yet unclassified top  
 

=

Answer whether the receiver and the argument represent the same
object. If = is redefined in any subclass, consider also redefining the
message hash.


 

couldDeriveFromPrettyPrinting

Answer whether the receiver is a kind of attribute that could have been generated by doing polychrome pretty-printing of a method without functional text attributes.


 

dominatedByCmd0

Cmd-0 should turn off kerning


 

dominates:

NOTE: The use of active in this code is specific to its use in the method
Text class addAttribute: att toArray: others


 

emphasizeScanner:

Augment (or diminish) the kerning offset for text display


 

kern


 

kern:


 

reset

Allow subclasses to prepare themselves for merging attributes


 

set

Respond true to include this attribute (as opposed to, eg, a bold
emphasizer that is clearing the property


 

writeScanOn:


  testing top  
 

isKern


class methods
  as yet unclassified top  
 

kern: