> Hi Igor, > > The only reason we were thinking of the bitmap font support was that there > was no ready-made vm to get people to use the new canvas. > > But, if you are getting the vms ready ... this is fantastic. I would say that > as soon as they are ready Moose will likely move to Athens.
Yes Igor is working on the three platforms. Igor is fixing the windows one currently and he is near the end. We are going to release vm with NativeBoost, Freetype, SSL support on all platforms. Stef > Cheers, > Doru > > > > On Fri, Oct 12, 2012 at 2:42 PM, Igor Stasenko <[email protected]> wrote: > On 12 October 2012 13:41, Tudor Girba <[email protected]> wrote: > > Hi, > > > > Athens would indeed be great. And I am happy that this investment has high > > priority in the team. But, I think for the usages that I see, we would need > > font support. Is there any progress on this front? > > > > Font support is there. I currently working on Morphic rendering (see > screenshot) and getting VMs for all 3 platforms Athens-ready. > > As i said previously, don't expect Athens to support raster fonts. It > doesn't makes any sense. > With athens, you can always render number of glyphs into bitmaps and > draw them as bitmaps later, if you want it, > but i wouldn't call it 'font support', it is bitmap support. :) > > For Cairo backend i did integration with freetype (which already in > pharo as you know), which means that you can > render any scalable fonts. > > And if you may know, freetype package supports embedded fonts (i.e. > font data loaded from memory), > which means you don't even need to have a separate font file along the > image, you can keep font in image itself. > As for amount of memory, needed to hold truetype font in image: > we did a small experiment with Camillo few days ago , we took single > font (Deja Vu sans mono), > and edited it to have only ascii character set (0..127). The resulting > font file size is just 30Kb! > > Now compare it with following: > > (StrikeFont allInstances collect: [:each | each glyphs bits sizeInMemory ]) > sum > 1504444 > > 1.5 Mb of bitmap data for only single raster font with couple fixed sizes. > > For same size, you could have 1500/30 = 50 various vector fonts (if > only ascii character range of course). > > > > Cheers, > > Doru > > > > > > -- > Best regards, > Igor Stasenko. > > > > -- > www.tudorgirba.com > > "Every thing has its own flow" >
