fonts and unicode

Yoshiki.Ohshima at acm.org Yoshiki.Ohshima at acm.org
Fri May 30 21:52:22 UTC 2003


  Stephane,

> By the way: Is it a bug or a features that when we mix text with comics 
> Aliased and non aliased ttf text the rest of the text change color and 
> gets in crazy color?

  It is a bug, and it is fixed.  Modify
GrafPort>>installStrikeFont:... with the following.

-- Yoshiki

------------------------
installStrikeFont: aStrikeFont foregroundColor: foregroundColor backgroundColor: backgroundColor
	super installStrikeFont: aStrikeFont foregroundColor: foregroundColor backgroundColor: backgroundColor.
	alpha _ foregroundColor privateAlpha.
	alpha = 255 ifFalse:[
		combinationRule = Form paint
			ifTrue:[combinationRule _ 31]
			ifFalse:[combinationRule _ 30].
	].

------------------------



More information about the Squeak-dev mailing list