From: Jonathan D. <jon...@gm...> - 2008-09-25 14:36:08
|
I also reached that stage a while back. Unfortunately, it seems as though the best method is caching the glyphs. Wpf and windows do that, and I would assume freetype and the linux libraries do that as well. Although... When it comes to fitting and hinting I don't think cached glyphs could be used as-is. Hmmm. Sounds like fun, maybe I will have a crack at it. The benefits of machine execution probably outweigh the benefits of caching by a lot, especially when it comes to memory usage. Tweaking existing paths is also probably expensive. You could generate the ttf assembly when the ttf is 'installed', and be over with ttf monstrosities (those guys belong in a zoo where we can feed them true type bananas). Different font codecs (opentype, bitmap FONs, etc) would simply take an input stream and provide an assembly that implements well known interfaces. Thanks for iterating that thought process again Sander! Ttf is fun once again! -----Original Message----- From: Sander van Rossen <s.v...@sy...> Sent: 25 September 2008 09:16 AM To: sha...@li... Subject: Re: [SharpOS Developers] Freetype You know, i think eventually we should translate truetype directly to msil (and JIT compile it when we're able to).. should be good performance wise ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ SharpOS-Developers mailing list Sha...@li... https://lists.sourceforge.net/lists/listinfo/sharpos-developers |