[ft-devel] Problem with Postscript Hint

2011-05-03 Thread PILLET Céline
Hello guys, I have a problem with hints of PostScript fonts. I create 2 consecutives bitmap with a postscript font, with a multithread program, and rendering differs slightly. I don’t have this problem when I create bitmap without “hints”. I don’t have this problem when I create bitmap with

Re: [ft-devel] Use tt_face_get_name() in sfnt_get_ps_name()?

2011-05-03 Thread Werner LEMBERG
If these difference is not so important, I propose to change sfnt_get_ps_name() to thin wrapper of tt_face_get_name(). Looks good. If you don't notice adverse effects please commit. Werner ___ Freetype-devel mailing list

Re: [ft-devel] Problem with Postscript Hint

2011-05-03 Thread John Tytgat
On 5/3/2011 9:52 AM, PILLET Céline wrote: I have a problem with hints of PostScript fonts. I create 2 consecutives bitmap with a postscript font, with a multithread program, and rendering differs slightly. I don’t have this problem when I create bitmap without “hints”. I don’t have this

Re: [ft-devel] Problem with Postscript Hint

2011-05-03 Thread PILLET Céline
Hi John, Thanks a lot for your answer. I find the random generator, but it can’t explain what I’m experiencing. Celine. De : freetype-devel-bounces+celine.pillet=tagginfo@nongnu.org [mailto:freetype-devel-bounces+celine.pillet=tagginfo@nongnu.org] De la part de John Tytgat Envoyé :

Re: [ft-devel] Problem with Postscript Hint

2011-05-03 Thread Werner LEMBERG
I find the random generator, but it can’t explain what I’m experiencing. Have you read this comment in the description of FT_Library For multi-threading applications each thread should have its own FT_Library object. and are you following the advice? Werner

Re: [ft-devel] Problem with Postscript Hint

2011-05-03 Thread Werner LEMBERG
Question for the FT developers : why was this seed calculation implemented this way ? And not e.g. a fixed start value associated with each FT_Face created ? That would make FT output reproducable (and testable for detecting regressions). I have no idea. :-) Patches are welcome. Up to now