[squeak-dev] The Trunk: TrueType-topa.38.mcz

commits at source.squeak.org commits at source.squeak.org
Fri Apr 3 19:58:18 UTC 2015


Tobias Pape uploaded a new version of TrueType to project The Trunk:
http://source.squeak.org/trunk/TrueType-topa.38.mcz

==================== Summary ====================

Name: TrueType-topa.38
Author: topa
Time: 3 April 2015, 9:58:09.898 pm
UUID: 3f329d76-72af-4f7c-99f7-aea1641f3d91
Ancestors: TrueType-topa.37

As TTFileDescription as TTFontDescription

=============== Diff against TrueType-topa.37 ===============

Item was added:
+ ----- Method: TTFontDescription>>typographicFontHeight (in category 'accessing') -----
+ typographicFontHeight
+ 	"cope for the fact that typographicAscender and 
+ 	typographicDescender may not be available and 
+ 	0-height fonts are a bit useless"
+ 	| tfh |
+ 	tfh := self typographicAscender - self typographicDescender.
+ 	^ tfh = 0 ifTrue: [self fontHeight] ifFalse: [tfh]!



More information about the Squeak-dev mailing list