[etoys-dev] Etoys: Graphics-Richo.4.mcz

commits at source.squeak.org commits at source.squeak.org
Sun May 30 18:46:50 EDT 2010


Ricardo Moran uploaded a new version of Graphics to project Etoys:
http://source.squeak.org/etoys/Graphics-Richo.4.mcz

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

Name: Graphics-Richo.4
Author: Richo
Time: 30 May 2010, 5:11:17 pm
UUID: a3ccd808-422a-1547-90fc-599bfe6187e3
Ancestors: Graphics-Richo.3

* Integrating true type font support by Andreas Raab

=============== Diff against Graphics-Richo.3 ===============

Item was changed:
  ----- Method: TextStyle class>>styleDecoder (in category 'class initialization') -----
  styleDecoder
  	TextConstants at: #StyleDecoder ifPresent: [ :dict | dict ifNotNil: [ ^dict ]].
  	^TextConstants at: #StyleDecoder put: (
  		Dictionary new at: 'Regular' put: 0;
  				 at: 'Roman' put: 0;
  				 at: 'Medium' put: 0;
  				 at: 'Light' put: 0;
  				 at: 'Normal' put: 0;
  				 at: 'Plain' put: 0;
  				 at: 'Book' put: 0;
  				 at: 'Demi' put: 0;
  				 at: 'Demibold' put: 0;
  				 at: 'Semibold' put: 0;
  				 at: 'SemiBold' put: 0;
  				 at: 'ExtraBold' put: 1;
  				 at: 'SuperBold' put: 1;
+ 				 at: 'Negreta' put: 1;
  				 at: 'B' put: 1;
  				 at: 'I' put: 2;
  				 at: 'U' put: 4;
  				 at: 'X' put: 16;
  				 at: 'N' put: 8;
  				 at: 'Bold' put: 1;
  				 at: 'Italic' put: 2;
  				 at: 'Oblique' put: 2;
  				 at: 'Narrow' put: 8;
  				 at: 'Condensed' put: 8;
  				 at: 'Underlined' put: 4;
  				 yourself )!



More information about the etoys-dev mailing list