Re: Issue 437 in moose-technology: Text is not affected by zooming in Mondrian

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

Re: Issue 437 in moose-technology: Text is not affected by zooming in Mondrian

moose-technology

Comment #1 on issue 437 by alexandre.bergel: Text is not affected by  
zooming in Mondrian
http://code.google.com/p/moose-technology/issues/detail?id=437

Situation has been slightly improved, but this is clearly not satisfactory

_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev
Reply | Threaded
Open this post in threaded view
|

Re: Issue 437 in moose-technology: Text is not affected by zooming in Mondrian

moose-technology

Comment #2 on issue 437 by [hidden email]: Text is not affected by  
zooming in Mondrian
http://code.google.com/p/moose-technology/issues/detail?id=437

In different usecases any of these behaviors might be best:
- zoom the text but keep it readable (above a certain point size);
- zoom the text and do not draw if unreadable;
- zoom the text.

_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev
Reply | Threaded
Open this post in threaded view
|

Re: Issue 437 in moose-technology: Text is not affected by zooming in Mondrian

moose-technology

Comment #3 on issue 437 by [hidden email]: Text is not affected by  
zooming in Mondrian
http://code.google.com/p/moose-technology/issues/detail?id=437

Wilhelm K Schwab wrote this on April 9th, 2011

I needed to create "big" text for annotating images and found that only  
certain sizes were available.  That led me to

  http://forum.world.st/additional-font-size-td3206897.html

I ended up adding the following to my code:

        FreeTypeFontProvider current families isEmpty ifTrue:[
                FreeTypeFontProvider current updateFromSystem.
        ].
        aFont := LogicalFont familyName: 'DejaVu Sans Mono' pointSize:100.

It seems to work.  Is there a better way to do it?  Should there be any  
helper methods in LogicalFont to do this type of thing?  A lazy LogicalFont  
class>>loadSystemFonts would be less invasive than setting the preference  
to load fonts on startup, since it could be triggered as needed and cost  
nothing otherwise.

I am thinking of LogicalFont mostly because I learned to look there a long  
time ago, so it is the first place I go for fonts.

Bill


_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev
Reply | Threaded
Open this post in threaded view
|

Re: Issue 437 in moose-technology: Text is not affected by zooming in Mondrian

moose-technology

Comment #4 on issue 437 by [hidden email]: Text is not affected by  
zooming in Mondrian
http://code.google.com/p/moose-technology/issues/detail?id=437

Another email from Alain Plantec: 31 January 2011


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


_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev
Reply | Threaded
Open this post in threaded view
|

Re: Issue 437 in moose-technology: Text is not affected by zooming in Mondrian

moose-technology
Updates:
        Status: WontFix

Comment #5 on issue 437 by [hidden email]: Text is not affected by  
zooming in Mondrian
http://code.google.com/p/moose-technology/issues/detail?id=437

(No comment was entered for this change.)

--
You received this message because this project is configured to send all  
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings
_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev