[Pharo-project] DemoMode should not change Fonts only sizes?
Hi Alain, I was trying the DemoMode before my talk at ESUG and I thought that it would be better if this guy only changes the size of the fonts. I am not sure if changing the fonts is good. For example, right now it is using FreeType with DejaVu. Since Pharo1.1 dev doesn't use them, there is no folder "Fonts" with themâ¦..thus they are not found and ugly fonts are rendered. Cheers mariano
2010/9/14 Mariano Martinez Peck <marianopeck@gmail.com>:
Hi Alain, I was trying the DemoMode before my talk at ESUG and I thought that it would be better if this guy only changes the size of the fonts. I am not sure if changing the fonts is good.
For example, right now it is using FreeType with DejaVu. Since Pharo1.1 dev doesn't use them, there is no folder "Fonts" with themâ¦..thus they are not found and ugly fonts are rendered.
Yes i already talk with Alain about this problem. One option was to include severals sizes of bitmap DejaVu font. BTW, we fix with Alain a problem of browser switches rendering with the demo font during the Smalltallk Camp here in Barcelona. -- Serge Stinckwich UMI UMMISCO 209 (IRD/UPMC), Hanoi, Vietnam Every DSL ends up being Smalltalk http://doesnotunderstand.org/
Thanks Serge. I talked after with Alain and he explains me everything :) he told me you will integrate new fonts (from cuis) into the image and that will have larger fonts available...then no need to use FreeType :) Please let us know if this gets done. Thanks Mariano On Tue, Sep 14, 2010 at 12:55 PM, Serge Stinckwich < serge.stinckwich@gmail.com> wrote:
2010/9/14 Mariano Martinez Peck <marianopeck@gmail.com>:
Hi Alain, I was trying the DemoMode before my talk at ESUG and I thought that it would be better if this guy only changes the size of the fonts. I am not sure if changing the fonts is good.
For example, right now it is using FreeType with DejaVu. Since Pharo1.1 dev doesn't use them, there is no folder "Fonts" with themâ¦..thus they are not found and ugly fonts are rendered.
Yes i already talk with Alain about this problem. One option was to include severals sizes of bitmap DejaVu font.
BTW, we fix with Alain a problem of browser switches rendering with the demo font during the Smalltallk Camp here in Barcelona.
-- Serge Stinckwich UMI UMMISCO 209 (IRD/UPMC), Hanoi, Vietnam Every DSL ends up being Smalltalk http://doesnotunderstand.org/
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
2010/9/21 Mariano Martinez Peck <marianopeck@gmail.com>:
Thanks Serge. I talked after with Alain and he explains me everything :) he told me you will integrate new fonts (from cuis) into the image and that will have larger fonts available...then no need to use FreeType :)
Hi Mariano, BTW, Alain is more an expert in fonts than me so he will made the changes ;-) I just do the report of the bug. The idea is to integrate the Cuis fonts in several size, so the demo font will not be dependent of the fonts installed on your system. The only problem is that the size of the image will grow accordingly. Regards, -- Serge Stinckwich UMI UMMISCO 209 (IRD/UPMC), Hanoi, Vietnam Every DSL ends up being Smalltalk http://doesnotunderstand.org/
On Tue, Sep 21, 2010 at 12:06 PM, Serge Stinckwich < serge.stinckwich@gmail.com> wrote:
2010/9/21 Mariano Martinez Peck <marianopeck@gmail.com>:
Thanks Serge. I talked after with Alain and he explains me everything :) he told me you will integrate new fonts (from cuis) into the image and that will have larger fonts available...then no need to use FreeType :)
Hi Mariano,
BTW, Alain is more an expert in fonts than me so he will made the changes ;-) I just do the report of the bug. The idea is to integrate the Cuis fonts in several size, so the demo font will not be dependent of the fonts installed on your system. The only problem is that the size of the image will grow accordingly.
How much? Anyway, I don't care too much if it increase. What it is important is to remove them in ScriptLoader >> cleanUpForProduction I guess For example right now, in that method is sending "self removeDejaVuFonts". Maybe we should update (if needed) that method to remove those new fonts. Cheers mariano
Regards, -- Serge Stinckwich UMI UMMISCO 209 (IRD/UPMC), Hanoi, Vietnam Every DSL ends up being Smalltalk http://doesnotunderstand.org/
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
Le 21/09/2010 12:11, Mariano Martinez Peck a écrit :
On Tue, Sep 21, 2010 at 12:06 PM, Serge Stinckwich <serge.stinckwich@gmail.com <mailto:serge.stinckwich@gmail.com>> wrote:
2010/9/21 Mariano Martinez Peck <marianopeck@gmail.com <mailto:marianopeck@gmail.com>>: > Thanks Serge. I talked after with Alain and he explains me everything :) > he told me you will integrate new fonts (from cuis) into the image and that > will have larger fonts available...then no need to use FreeType :)
Hi Mariano,
BTW, Alain is more an expert in fonts than me so he will made the changes ;-)
well, not really an expert ... :)
I just do the report of the bug. The idea is to integrate the Cuis fonts in several size, so the demo font will not be dependent of the fonts installed on your system. The only problem is that the size of the image will grow accordingly.
How much?
We have tried it with Marcus, it grows by 1.2 Mb.
Anyway, I don't care too much if it increase. What it is important is to remove them in ScriptLoader >> cleanUpForProduction I guess For example right now, in that method is sending "self removeDejaVuFonts". Maybe we should update (if needed) that method to remove those new fonts. yes
Alain
Cheers
mariano
Regards, -- Serge Stinckwich UMI UMMISCO 209 (IRD/UPMC), Hanoi, Vietnam Every DSL ends up being Smalltalk http://doesnotunderstand.org/
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr <mailto:Pharo-project@lists.gforge.inria.fr> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
thanks Alain and Juan, CUIS fonts gave a excellent look and feel to Gaucho! I highly recommend using them as the default Pharo font family Fernando pd: what i did is add the following line to the ConfigurationOfGaucho. spec blessing: #baseline; repository: 'http://www.squeaksource.com/gaucho'; package: 'DejaVuBitmapFonts' with:[ spec repository: 'http://www.squeaksource.com/DejaVu'] ; .... On Sep 21, 2010, at 12:19 PM, Alain Plantec wrote:
Le 21/09/2010 12:11, Mariano Martinez Peck a écrit :
On Tue, Sep 21, 2010 at 12:06 PM, Serge Stinckwich <serge.stinckwich@gmail.com <mailto:serge.stinckwich@gmail.com>> wrote:
2010/9/21 Mariano Martinez Peck <marianopeck@gmail.com <mailto:marianopeck@gmail.com>>:
Thanks Serge. I talked after with Alain and he explains me everything :) he told me you will integrate new fonts (from cuis) into the image and that will have larger fonts available...then no need to use FreeType :)
Hi Mariano,
BTW, Alain is more an expert in fonts than me so he will made the changes ;-)
well, not really an expert ... :)
I.........
On 21 Sep 2010, at 13:11, Fernando olivero wrote:
thanks Alain and Juan, CUIS fonts gave a excellent look and feel to Gaucho!
I highly recommend using them as the default Pharo font family
Fernando
pd: what i did is add the following line to the ConfigurationOfGaucho.
spec blessing: #baseline; repository: 'http://www.squeaksource.com/gaucho'; package: 'DejaVuBitmapFonts' with:[ spec repository: 'http://www.squeaksource.com/DejaVu'] ; ....
This package works great (Pharo 1.1, Cog, OSX). Thanks for the pointer. Due to the size issue, I wouldn't include them all by default. Maybe we could make some clever set of MC packages that you can load for each font size that you want ? Or load the spec data from a file/url ? I think most people will only need one or two sizes. The fallback should just be miminal. Sven
On Tue, Sep 21, 2010 at 2:34 PM, Sven Van Caekenberghe <sven@beta9.be>wrote:
On 21 Sep 2010, at 13:11, Fernando olivero wrote:
thanks Alain and Juan, CUIS fonts gave a excellent look and feel to Gaucho!
I highly recommend using them as the default Pharo font family
Fernando
pd: what i did is add the following line to the ConfigurationOfGaucho.
spec blessing: #baseline; repository: 'http://www.squeaksource.com/gaucho'; package: 'DejaVuBitmapFonts' with:[ spec repository: ' http://www.squeaksource.com/DejaVu'] ; ....
This package works great (Pharo 1.1, Cog, OSX). Thanks for the pointer.
Due to the size issue, I wouldn't include them all by default.
Maybe we could make some clever set of MC packages that you can load for each font size that you want ? Or load the spec data from a file/url ?
You have a point here. Maybe we don't need to put all the families and all the size in the core....just the most used ones. Then, in the Dev image we can load all the rest, and the settings to set the Demo Fonts. what do you think alain? Anyway, all these fonts should be removed in #cleanUpForProduction I think. cheers mariano
I think most people will only need one or two sizes. The fallback should just be miminal.
Sven
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
participants (5)
-
Alain Plantec -
Fernando olivero -
Mariano Martinez Peck -
Serge Stinckwich -
Sven Van Caekenberghe