> > Without a detailed look into the sources I think this is a correct
> > assumption.  Do you expect something different?
> 
> I was unsure, my tests with the various ft tools in the command
> lines show it NULL. I tried to be sure that it was always the case
> when the family name is not defined or something wrong happened. The
> docs did not explicitally say it :).

To which section in the documentation are you referring to?  Maybe it
should be improved.

> I also took a look in other projects, there is a lot of projects out
> there using family_name without previous checks, maybe it is worth a
> little note in the doc?

Patches are highly welcomed.

> A last question, is there a better (cleaner) way to access this
> property?

You simply check the fields of the FT_Face structure.  Isn't that
simple enough?

> The fix:
> http://cvs.php.net/viewvc.cgi/php-src/ext/gd/libgd/gdft.c?r1=1.45&r2=1.46

This looks good, however, `encoding' is just an enumeration, not a
pointer.


    Werner


_______________________________________________
Freetype-devel mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/freetype-devel

Reply via email to