TTGlyph subclass: #TTCompositeGlyph
instanceVariableNames: 'glyphs'
classVariableNames: ''
poolDictionaries: ''
category: 'TrueType-Fonts'
This class represents a composite TrueType glyph, e.g.one which
contains many simple TTGlyphs.
Does a TTCompositeGlyph needs all the state from its superclass?
Alain I'm going over the super initialize cs now.
TTGlyph>>initialize
bounds := 0@0 corner: 0@0.
contours := #().
advanceWidth := 0.
leftSideBearing := 0.
rightSideBearing := 0.
but in the subclass
TTCompositeGlyph>>contours
^contours ifNil:[contours := self computeContours]
so if we change the initialize of the subclass then the countours will
be never computed....
Stef
_______________________________________________
Pharo-project mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project