[Pharo-project] additional font size?
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 ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
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
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
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 ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
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."
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 <alain.plantec@free.fr>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
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 <alain.plantec@free.fr <mailto:alain.plantec@free.fr>> 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
participants (5)
-
Alain Plantec -
Alexandre Bergel -
Mariano Martinez Peck -
Sven Van Caekenberghe -
Tudor Girba