It would be easier to simply load these fonts in the image:

#('SourceCodeProRegular' 'SourceCodeProBold' 'SourceSansProRegular'
'SourceSansProBold') do: [ :each |
each asSymbol asClassIfAbsent: [
Gofer new
smalltalkhubUser: 'girba' project: 'FreeFonts';
package: each;
load ].
FreeTypeFontProvider registerFont: (Smalltalk at: each asSymbol) ].
FreeTypeSystemSettings loadFt2Library: true.
FreeTypeFontProvider current updateFromSystem

You can see more details here:
http://www.tudorgirba.com/blog/free-font-collection-for-pharo

Doru



On Wed, May 14, 2014 at 4:01 PM, Goubier Thierry <[email protected]>wrote:

>
>
> Le 14/05/2014 15:53, [email protected] a écrit :
>
>> On Wed, May 14, 2014 at 3:45 PM, Esteban A. Maringolo
>> <[email protected] <mailto:[email protected]>> wrote:
>>
>>     05-14 10:42 GMT-03:00 [email protected] <mailto:[email protected]>
>>     <[email protected] <mailto:[email protected]>>:
>>
>>      > The file is named:
>>      >
>>      > SourceCodePro_FontsOnly-1.017.zip
>>      >
>>      > In the TTF folder you have:
>>      >
>>      > $ ls
>>      > SourceCodePro-Black.ttf       SourceCodePro-Medium.ttf
>>      > SourceCodePro-Bold.ttf        SourceCodePro-Regular.ttf
>>      > SourceCodePro-ExtraLight.ttf  SourceCodePro-Semibold.ttf
>>      > SourceCodePro-Light.ttf
>>      >
>>      > Must click on each to install the font via font manager. Other
>>     automated
>>      > black magic welcome.
>>
>>     I copied .otf files to ~/.fonts/ directory, and were picked-up by
>>     Ubuntu immediately.
>>
>>
>> Is it possible to do that for all users at once?
>>
>
> Yes, by copying in one of the system font folders. There is probably a
> /usr/local/ ... /fonts something for a clean add.
>
> Thierry
>
> --
> Thierry Goubier
> CEA list
> Laboratoire des Fondations des Systèmes Temps Réel Embarqués
> 91191 Gif sur Yvette Cedex
> France
> Phone/Fax: +33 (0) 1 69 08 32 92 / 83 95
>
>


-- 
www.tudorgirba.com

"Every thing has its own flow"

Reply via email to