In file interfaces/idirectfbfont_ft2.c and function Probe(),
FT_New_Face() is called with face_index as (-)ve [-1], changing the face_index value to 0 (the 1st face has index 0) allows the otf file to be loaded.
(Probe() is called by CreateFont function)
I want to know if this be the problem? If yes, whether my solution is going to work safely without impacting any functionality related to fonts??
-- Sourath
On 10/17/05, Sourath Roy <[EMAIL PROTECTED]> wrote:
Can we expect a fix(or any workaround) for rendering fonts from otf files this week?
-- SourathOn 10/14/05, Sourath Roy < [EMAIL PROTECTED]> wrote:It would great if you can find something on it.
Thanks for the help!
-- SourathOn 10/14/05, Ville Syrjälä < [EMAIL PROTECTED]> wrote:On Fri, Oct 14, 2005 at 03:20:41PM +0530, Sourath Roy wrote:
> This might read interesting...
> I can render fonts using otf(open type) files with Microwindows and X11.
> I am not sure if they would use FreeType2 support as their backend for font
> rendering, if that be the case then am I missing something here? Does it
> need any additional setup for DirectFB?
I just tried ftview from ft2demos and it can render otf as well. I'll try
to dig a little deeper to find out what's going on...
--
Ville Syrjälä
[EMAIL PROTECTED]
http://www.sci.fi/~syrjala/
_______________________________________________ directfb-users mailing list directfb-users@directfb.org http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-users