The Trunk: Graphics-nice.409.mcz

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

The Trunk: Graphics-nice.409.mcz

commits-2
Nicolas Cellier uploaded a new version of Graphics to project The Trunk:
http://source.squeak.org/trunk/Graphics-nice.409.mcz

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

Name: Graphics-nice.409
Author: nice
Time: 12 June 2019, 12:23:35.430508 am
UUID: f24ba92c-bd8d-43bf-87f6-eb4023dd8f5a
Ancestors: Graphics-mt.406

Sending isoToSqueak is no longer needed (since 2005).

=============== Diff against Graphics-mt.406 ===============

Item was changed:
  ----- Method: StrikeFont>>fixAccuISO8859From: (in category 'multibyte character methods') -----
  fixAccuISO8859From: aStrikeFont
 
  | f |
  self reset.
  xTable := aStrikeFont xTable copy.
  glyphs := Form extent: aStrikeFont glyphs extent.
  maxAscii := 255.
  minAscii := 0.
  "stopConditions := nil."
 
  0 to: 127 do: [:i |
+ f := aStrikeFont characterFormAt: (Character value: i).
- f := aStrikeFont characterFormAt: (Character value: i) isoToSqueak.
  f width  = 0 ifTrue: [f := Form extent: 1@f height].
 
  self characterFormAt: (Character value: i) put: f.
  ].
  128 to: 159 do: [:i |
  f := Form extent: 1@f height.
  self characterFormAt: (Character value: i) put: f.
  ].
  160 to: 255 do: [:i |
+ f := aStrikeFont characterFormAt: (Character value: i).
- f := aStrikeFont characterFormAt: (Character value: i) isoToSqueak.
  f width  = 0 ifTrue: [f := Form extent: 1@f height].
 
  self characterFormAt: (Character value: i) put: f.
  ].
 
  ^ self.
  !