Marcel Taeumel uploaded a new version of Graphics to project The Trunk:
http://source.squeak.org/trunk/Graphics-mt.334.mcz==================== Summary ====================
Name: Graphics-mt.334
Author: mt
Time: 9 May 2016, 5:07:05.805554 pm
UUID: c4344c59-fdf3-5546-a693-8c04fb5fcbb2
Ancestors: Graphics-mt.333
Access color depth information not only in TTCFonts but in all kinds of AbstractFont.
=============== Diff against Graphics-mt.333 ===============
Item was added:
+ ----- Method: AbstractFont>>depth (in category 'accessing') -----
+ depth
+ "Returns the glyphs' color depth."
+
+ self subclassResponsibility.!
Item was added:
+ ----- Method: FixedFaceFont>>depth (in category 'accessing') -----
+ depth
+
+ ^ self baseFont depth!
Item was added:
+ ----- Method: StrikeFont>>depth (in category 'accessing') -----
+ depth
+
+ ^ self glyphs depth!
Item was added:
+ ----- Method: TextStyle>>maxDepth (in category 'accessing') -----
+ maxDepth
+
+ ^ (self fonts collect: [:font | font depth]) max!