Le 31/01/2011 22:27, Tudor Girba a écrit :
I took a look, but I do not know what to do :(. Can anyone else provide some 
more specific directions?
Hi Doru,
I've take a look and I think I've fixed it.
Unfortunately the network is much too slow here for this BIG package.
You can simply fix it by yourself locally (before it is uploaded on squeaksource).
Just edit DejaVuHolder class >> #installSizes:
and set it to:

installSizes: aListOfInteger
    "self installSizes: #(7 8 9 10 11 12 13 14 24)"
    TextConstants TextSharedInformation
        at: self fontName
put: (TextStyle fontArray: (self loadFromStructuresList: (self fontStructureNamesForSizes: aListOfInteger))).
    StrikeFont useUnderscoreIfOver1bpp.

I've tried it very quickly, hope it is enough...

Cheers
Alain


Cheers,
Doru


On 31 Jan 2011, at 22:00, Stéphane Ducasse wrote:

The package should be updated to 1.2.

It should declare fonts probably in one of the classVar of the TextConstant 
SharedPool.
Probably
        TextSharedInformation have a look.

In 1.2 we cleaned the last global poolvar = textConstant which was used as a 
pool but also as a repository to plug anything inside
instead of specific classVariable in adequate classes. It was a good plate of 
spaghettis code.

I know that benjamin wants to take some times to do another pass and move the 
left over to the class they belongs to but it will
take some time.

Stef

On Jan 31, 2011, at 9:52 PM, Tudor Girba wrote:

Hi,

I am trying to use the DejaVuBitmapFonts, but I do not know how to install 
them. I tried the following:

Gofer it
        squeaksource: 'DejaVu';
        package: 'DejaVuBitmapFonts';
        load.

DejaVuHolder installFull.

However, this creates a problem in using TextConstants. Can anyone help?

Cheers,
Doru


--
www.tudorgirba.com

"One cannot do more than one can do."





--
www.tudorgirba.com

"In a world where everything is moving ever faster,
one might have better chances to win by moving slower."







Reply via email to