[Cuis-dev] TT Fonts; stress testing; systematic correction of label-truncation in GUIs

Juan Vuletich juan at jvuletich.org
Fri May 24 06:35:38 PDT 2019


On 5/24/2019 8:46 AM, Shaping wrote:
>
> Cuis supports TrueType since a couple of weeks ago. Just do 'World / 
> Preferences... / Load extra fonts' and then 'World / Preferences... / 
> Set font' and 'World / Preferences... / Font Sizes...'.
>
> I just cloned a fresh Cuis5.0-3720 64-bit.  The only menu item related 
> to fonts is Font Sizes…   Is there a package I need to load to see the 
> other menu items?  I loaded all packages I could find in 
> Cuis-Smalltalk-dev.
>

No. No other package is needed. Apologies. We haven't saved updated 
images in a while. Just do 'World / Changes... / Install New Updates'. 
After that, the new menu options will be there.

> How can I set mouse action to be on button-down?
>

There is not a general preference for doing that. It might be worth doing.

> Test Runner has some truncated button labels on the right (just 
> happened to notice this, poking around).
>

Yes. You are allowed to set text size and window size independently. So. 
if you make windows too small for the text size you chose, the need to 
be made fit somehow. Note that they are not truncated. They are made 
smaller in a smart way, removing last vowels first, to preserve some 
legibility.

Mhh. You are right. The columns with buttos in TestRunner have fixed 
width. Just pushed a changeset to GitHub to fix that. Thanks! If you 
pull again and install new changes, you'll have it fixed.

> Wondering when all Smalltalk IDEs will be implemented as SPAs in the 
> browser so that the text-fit problem can be easily solved.  Any 
> thoughts on this?  I’m seeing this problem in Cuis, but not as much as 
> in Pharo, where the truncated-label-on-font-change-or-font-size-change 
> problem is all thru the Settings GUI, and is very disheartening, 
> considering how relatively advanced the GUI is in other ways.  GT 
> comes to mind—great stuff.  But some of the basic layout mechanics 
> aren’t working.
>

Well, I don't see Cuis becoming a SPA anytime soon! But we keep 
enhancing Cuis all the time, and your reports help us improve it.
>
> Can someone suggest packages for heavy number-crunching and OpenGL 
> graphics (or any graphics) in Cuis?  I need to do some stress testing.
>

We have packages for Numeric Linear Algebra, Signal Processing and Image 
Processing. Some algorithms are reasonable optimized, others are not. We 
also have an OpenCL package that doesn't include much code, but the 
included demos should be quite faster than if done in C.

See also https://github.com/pbella/Cuis-OpenGL .

You might also be interested in 
https://github.com/Cuis-Smalltalk/VectorGraphics although it is not 
optimized at all right now.

> Shaping
>

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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cuis.st/mailman/archives/cuis-dev/attachments/20190524/dfae6c4d/attachment.html>


More information about the Cuis-dev mailing list