On 05 Nov 2013, at 06:04, Tudor Girba <tu...@tudorgirba.com> wrote:

> Hi,
> 
> I am glad you are considering other types of fonts :). Still, I think that 
> Open Sans does not work well with Source Code. First, there is not enough 
> distinction between them, and second, their rhythms do not match (both in 
> terms of height and width).
> 
> Choosing a consistent family of fonts mitigates these problems. Source is a 
> family of fonts that also comes with a Source Sans variation. That is why my 
> settings look like:

Change my fonts, I will, and
Walk this path, try to,
Master “Doru” Yoda ;-)

> #('SourceCodeProRegular' 'SourceCodeProBold' 'SourceSansProRegular' 
> 'SourceSansProBold') do: [ :each | 
>               Smalltalk globals 
>                       at: each asSymbol
>                       ifAbsent: [
>                               Gofer new 
>                                       smalltalkhubUser: 'girba' project: 
> 'FreeFonts';
>                                       package: each;
>                                       load ].
>               (Smalltalk at: each asSymbol) new install ].
> FreeTypeSystemSettings loadFt2Library: true.
> FreeTypeFontProvider current updateFromSystem
> StandardFonts 
>               setAllStandardFontsTo: (LogicalFont familyName: 'Source Sans 
> Pro' pointSize: 10);
>               haloFont: (LogicalFont familyName: 'Source Sans Pro' pointSize: 
> 10);
>               windowTitleFont: (LogicalFont familyName: 'Source Sans Pro' 
> pointSize: 14);
>               balloonFont: (LogicalFont familyName: 'Source Sans Pro' 
> pointSize: 10);
>               codeFont: (LogicalFont familyName: 'Source Code Pro' pointSize: 
> 10)
> 
> 
> Here is a screenshot:
> https://www.dropbox.com/s/i39f7phfy9v1bqh/pharo-with-only-source-fonts.png
> 
> Notice how I also load the bold versions of both fonts so that we can use 
> them both in code and in lists.
> 
> Cheers,
> Doru
> 
> 
> 
> On Mon, Nov 4, 2013 at 5:31 PM, Sven Van Caekenberghe <s...@stfx.eu> wrote:
> Hey Doru,
> 
> On 04 Nov 2013, at 17:01, Tudor Girba <tu...@tudorgirba.com> wrote:
> 
>> - Continue on the topic of "Pharo IDE of the Future”
> 
> Great, looking forward to it !
> 
> FWIW, I have come around about the fonts ;-)
> 
> I have been using Open Sans & Source Code Pro for a while now, and I like 
> them.
> 
> These are my font selections for my MacBook Air 13’’ (1440x900):
> 
> <Screen Shot 2013-11-04 at 17.25.38.png>
> Light and modern, like Pharo itself !
> 
> Apart from the bolding of the window title font, this code sets those fonts:
> 
> SourceCodeProRegular new install.
> OpenSansRegular new install.
> FreeTypeFontProvider current updateFromSystem.
> 
> #(
>       #(#defaultFont: 'Open Sans' 12) 
>       #(#listFont: 'Open Sans' 12) 
>       #(#menuFont: 'Open Sans' 12) 
>       #(#windowTitleFont: 'Open Sans' 12) 
>       #(#balloonFont: 'Open Sans' 10) 
>       #(#codeFont: 'Source Code Pro' 11) 
>       #(#buttonFont: 'Open Sans' 12) 
>       #(#haloFont: 'Open Sans' 10)) do: [ :spec | 
>               | font |
>               font := LogicalFont familyName: spec second pointSize: spec 
> third.
>               StandardFonts perform: spec first with: font ]
> 
> Thanks again for taking care !
> 
> Sven
> 
> 
> 
> -- 
> www.tudorgirba.com
> 
> "Every thing has its own flow"


Reply via email to