[Cuis-dev] Vector graphics questions
Juan Vuletich
juan at jvuletich.org
Fri Aug 6 11:58:55 PDT 2021
On 8/5/2021 8:58 AM, Vanessa Freudenberg via Cuis-dev wrote:
> On Wed, Aug 4, 2021 at 13:30 Eric Gade <eric.gade at gmail.com
> <mailto:eric.gade at gmail.com>> wrote:
>
> Hi Vanessa (and others),
>
> What steps did you use to get the full Cuis display to use
> VectorGraphics? I am running a vector-enabled VM, and I can
> successfully load (and display) TrueType fonts, but when I try to
> run the following:
>
> ```
>
> |self runningWorld backgroundImage displayAt: 0 at 0.
> (VectorCanvas onForm: Display) fullDraw: self runningWorld. "This is the line that triggers the mnu"
> Display copy inspect.|
>
> ```
>
> I get an MNU about StrikeFont not understanding #fontDescription
> (the font in question appears to be DejaVu Sans). I was following
> the instructions from this doc
> <https://github.com/Cuis-Smalltalk/Cuis-Smalltalk-Dev/blob/master/Documentation/VectorGraphicsAndMorphic3.md>
> that you included in your original email.
>
>
> I just assumed that doc is outdated, since even the menu items
> described in there did not match the current image. It is 2 years old
> so lots of things have changed.
>
> I actually ran into the exact same MNU error about StrikeFont. But
> the actual switching of the system font worked, and I verified it is
> using the vector engine by slightly rotating a window, which otherwise
> would cause ugly artifacts.
>
> So I think this doc describes how to try the Vector engine before it
> was actually integrated into Morphic.
> Someone who knows the current state of affairs needs to fix the
> documentation. I should have filed a GitHub issue but that was
> literally my first hour with Cuis 😅
>
> I’ve done it now:
> https://github.com/Cuis-Smalltalk/Cuis-Smalltalk-Dev/issues/192
>
> Vanessa
Hi Vanessa, Eric,
Yes, I'd forgotten about that document. Just updated it. I hope it is
useful now. Please take a look!
Thanks,
--
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cuis.st/mailman/archives/cuis-dev/attachments/20210806/5eb3833e/attachment.htm>
More information about the Cuis-dev
mailing list