1
0
mirror of https://github.com/lxsang/DiyaSDK.git synced 2024-06-29 08:19:48 +02:00

support freetype fonts

This commit is contained in:
Dany LE 2022-03-04 20:45:12 +01:00
parent 4fdbe6ec81
commit c5a6e44eef
12 changed files with 75897 additions and 1 deletions

File diff suppressed because it is too large Load Diff

View File

@ -9,6 +9,7 @@ rm "$BASE_DIR/tmp" -rf
mkdir -p "$BASE_DIR/tmp/"
cp $BASE_DIR/bootstrap/bootstrap.image $BASE_DIR/tmp/diya.image
cp $W/unicode/* $BASE_DIR/tmp/
cp -rf $W/fonts $BASE_DIR/tmp/
VM=$BASE_DIR/builder/pharo
IMG=$BASE_DIR/tmp/diya.image
SRC_IMG=$BASE_DIR/builder/Pharo.image
@ -19,6 +20,7 @@ if [ ! -e "$SRC_IMG" ]; then
curl https://get.pharo.org/$ARCH/70+vm | bash
cd $W
fi
cp -rf $W/fonts $BASE_DIR/builder/
$VM $SRC_IMG $W/install.st --quit
NAME="Diya-Bootstrap"

View File

@ -110,7 +110,8 @@ pkg := RPackageOrganizer default packageNamed: 'FreeType' asSymbol.
core addClass: (HEClass for:OSWindowPlatformSpecificHandle);
addClass: (HEClass for:ChunkWriteStream);
addClass: (HEClass for:ChunkReadStream);
addClass: (HEClass for:STCommandLineHandler)
addClass: (HEClass for:STCommandLineHandler);
addClass: (HEClass for:FreeTypeFace)
.
fileReference := (dest,'/',(pkgn replaceAll: Character space with: $-),'.hermes') asFileReference.

BIN
fonts/Ubuntu-Bold.ttf Normal file

Binary file not shown.

BIN
fonts/Ubuntu-BoldItalic.ttf Normal file

Binary file not shown.

BIN
fonts/Ubuntu-Italic.ttf Normal file

Binary file not shown.

BIN
fonts/Ubuntu-Light.ttf Normal file

Binary file not shown.

Binary file not shown.

BIN
fonts/Ubuntu-Medium.ttf Normal file

Binary file not shown.

Binary file not shown.

BIN
fonts/Ubuntu-Regular.ttf Normal file

Binary file not shown.

View File

@ -21,5 +21,6 @@ DiyaBoot ifNil:[
].
change ifTrue:[
FTSizeRec rebuildFieldAccessors.
Smalltalk snapshot: true andQuit: true.
].