QotD    "To be or not to be" – Shakespeare
View this PageEdit this PageUploads to this PageHistory of this PageTop of the SwikiRecent ChangesSearch the SwikiHelp Guide
TextStyle class>>pixelsPerInch
Last updated at 11:31 am UTC on 20 September 2019
TTCFont pointSize is the nominal Em size in points.

Conversion to pixel sizes depends on the definition of TextStyle class>>pixelsPerInch.

 TextStyle class >> pixelsPerInch
	"Answer the nominal resolution of the screen."

	^TextConstants at: #pixelsPerInch ifAbsentPut: [ 96.0 ].