<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Hi Eric,<br>
<br>
This message is again with cc to you. I hope you get it this time
(as I just said in a separate message, I cleared the "nodupes" mail
list option for all subscribers, hoping to solve this lost messages
problem).<br>
<br>
(inline)<br>
<br>
On 1/24/2020 7:45 PM, Eric Gade via Cuis-dev wrote:
<blockquote
cite="mid:CA+CiqoWOcM=-a=j0Hp=hw+h2sVjdqw60RdjG8oMqn4_91On2tA@mail.gmail.com"
type="cite">
<div dir="ltr">
<div>Thanks for sending along the message, Phil.</div>
<div><br>
</div>
<div>Juan, just so I'm clear on this: when I boot up a fresh
Cuis image, it's already using VectorGraphics to display text
in the system? I'm asking because I was working in Squeak last
week for a couple of days, then opened up Cuis and for
whatever reason felt that the text looked so much crisper in
Cuis. I was kind of surprised.</div>
</div>
</blockquote>
<br>
The fonts in Cuis are drawn with BitBlt, with the
anti-aliasing-text-with-BitBlt technique I developed many years ago
and was adopted by Squeak and Pharo. But the glyphs were built
rather recently. That's maybe why they look better. Rounded window
corners and gradients also look better in Cuis, because I made them
so. Still they are drawn using BitBlt.<br>
<br>
Still, try the included TrueType fonts (drawn using VectorGraphics
as I said in the message Phil was kind enough to forward again).
They look great.<br>
<br>
<blockquote
cite="mid:CA+CiqoWOcM=-a=j0Hp=hw+h2sVjdqw60RdjG8oMqn4_91On2tA@mail.gmail.com"
type="cite">
<div dir="ltr">
<div>As for the rest of it, sounds good. I might make a
changeset where there is a single method that can load a
single font into the system from a filepath. At the moment it
seems like you can only pass a directory.<br>
</div>
</div>
</blockquote>
<br>
Yep. That would be a nice contribution.<br>
<br>
Cheers,<br>
<pre class="moz-signature" cols="72">--
Juan Vuletich
<a class="moz-txt-link-abbreviated" href="http://www.cuis-smalltalk.org">www.cuis-smalltalk.org</a>
<a class="moz-txt-link-freetext" href="https://github.com/Cuis-Smalltalk/Cuis-Smalltalk-Dev">https://github.com/Cuis-Smalltalk/Cuis-Smalltalk-Dev</a>
<a class="moz-txt-link-freetext" href="https://github.com/jvuletich">https://github.com/jvuletich</a>
<a class="moz-txt-link-freetext" href="https://www.linkedin.com/in/juan-vuletich-75611b3">https://www.linkedin.com/in/juan-vuletich-75611b3</a>
@JuanVuletich</pre>
<br>
<blockquote
cite="mid:CA+CiqoWOcM=-a=j0Hp=hw+h2sVjdqw60RdjG8oMqn4_91On2tA@mail.gmail.com"
type="cite">
<div class="gmail_quote">
<div dir="ltr" class="gmail_attr">On Fri, Jan 24, 2020 at 3:45
PM Phil B via Cuis-dev <<a moz-do-not-send="true"
href="mailto:cuis-dev@lists.cuis.st">cuis-dev@lists.cuis.st</a>>
wrote:<br>
</div>
<blockquote class="gmail_quote" style="margin: 0px 0px 0px
0.8ex; border-left: 1px solid rgb(204, 204, 204);
padding-left: 1ex;">
<div dir="ltr">
<div dir="ltr">Eric,</div>
<div dir="ltr"><br>
</div>
<div dir="ltr">Here's Juan's full reply...</div>
<br>
<div class="gmail_quote">
<div dir="ltr" class="gmail_attr">On Thu, Jan 23, 2020 at
2:15 PM Juan Vuletich via Cuis-dev <<a
moz-do-not-send="true"
href="mailto:cuis-dev@lists.cuis.st" target="_blank">cuis-dev@lists.cuis.st</a>>
wrote:<br>
</div>
<blockquote class="gmail_quote" style="margin: 0px 0px 0px
0.8ex; border-left: 1px solid rgb(204, 204, 204);
padding-left: 1ex;">Hi Eric,<br>
<br>
On 1/21/2020 10:22 PM, Eric Gade via Cuis-dev wrote:<br>
> Hi all,<br>
><br>
> It's been a while since I opened up Cuis, so
forgive me if I'm out of <br>
> the loop a bit. I have 2 unrelated questions:<br>
><br>
> 1. How can I add a single font (otf) to the
available fonts in the system?<br>
<br>
Cuis can handle TrueType .ttf fonts, but not OpenType
.otf fonts right <br>
now. Maybe you can find a TrueType version of the font
you need, or <br>
maybe you can convert it. Most likely, extending
TrueType support to <br>
also handle OpenType is not a big deal if you want to
give it a try.<br>
<br>
> 2. What is the status of Morphic 3 and vector
graphics?<br>
<br>
With an updated Cuis setup, do:<br>
<br>
World / Preferences... / Load extra fonts "This
installs TrueType and <br>
VectorGraphics"<br>
World / Preferences... / Set font... / CMU Concrete "or
any other but <br>
DejaVu (that is a Bitmap Font). DejaVu Sans is also ok"<br>
If you have any FileList open, close it, and open it
again if you want <br>
(FileList is not updating all the panes to use the new
default font).<br>
<br>
Now all the text you see is done using instances of
TrueTypeFont. All <br>
the glyphs were built using VectorGraphics. If you want
to see the whole <br>
desktop as drawn by the VectorGraphics engine, evaluate:<br>
<br>
self runningWorld backgroundImage displayAt: 0@0.
(VectorCanvas onForm: <br>
Display) fullDraw: self runningWorld. Display copy
inspect.<br>
<br>
The high performance OpenCL implementation of the
VectorGraphics engine <br>
is in the works. As I usually say at this time of the
year, maybe this <br>
is the year it will become usable enough to completely
replace <br>
BitBltCanvas and BitBltCanvasEngine... You can see the
commits that <br>
affect <a moz-do-not-send="true"
href="http://VectorGraphics.pck.st" rel="noreferrer"
target="_blank">VectorGraphics.pck.st</a> in GitHub,
and see that I'm actually <br>
working on it.<br>
<br>
> Thanks<br>
><br>
> -- <br>
> Eric<br>
<br>
Cheers,<br>
<br>
-- <br>
Juan Vuletich<br>
<a moz-do-not-send="true"
href="http://www.cuis-smalltalk.org" rel="noreferrer"
target="_blank">www.cuis-smalltalk.org</a><br>
<a moz-do-not-send="true"
href="https://github.com/Cuis-Smalltalk/Cuis-Smalltalk-Dev"
rel="noreferrer" target="_blank">https://github.com/Cuis-Smalltalk/Cuis-Smalltalk-Dev</a><br>
<a moz-do-not-send="true"
href="https://github.com/jvuletich" rel="noreferrer"
target="_blank">https://github.com/jvuletich</a><br>
<a moz-do-not-send="true"
href="https://www.linkedin.com/in/juan-vuletich-75611b3"
rel="noreferrer" target="_blank">https://www.linkedin.com/in/juan-vuletich-75611b3</a><br>
@JuanVuletich<br>
<br>
-- <br>
Cuis-dev mailing list<br>
<a moz-do-not-send="true"
href="mailto:Cuis-dev@lists.cuis.st" target="_blank">Cuis-dev@lists.cuis.st</a><br>
<a moz-do-not-send="true"
href="https://lists.cuis.st/mailman/listinfo/cuis-dev"
rel="noreferrer" target="_blank">https://lists.cuis.st/mailman/listinfo/cuis-dev</a><br>
</blockquote>
</div>
</div>
-- <br>
Cuis-dev mailing list<br>
<a moz-do-not-send="true" href="mailto:Cuis-dev@lists.cuis.st"
target="_blank">Cuis-dev@lists.cuis.st</a><br>
<a moz-do-not-send="true"
href="https://lists.cuis.st/mailman/listinfo/cuis-dev"
rel="noreferrer" target="_blank">https://lists.cuis.st/mailman/listinfo/cuis-dev</a><br>
</blockquote>
</div>
<br clear="all">
<br>
-- <br>
<div dir="ltr" class="gmail_signature">
<div dir="ltr">
<div>Eric</div>
</div>
</div>
</blockquote>
<br>
</body>
</html>