<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
<title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
Hi Mark,<br>
<br>
On 10/5/2024 6:01 PM, Mark Volkmann via Cuis-dev wrote:
<blockquote
cite="mid:CAFfRWnXFeehuR16iLRgyX_AR04B2Kk7q9E4=iFENWZvkRqYT5w@mail.gmail.com"
type="cite">
<div dir="ltr">The following example code found in a comment in
the <font face="monospace">Pen</font> method <font
face="monospace">print:withFont:</font> results in the error
MessageNotUnderstood: TrueTypeFont>>glyphAt:
<div><br>
</div>
<div><font face="monospace">Display restoreAfter: [</font></div>
<div><font face="monospace"> Pen new squareNib: 2;</font></div>
<div><font face="monospace"> color: Color red;</font></div>
<div><font face="monospace"> turn: 45;<br>
print: 'The owl and the pussycat went to sea<br>
in a beautiful pea green boat.'</font></div>
<div><font face="monospace"> withFont: FontFamily
defaultFamilyAndPointSize</font></div>
<div><font face="monospace">]</font></div>
<div><br>
</div>
<div>To install the <font face="monospace">Pen</font> class,
clone the <a moz-do-not-send="true"
href="https://github.com/Cuis-Smalltalk/Morphic">https://github.com/Cuis-Smalltalk/Morphic</a>
repository and evaluate <font face="monospace">Feature
require: 'Pen'</font>.</div>
<div><br>
</div>
<div>Do I need to use a non-TrueType font in order for this to
work?</div>
<div><br>
<span class="gmail_signature_prefix">-- </span><br>
<div dir="ltr" class="gmail_signature"
data-smartmail="gmail_signature">
<div dir="ltr">
<div>
<div dir="ltr">
<div>
<div dir="ltr">
<div dir="ltr">
<div><font face="arial, helvetica, sans-serif">R.
Mark Volkmann</font></div>
<div><span style="font-size: 12.8px;"><font
face="arial, helvetica, sans-serif">Object
Computing, Inc.</font></span></div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</blockquote>
<br>
That code could be made to work again. Some investigation is
required, though.<br>
<br>
However I'm strongly about that. This points to a real problem we
need to address. The lineage Smalltalk-76 -> Smalltalk-80 ->
Squeak -> Cuis comprises almost 50 years. A lot of code has been
written! Some things have been made obsolete by much better options.
This is one of them. VectorGraphics offers way more flexibility and
unbelievable better quality graphics.<br>
<br>
We need to classify packages in, perhaps, these categories:<br>
1 - Abandoned.<br>
2 - Maintained, but only for historical value. Use beyond that is
not recommended.<br>
3 - Somewhat maintained. Bitrot possible, and usually fixed in no
more than a couple of months. If bugs are reported, someone fixes
them in no more than a few weeks.<br>
4 - Maintained. Someone or several people act as maintainers. They
regularly use it and problems are detected and fixed quickly. If a
bug is reported, it is acknowledged in no more that a few days, and
fixed in no more than a week or two.<br>
<br>
The Pen package would be in category 1, unless someone volunteers to
maintain (and fix!) it. In any case, it would never go beyond 2,
unless someone rewrites it to use Vector Graphics.<br>
<br>
<br>
These categories for asses<br>
<br>
<pre class="moz-signature" cols="72">--
Juan Vuletich
cuis.st
github.com/jvuletich
researchgate.net/profile/Juan-Vuletich
independent.academia.edu/JuanVuletich
patents.justia.com/inventor/juan-manuel-vuletich
linkedin.com/in/juan-vuletich-75611b3
twitter.com/JuanVuletich</pre>
</body>
</html>