additional font size?

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
8 messages Options
Reply | Threaded
Open this post in threaded view
|

additional font size?

Alexandre Bergel
Hi!

Apparently, the 1.2 image contains only the size 7, 9 and 12 for Bitmap DejaVu Sans. Can we get additional font sizes? Are there a vectorial font police supported in Pharo? I would like to be able to give any arbitrary font size.

Cheers,
Alexandre

--
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel  http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.






Reply | Threaded
Open this post in threaded view
|

Re: additional font size?

Alain Plantec-4
Le 10/01/2011 11:26, Alexandre Bergel a écrit :
> Hi!
>
> Apparently, the 1.2 image contains only the size 7, 9 and 12 for Bitmap DejaVu Sans. Can we get additional font sizes? Are there a vectorial font police supported in Pharo? I would like to be able to give any arbitrary font size.
Hi Alexandre,
Isn't it possible with true type fonts ?
you can load them from the setting browser or directly with:
FreeTypeFontProvider current updateFromSystem
Cheers
Alain
> Cheers,
> Alexandre
>


Reply | Threaded
Open this post in threaded view
|

Re: additional font size?

Sven Van Caekenberghe
In reply to this post by Alexandre Bergel

On 10 Jan 2011, at 11:26, Alexandre Bergel wrote:

> Hi!
>
> Apparently, the 1.2 image contains only the size 7, 9 and 12 for Bitmap DejaVu Sans. Can we get additional font sizes? Are there a vectorial font police supported in Pharo? I would like to be able to give any arbitrary font size.
>
> Cheers,
> Alexandre

You could load 'DejaVuBitmapFonts' from SqueakSource 'DejaVu'.
You then get size 8,9,10,11,12,14,17 and 22.
These also work on Cog.

Sven


Reply | Threaded
Open this post in threaded view
|

Re: additional font size?

Alexandre Bergel
Ok, I will check.

Cheers,
Alexandre


On 10 Jan 2011, at 13:57, Sven Van Caekenberghe wrote:

>
> On 10 Jan 2011, at 11:26, Alexandre Bergel wrote:
>
>> Hi!
>>
>> Apparently, the 1.2 image contains only the size 7, 9 and 12 for Bitmap DejaVu Sans. Can we get additional font sizes? Are there a vectorial font police supported in Pharo? I would like to be able to give any arbitrary font size.
>>
>> Cheers,
>> Alexandre
>
> You could load 'DejaVuBitmapFonts' from SqueakSource 'DejaVu'.
> You then get size 8,9,10,11,12,14,17 and 22.
> These also work on Cog.
>
> Sven
>
>

--
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel  http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.






Reply | Threaded
Open this post in threaded view
|

Re: additional font size?

Tudor Girba
Indeed, this would probably go well with Mondrian.

Is there a way to obtain DejaVu Sans lower than 7?

Cheers,
Doru


On 10 Jan 2011, at 19:36, Alexandre Bergel wrote:

> Ok, I will check.
>
> Cheers,
> Alexandre
>
>
> On 10 Jan 2011, at 13:57, Sven Van Caekenberghe wrote:
>
>>
>> On 10 Jan 2011, at 11:26, Alexandre Bergel wrote:
>>
>>> Hi!
>>>
>>> Apparently, the 1.2 image contains only the size 7, 9 and 12 for Bitmap DejaVu Sans. Can we get additional font sizes? Are there a vectorial font police supported in Pharo? I would like to be able to give any arbitrary font size.
>>>
>>> Cheers,
>>> Alexandre
>>
>> You could load 'DejaVuBitmapFonts' from SqueakSource 'DejaVu'.
>> You then get size 8,9,10,11,12,14,17 and 22.
>> These also work on Cog.
>>
>> Sven
>>
>>
>
> --
> _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
> Alexandre Bergel  http://www.bergel.eu
> ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
>
>
>
>
>
>

--
www.tudorgirba.com

"Reasonable is what we are accustomed with."


Reply | Threaded
Open this post in threaded view
|

Re: additional font size?

Alain Plantec-4
yes, all sizes from 5 to 24 are available.

Le 10/01/2011 21:28, Tudor Girba a écrit :
> Indeed, this would probably go well with Mondrian.
>
> Is there a way to obtain DejaVu Sans lower than 7?
>
> Cheers,
> Doru
>


Reply | Threaded
Open this post in threaded view
|

Re: additional font size?

Mariano Martinez Peck
Alain, maybe we can add a buttton or something like that in the settings, that just runs the gofer script to load those fonts?

Suppose you can see "To download DejaVU Sans between 5 and 24 click here"   or something like that in the fonts configuration.

Once again, I suggest to include such package in the dev image. It is also useful for Demos.

cheeers

mariano

On Mon, Jan 10, 2011 at 9:43 PM, Alain Plantec <[hidden email]> wrote:
yes, all sizes from 5 to 24 are available.

Le 10/01/2011 21:28, Tudor Girba a écrit :

Indeed, this would probably go well with Mondrian.

Is there a way to obtain DejaVu Sans lower than 7?

Cheers,
Doru




Reply | Threaded
Open this post in threaded view
|

Re: additional font size?

Alain Plantec-4
Hi Mariano,
see http://code.google.com/p/pharo/issues/detail?id=2986
My position is that we should remove acuny and load some of the DejaVu
fonts in the core
in order to make the demo mode working for every one.
Now, yes, a loader can be added in the setting browser.

I can't do it now.
If someone wants to make it, it's pretty simple, just look at
GraphicFontSettings class>>standardFontsSettingsOn:

standardFontsSettingsOn: aBuilder
<systemsettings>
     (aBuilder group: #standardFonts)
         label: 'Standard fonts' translated;
         target: StandardFonts;
         parent: #appearance;
         order: 4;
         with: [
             (aBuilder launcher: #updateFromSystem)
                 order: 1;
                 target: FreeTypeFontProvider;
                 targetSelector: #current;
                 description: 'Update available fonts by scanning the
current system';
                 script: #updateFromSystem;
                 label: 'Update fonts from system' translated.
....


Cheers
Alain




Le 10/01/2011 22:24, Mariano Martinez Peck a écrit :

> Alain, maybe we can add a buttton or something like that in the
> settings, that just runs the gofer script to load those fonts?
>
> Suppose you can see "To download DejaVU Sans between 5 and 24 click
> here"   or something like that in the fonts configuration.
>
> Once again, I suggest to include such package in the dev image. It is
> also useful for Demos.
>
> cheeers
>
> mariano
>
> On Mon, Jan 10, 2011 at 9:43 PM, Alain Plantec <[hidden email]
> <mailto:[hidden email]>> wrote:
>
>     yes, all sizes from 5 to 24 are available.
>
>     Le 10/01/2011 21:28, Tudor Girba a écrit :
>
>         Indeed, this would probably go well with Mondrian.
>
>         Is there a way to obtain DejaVu Sans lower than 7?
>
>         Cheers,
>         Doru
>
>
>
>