[Cuis-dev] TrueType Fonts assignment
Juan Vuletich
juan at jvuletich.org
Wed Apr 28 09:42:02 PDT 2021
On 4/28/2021 1:11 PM, Robert Calco via Cuis-dev wrote:
> Juan,
>
> Thanks for your prompt and thorough answers!
>
> I just grabbed the master.zip per the instructions on Github but still
> see the problem. After setting the system font to CompterModernSans, I
> opened a browser on Date>>printFormat: and can see both the left arrow
> and the up arrow still look like boxes with x's in them. So, is it
> necessary for me to clone the repo to see the changes?
After starting the image, and prior to changing the font, you need to
World / Changes... / Install New Updates . In particular you need update
#4572. Check your Transcript.
We publish updates frequently, but only push updated images once in a while.
Cheers,
>
> On Wed, Apr 28, 2021 at 11:39 AM Juan Vuletich <juan at jvuletich.org
> <mailto:juan at jvuletich.org>> wrote:
>
> Hi Robert,
>
> On 4/27/2021 4:31 PM, Robert Calco via Cuis-dev wrote:
>> I'm a noob to Cuis, though I've been lurking awhile, and after
>> watching recent demos about progress on SVG I got an instance
>> working on my Windows machine using the 64 bit vm and
>> Cuis5.0-4567.image. I tweaked preferences a bit and found I liked
>> everything about the experience
>
> Nice!
>
>> *except* how TT fonts had the return and assignment arrows
>> looking like blocks, as noted by Bernhard.
>>
>> I am unable to find the preferences you mention above, but
>> figured out I could add them to the preferences list, however
>> they did not change anything. So maybe I'm using the wrong image?
>
> I guess you are looking for
> Preferences enable:
> #syntaxHighlightingAsYouTypeAnsiAssignment.
> and
> Preferences enable:
> #syntaxHighlightingAsYouTypeLeftArrowAssignment.
> (enable only one of them at a time)
>
> #useLeftArrow and #useAlwaysLeftArrow seem useless to me. I think
> we'd just remove them.
>
>> Don't get me wrong, I wouldn't mind if the left and up arrows
>> were always dynamically inserted by default when I type ^ or :=,
>> but not until all the supported fonts can render them properly.
>> That would be my feedback. Until then the default should be ^ for
>> returning a value, and := for assignment.
>
> Today I pushed a commit to take the Unicode Arrow glyphs from
> DejaVu if the selected font doesn't include them. Assignment and
> returns should look well in any font.
>
> Some clarifications:
> - There are no specifically "supported fonts". You can use any
> TrueType font you like. We include a few with Cuis for
> convenience. You can add others. Different TrueType fonts will
> vary in the range of glyphs they include.
> - We always use Character 94 for return ( ^ in the keyboard). We
> just display it as an up arrow when it is a return (but not when
> it is used a a binary selector, or in a comment).
> - You can use := or left arrow ( _ in the keyboard) for
> assignment. Your choice. We display _ as a left arrow when it is
> used for assignment (but not when it is used as part of a variable
> name or selector, or in a comment).
>
>> The SVG support is a big deal and I'm interested in exploring
>> what I can do with Cuis as an alternative, but for most
>> application needs Pharo and Cincom, as "top heavy" as they are,
>> still seem most suitable for actual application development.
>> Gemstone is also great. In general I am always struggling with
>> which to use for what purpose.
>>
>> --
>> *Bob Calco*
>>
>> bobcalco at gmail.com <mailto:bobcalco at gmail.com>
>> 813-997-3583 (work mobile)
>> 813-523-3751 (personal mobile)
>>
>> /"But you can catch yourself entertaining habitually certain
>> ideas and setting others aside; and this, I think, is where our
>> personal destinies are largely decided." /-- *Alfred North Whitehead*
>>
>> /"And now I see with eye serene the very pulse of the machine."
>> /--* William Wordsworth*
>
> Cheers,
>
> --
> Juan Vuletich
> www.cuis-smalltalk.org <http://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
>
>
>
> --
> *Bob Calco*
>
> bobcalco at gmail.com <mailto:bobcalco at gmail.com>
> 813-997-3583 (work mobile)
> 813-523-3751 (personal mobile)
>
> /"But you can catch yourself entertaining habitually certain ideas and
> setting others aside; and this, I think, is where our personal
> destinies are largely decided." /-- *Alfred North Whitehead*
>
> /"And now I see with eye serene the very pulse of the machine."
> /--* William Wordsworth*
--
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/20210428/bd7da9e4/attachment-0001.htm>
More information about the Cuis-dev
mailing list