[Pkg] Packages: Packages-Squeak310-kph.30.mcz
squeaksource-noreply at iam.unibe.ch
squeaksource-noreply at iam.unibe.ch
Wed May 21 11:57:17 UTC 2008
A new version of Packages-Squeak310 was added to project Packages:
http://www.squeaksource.com/Packages/Packages-Squeak310-kph.30.mcz
==================== Summary ====================
Name: Packages-Squeak310-kph.30
Author: kph
Time: 21 May 2008, 12:56:50 pm
UUID: c03edb7e-74e5-4886-ae24-f05aa46c9296
Ancestors: Packages-Squeak310-kph.29
fixed freetype plus unload was wrongly named
=============== Diff against Packages-Squeak310-kph.29 ===============
Item was added:
+ ----- Method: PackagesSqueak310beta>>FreeTypePlus (in category 'Fonts') -----
+ FreeTypePlus
+
+ self name: 'FreeType Plus'.
+ info category: 'Fonts'.
+ info description:
+ 'Support for FreeType font system.
+ Scans host OS for available font files, and automatically creates TextStyles.
+ Re-scans on every image startup.
+ '.
+ info maintainer: 'amtween at hotmail.com'.
+ info homepage: ''.
+ self version: '0.5+'.
+
+ self provides: #().
+
+ self dependsOn: #('FreeType Plus-plugins installer' 'FFI').
+
+ self load: [
+ "preamble/postscript are not run with older versions of MC1.5, so manually do the preamble now"
+ "add pendingKernX to CharacterScanner and MultiCharacterScanner"
+ Compiler evaluate: 'Object subclass: #CharacterScanner
+ instanceVariableNames: ''destX lastIndex xTable destY stopConditions text textStyle alignment leftMargin rightMargin font line runStopIndex spaceCount spaceWidth emphasisCode kern indentationLevel wantsColumnBreaks pendingKernX''
+ classVariableNames: ''DefaultStopConditions NilCondition PaddedSpaceCondition SpaceCondition''
+ poolDictionaries: ''TextConstants''
+ category: ''Graphics-Text'' '.
+
+ Compiler evaluate: 'Object subclass: #MultiCharacterScanner
+ instanceVariableNames: ''destX lastIndex xTable destY stopConditions text textStyle alignment leftMargin rightMargin font line runStopIndex spaceCount spaceWidth emphasisCode kern indentationLevel wantsColumnBreaks presentation presentationLine numOfComposition baselineY firstDestX pendingKernX''
+ classVariableNames: ''DefaultStopConditions NilCondition PaddedSpaceCondition SpaceCondition''
+ poolDictionaries: ''TextConstants''
+ category: ''Multilingual-Scanning'' '.
+
+ [Installer ss project: 'FreeTypePlus'; install: 'FreeType-tween' ]
+ on: Error do:[:e |
+ (Smalltalk at: #FT2Constants) initialize.
+ (Smalltalk at: #FreeTypeCacheConstants) initialize.
+ (Smalltalk at: #FT2Handle) initialize.
+ (Smalltalk at: #FreeTypeFontProvider) initialize.
+ (Smalltalk at: #FreeTypeCache) initialize.
+ (Smalltalk at: #FreeTypeSettings) initialize.
+ (Smalltalk at: #LogicalFont) initialize.
+ (Smalltalk at: #FreeTypeFontProvider) current updateFromSystem]
+ ].
+
+ self unloadDependsOn: { self taskUnloadDependants }.
+ self unload: [
+ Installer unload: 'FreeType Plus'.
+ ].!
More information about the Packages
mailing list