yes but if you uncheck and recheck freetype the embedded fonts are lost -> substition -> substitution failed. -> get a strike font and boum.
Can you confirm? On 28 Mar 2014, at 15:26, Tudor Girba <[email protected]> wrote: > Excellent. > > I confirm the same result in the latest Moose image (which no longer loads > anything related to Athens). > > It works out of the box without any resetting of the fonts (by using the > already installed Source Sans Pro. > > Cheers, > Doru > > > <a WorldMorph(511705088) [wo.png> > > > On Fri, Mar 28, 2014 at 3:15 PM, Igor Stasenko <[email protected]> wrote: > > > > On 28 March 2014 15:01, Tudor Girba <[email protected]> wrote: > I added the code in the mail precisely to leave out any ambiguities :). > > The first part of the snippet (as also listed by Vincent) loads the very > latest development version of Athens configuration. So, yes, I think I loaded > the latest code. > > Doru > > and that code snippet works only if you have FreeSans font in your system.. > which not exists on Mac OS (at least in my installation).. > > i took the latest pharo 3.0 image: > > curl get.pharo.org/30 | bash > % Total % Received % Xferd Average Speed Time Time Time > Current > Dload Upload Total Spent Left Speed > 100 2587 100 2587 0 0 70999 0 --:--:-- --:--:-- --:--:-- 421k > Downloading the latest 30 Image: > http://files.pharo.org/image/30/latest.zip > Pharo.image > 193-51-236-207:pharo sig$ ./pharo-ui Pharo.image > > - went to font settings and updated the font list from system. > > > And then evaluated: > > AthensSceneView new scene: [ :canvas | |s| > canvas setFont: (LogicalFont familyName: 'Arial' pointSize: > 20). > s:= String newFrom: ($A to: $Z),($a to: $z), ($0 to: $9). > > canvas pathTransform restoreAfter: [ > canvas pathTransform translateX: 0 Y: 50. > canvas setPaint: Color black. > canvas drawString:s ] > > ];openInWindow > > And here's what i got: > <Screen Shot 2014-03-28 at 3.11.25 PM.png> > > And the screenshot you given cannot be true, because 20 points font size > should be much larger than 10 point (the font used for label above with > zoom/pan metrics). > > Note, i did not loaded anything into pharo image.. just evaluated the above > snippet.. > on my machine, which is: 10.8.3 mac os > > -- > Best regards, > Igor Stasenko. > > > > -- > www.tudorgirba.com > > "Every thing has its own flow" > _______________________________________________ > Moose-dev mailing list > [email protected] > https://www.iam.unibe.ch/mailman/listinfo/moose-dev
