[Pharo-project] how to use dejavu bitmap fonts

Benjamin benjamin.vanryseghem.pharo at gmail.com
Wed Feb 2 09:57:24 CET 2011


On Feb 2, 2011, at 1:18 AM, Igor Stasenko wrote:

> On 31 January 2011 22:00, Stéphane Ducasse <stephane.ducasse at inria.fr> wrote:
>> The package should be updated to 1.2.
>> 
>> It should declare fonts probably in one of the classVar of the TextConstant SharedPool.
> 
> Why fonts can't just use a classvar in AbstractFont class , why
> depending on something outside of package?

Legacy and laziness I guess :)


Ben

> 
> 
>> 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."
>>> 
>>> 
>>> 
>>> 
>> 
>> 
>> 
> 
> 
> 
> -- 
> Best regards,
> Igor Stasenko AKA sig.
> 





More information about the Pharo-project mailing list