Hi Matt, Are you interested in rendering text in general, or FreeType in particular?
Nowadays, the Factor UI uses platform-specific text APIs to render text. The ui.text vocabulary defines the cross-platform layer. Take a look at the documentation for details: "ui.text" about If you specifically need to call into FreeType for whatever reason, then the binding should work, but as you've observed there are no usages of it in the source tree and its rather low-level. In most cases, ui.text should do what you need. Slava On Sun, Feb 14, 2010 at 2:11 PM, Matt Gushee <[email protected]> wrote: > Hello-- > > I am looking for examples of how to use the freetype vocabulary, but I > can't seem to find anything relevant. In fact, I grepped the entire > Factor source tree for 'FT_Init_FreeType', but didn't find it anywhere > except for its definition in freetype.factor. I also grepped for 'face' > in a couple of likely locations (ui and opengl subtrees) but didn't find > that string used anywhere in reference to fonts, so I am very puzzled. > Can anyone suggest documents or code examples that I can look at? > > It should be noted that I don't yet have a good understanding of how in > general to use C libraries in Factor, so if you think I need to develop > that background before messing with Freetype, feel free to suggest > materials that will help with that. > > Thanks. > -- > Matt Gushee > [email protected] > > ------------------------------------------------------------------------------ > SOLARIS 10 is the OS for Data Centers - provides features such as DTrace, > Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW > http://p.sf.net/sfu/solaris-dev2dev > _______________________________________________ > Factor-talk mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/factor-talk > ------------------------------------------------------------------------------ SOLARIS 10 is the OS for Data Centers - provides features such as DTrace, Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW http://p.sf.net/sfu/solaris-dev2dev _______________________________________________ Factor-talk mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/factor-talk
