[Cuis-dev] [Integrated]Re: FontChanger

Juan Vuletich juan at jvuletich.org
Mon May 6 05:54:48 PDT 2019


Hi Eric.

This is very nice, thanks! It is now @ GitHub. I also added you to the 
"known authors" list, so when the system prompts for your initials, it 
will already know your name.

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


On 5/3/2019 7:10 PM, Eric Brandwein wrote:
> You're right Juan, I've taken my time but here's a ChangeSet that adds 
> an option to the Preferences menu to change the current font. It 
> currently shows just 'DejaVu' and 'DejaVu Sans Mono' as options, and 
> if the chosen one is not installed, it installs it. For this, I've 
> adapted the FontChanger class to actually change the font.
>
> I'm not sure if this is the best design, so any comment is welcome. 
> Plus, it doesn't have any tests, because I'm not sure how to test 
> something that changes the current world. Maybe there's a way to 
> create a current world just for testing?
>
> Cheers,
> Eric
>
> El jue., 25 abr. 2019 a las 12:34, Juan Vuletich (<juan at jvuletich.org 
> <mailto:juan at jvuletich.org>>) escribió:
>
>     Hi Eric,
>
>     I just reviwed  it. I think doing `Character initialize` is needed
>     at all, and if we remove that, all that is left is a new name for
>     a method that was already there. I think it would be more useful
>     to add a new entry to the World / Preferences... menu, something
>     like 'Install and use monospaced font'.
>
>     WRT other fonts, I'm working on TrueType support.  See
>     https://lists.cuis.st/mailman/archives/cuis-dev/2019-April/000031.html
>
>     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
>
>
>     On 4/24/2019 11:50 PM, Eric Brandwein via Cuis-dev wrote:
>>     Hahaha you're right, sorry. Here it goes.
>>
>>     El mié., 24 abr. 2019 a las 22:43, Hernan Wilkinson
>>     (<hernan.wilkinson at 10pines.com
>>     <mailto:hernan.wilkinson at 10pines.com>>) escribió:
>>
>>         Hi Eric,
>>          you forgot to attach the change set :-)
>>
>>         Hernan.
>>
>>         On Wed, Apr 24, 2019 at 7:21 PM Eric Brandwein via Cuis-dev
>>         <cuis-dev at cuis-smalltalk.org
>>         <mailto:cuis-dev at cuis-smalltalk.org>> wrote:
>>
>>             Hi devs,
>>
>>             I'm attaching a ChangeSet that adds and object that makes
>>             changing the current font easier. Comments are welcome.
>>             Maybe it would be nice to add an option on the
>>             Preferences menu to change the current font using this
>>             object.
>>
>>             Also, the DejaVu Sans Mono font isn't installed in the
>>             image, so one has to install it before changing to it.
>>             Given that it's already in the AdditionalFontData
>>             directory, if the mentioned option is added, maybe the
>>             DejaVu Sans Mono font should be added to the AbstractFont
>>             availableFonts, or, at least, there should be a hardcoded
>>             option to install and use it.
>>
>>             Maybe in the future one could be able to load fonts from
>>             the system. I guess that's more complicated though.
>>
>>             Cheers,
>>             Eric
>>             _______________________________________________
>>             Cuis-dev mailing list
>>             Cuis-dev at cuis-smalltalk.org
>>             <mailto:Cuis-dev at cuis-smalltalk.org>
>>             http://cuis-smalltalk.org/mailman/listinfo/cuis-dev_cuis-smalltalk.org
>>
>>
>>
>>         -- 
>>         *Hernán Wilkinson
>>         Agile Software Development, Teaching & Coaching*
>>         *Phone: +54-011*-4893-2057
>>         *Twitter: @HernanWilkinson*
>>         *site: http://www.10Pines.com <http://www.10pines.com/>*
>>         Address: Alem 896, Floor 6, Buenos Aires, Argentina
>>
>>
>>     _______________________________________________
>>     Cuis-dev mailing list
>>     Cuis-dev at cuis-smalltalk.org  <mailto:Cuis-dev at cuis-smalltalk.org>
>>     http://cuis-smalltalk.org/mailman/listinfo/cuis-dev_cuis-smalltalk.org
>
>


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


More information about the Cuis-dev mailing list