[Cuis-dev] Adding Single Font / Morphic Update

Eric Gade eric.gade at gmail.com
Sat Jan 25 07:06:09 PST 2020


Hi Juan,

I am receiving all your messages now. It seems that the one I lost ended up
in my spam folder for some reason.

On Sat, Jan 25, 2020 at 9:27 AM Juan Vuletich <juan at jvuletich.org> wrote:

> Hi Eric,
>
> 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).
>
> (inline)
>
> On 1/24/2020 7:45 PM, Eric Gade via Cuis-dev wrote:
>
> Thanks for sending along the message, Phil.
>
> 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.
>
>
> 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.
>
> 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.
>
> 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.
>
>
> Yep. That would be a nice contribution.
>
> Cheers,
>
> --
> Juan Vuletichwww.cuis-smalltalk.orghttps://github.com/Cuis-Smalltalk/Cuis-Smalltalk-Devhttps://github.com/jvuletichhttps://www.linkedin.com/in/juan-vuletich-75611b3
> @JuanVuletich
>
>
> On Fri, Jan 24, 2020 at 3:45 PM Phil B via Cuis-dev <
> cuis-dev at lists.cuis.st> wrote:
>
>> Eric,
>>
>> Here's Juan's full reply...
>>
>> On Thu, Jan 23, 2020 at 2:15 PM Juan Vuletich via Cuis-dev <
>> cuis-dev at lists.cuis.st> wrote:
>>
>>> Hi Eric,
>>>
>>> On 1/21/2020 10:22 PM, Eric Gade via Cuis-dev wrote:
>>> > Hi all,
>>> >
>>> > It's been a while since I opened up Cuis, so forgive me if I'm out of
>>> > the loop a bit. I have 2 unrelated questions:
>>> >
>>> > 1. How can I add a single font (otf) to the available fonts in the
>>> system?
>>>
>>> Cuis can handle TrueType .ttf fonts, but not OpenType .otf fonts right
>>> now. Maybe you can find a TrueType version of the font you need, or
>>> maybe you can convert it. Most likely, extending TrueType support to
>>> also handle OpenType is not a big deal if you want to give it a try.
>>>
>>> > 2. What is the status of Morphic 3 and vector graphics?
>>>
>>> With an updated Cuis setup, do:
>>>
>>> World / Preferences... / Load extra fonts    "This installs TrueType and
>>> VectorGraphics"
>>> World / Preferences... / Set font... / CMU Concrete "or any other but
>>> DejaVu (that is a Bitmap Font). DejaVu Sans is also ok"
>>> If you have any FileList open, close it, and open it again if you want
>>> (FileList is not updating all the panes to use the new default font).
>>>
>>> Now all the text you see is done using instances of TrueTypeFont. All
>>> the glyphs were built using VectorGraphics. If you want to see the whole
>>> desktop as drawn by the VectorGraphics engine, evaluate:
>>>
>>> self runningWorld backgroundImage displayAt: 0 at 0. (VectorCanvas onForm:
>>> Display) fullDraw: self runningWorld. Display copy inspect.
>>>
>>> The high performance OpenCL implementation of the VectorGraphics engine
>>> is in the works. As I usually say at this time of the year, maybe this
>>> is the year it will become usable enough to completely replace
>>> BitBltCanvas and BitBltCanvasEngine... You can see the commits that
>>> affect VectorGraphics.pck.st in GitHub, and see that I'm actually
>>> working on it.
>>>
>>> > Thanks
>>> >
>>> > --
>>> > Eric
>>>
>>> Cheers,
>>>
>>> --
>>> Juan Vuletich
>>> www.cuis-smalltalk.org
>>> https://github.com/Cuis-Smalltalk/Cuis-Smalltalk-Dev
>>> https://github.com/jvuletich
>>> https://www.linkedin.com/in/juan-vuletich-75611b3
>>> @JuanVuletich
>>>
>>> --
>>> Cuis-dev mailing list
>>> Cuis-dev at lists.cuis.st
>>> https://lists.cuis.st/mailman/listinfo/cuis-dev
>>>
>> --
>> Cuis-dev mailing list
>> Cuis-dev at lists.cuis.st
>> https://lists.cuis.st/mailman/listinfo/cuis-dev
>>
>
>
> --
> Eric
>
>
>

-- 
Eric
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cuis.st/mailman/archives/cuis-dev/attachments/20200125/037fb03c/attachment-0001.htm>


More information about the Cuis-dev mailing list