-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
How to change the system font to a custom TrueType font ?
I managed to solve with the help of the following:
http://wiki.squeak.org/squeak/5586http://wiki.squeak.org/squeak/5584http://wiki.squeak.org/squeak/5773 - system with russian (cyrillic) fonts
The above documents helped a lot;
specifically the document 5773 "how to setup Squeak with a cyrillic font",
had an important note:
"Switch your fonts
This can be done from World->Appearance->System Fonts."
That works indeed, if you set the various fonts (text font, menu font, list
font, code font etc.) in the World->Appearances->System Fonts.
I think this could be in its own wiki page:
"How to change the default System Fonts"
if such a doc does not already exist.
I didn't find it on wiki.squeak.org but fortunately the other docs helped.
David Stes
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2
iQEcBAEBCAAGBQJf/aLAAAoJEAwpOKXMq1MaU48H/RnL+YHqpU+EzKlJJgPCW+Ee
9wI/TWJ6ygSBScmH2iJ/ClF+6XoT2aG7YxI853jCf6QYh48vWhNzr9IXaFtywzOo
aqhlcwmvbeLYcfQRqzC7dxsGf+F+pPVp6YJzGX/OBCJ85Ae7IqBQXy7ScW7LEG7B
gquKCvbuChib7GK5Pw1V9Tvt9n9n7zeYcTqSSlpp2yAYkKqUsuQV00w/y+LYt9YY
PSLyU1c9GZaDUyPcsQjJvWLmpGFQZ6cUhediFL8q7pOEXTCTDmsh6VguZJtZvRwT
QmZYRkxKqT7Gvn2tTi0kkIRTXzyE18pfwCue139BvPsoDdiqWMvZCyMWCoWe084=
=m7OG
-----END PGP SIGNATURE-----
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
Hi,
Platform: squeak 4.19.5 with Squeak 4.6 or squeak 5.x with Squeak 6.0alpha
I wonder whether it's possible to display the assignment operator '_'
underscore as Left Arrow.
"Cuis-Smalltalk" is doing this, looks very nice.
I've found something on wiki.squeak.org :
syntaxHighlightingAsYouTypeLeftArrowAssignment
in preferences.
Go to Menu -> Tools -> Preferences
(or Menu -> Apps -> Preferences Browser)
Search : syntaxHighlightingAsYouType
(it's under "browsing')
enabled
syntaxHighlightingAsYouTypeLeftArrowAssignment
enabled
does not work : do I need "Shout"
http://wiki.squeak.org/squeak/5700
is Shout still working in 4.6 ?
I have the impression from the wiki.squeak.org page that there existed
a package to display '_' as left-arrow but not sure whether it is still there.
David Stes
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2
iQEcBAEBCAAGBQJgAw4BAAoJEAwpOKXMq1Ma/1gIAK0vac+7G0o+nxaUZpwUZWEG
tpeh0Bg+aruVO330FkJajKDkGxpnRdQ+9sjRQQ1jE3ZDY1V+V7zqQz0fciOtE56L
24l0A3gkhElte7B6zIpXwEUKwBPGrv1egA024JIuxw3Xb/FWNKZeUwMdyZGtn0nW
LAlPjcv+r+/91Bkx8KuLT7E2Jas/JL3UpYYug9/F5umE/maN4+E3aKfggef8VKvz
fdm7xDYBCDatQFqwsa1ixdKxAGql0+SID7QY1tRQ2hvBdl1jQmBWT6wXF9sDRELm
YzXf2TWUiXUQDefr0Yc+qsJbYETKf0D4PmsdxNGgwwZ7zFbWpDm/OKy73wyhMiA=
=xekh
-----END PGP SIGNATURE-----
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
The font I use is a free font :
Alto Sherif Smalltalk-72 "Legacy"
http://www.kreativekorp.com/software/fonts/index.shtml
I think the "Legacy" stands for the encodings of underscore as left-arrow,
and circumflex (caret) as up-arrow.
There are other fonts that do this, as for example the PETSCII encoding
(on that same website) indicates the Commodore PET series of computers,
had the same encoding of left-arrow and up-arrow where modern ASCII has
its underscore and circumflex (caret).
Presumably a wide range of computers in the 1960's and 1970's had those
symbols on these positions.
Regards,
David Stes
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2
iQEcBAEBCAAGBQJgBXb/AAoJEAwpOKXMq1MaqZAH/0npBxoZt4ipcRXvu/Cknth+
mcGj0X3wZailmZXaeFRT5RR7poSLnPVfMzIZDVkuwFkgysoCb2RKK+i4WFBejj9q
i3IuEObpq5eBn2LCWKm6BISS5C8RRkOYIvG6uSERdXaBmowTCiSlYeKQtpY2xBuA
CoJTqjgFCQaea2YIcfytNkK2dxBN3EYAeI/68UKnSmjPmN8Mqy9JwMhTa0iS+AwB
eH/wojpZXWTI4qplytLiEx11frHZMG6tcsXkRJE1DAeqbIiTIFNZpY1zdiL/RCZ6
0zyeu/teMHERhvc85dGO+i6gw7dJrA3Wswb6quVVNZzspVGf7bNKqp2sQOD79JE=
=GVSA
-----END PGP SIGNATURE-----
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
Platform:
/usr/lib/squeak/4.19.5-3793/squeakvm
Squeak4.6 of 11 December 2017 [latest update: #15117]
Unix built on Jan 1 2021 12:28:22 Compiler: 5.15.0
platform sources revision 3793
VMMaker versionString 4.19.5
Issue:
There exists a class Matrix subclass of Collection,
it seems to have been implemented in 2002 by 'raok' ?
Go to the Browser, select "Matrix" and browse,
and one can see Matrix, subclass of Collection.
When I open a Monticello Browser and add a repository:
http repository:
MCHttpRepository
location: 'http://www.squeaksource.com/cakit'
user: ''
password: ''
I can load the Computer Algebra Kit with the "Load" button.
HOWEVER ... despite the fact that there's no warning in the Transcript,
this will now result in 2 Matrix classes in the system.
Go to the Browser, select "Matrix" and browse,
and one can see Matrix, in the Computer Algebra Kit.
It's a different class ... but a hybrid or 'merged' version,
perhaps some sort of 'pose As' version of the original,
replaced by the different and totally different subclass Matrix in the CAkit.
Now what I can do, and that works, is before installing the Computer Algebra
Kit, I can remove the class Matrix subclass of Collection.
In fact I'm under the impression that I should do that.
If you select Matrix subclass of Collection and from the menu,
Remove class ('x') that works.
In fact, I think it is more or less required to do so,
because I suspect the steps that I did above, corrupt the image.
The old Matrix class is no longer displayed as subclass of Collection,
and the methods of the old class and comments are visible in the new class,
but that makes no sense since the instance variables of the new class,
are totally different ...
Puzzled by this result.
I think what I'm observing here is that if you load 2 classes with the same
name, and with different implementations, what Squeak 4.6 is doing,
looks like some sort of poseAs where the last class that is loads
substitutes/replaces the first version ...
David Stes
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2
iQEcBAEBCAAGBQJf/JiUAAoJEAwpOKXMq1Man/EH/AyjlYBcb1iVF3qvjafGUM1B
Xufeifr99y7yceyuLjQloYNBuLl8/sNnf5chksqk9jJKuRn6vRI06OG60gUHMatB
TxKY4y6fevFYHoaLF6roIkjk94+BITssDZKWQpv+FiCooFpqti6FRpdfeSKL6+BZ
Y9Om0qDV0/WB+zWmB31JIjxqjPBOe7ErH9l0bB1iby0+UhWZTlZK+et6U+AL/LLA
iDQOmotY0PzMtj3teEPt3cE4BZg184ROBPsiWE8hJ2SOWNnEajFD+zA402UEQVWs
noSULFoMsLhaOnHQFRyWrJl5HfMEEx8MONl80lb41uK4O7MaFU13iu2+Wx6vsdw=
=Nxlv
-----END PGP SIGNATURE-----