Re: [ft-devel] A few problems i've found in the latest code from cvs

2009-03-11 Thread Werner LEMBERG
> I applaud Werner's attempt to make the ft2demos code build with > really really old compilers, but I wonder if this is needed :-) VS 2005 is not soo old... Werner ___ Freetype-devel mailing list Freetype-devel@nongnu.org http://lists.nongnu.or

Re: [ft-devel] A few problems i've found in the latest code from cvs

2009-03-11 Thread David Turner
Ah ah, the error is the comma after the last pcursor declaration, it should be a semi-column. I applaud Werner's attempt to make the ft2demos code build with really really old compilers, but I wonder if this is needed :-) 2009/3/11 Oran Agra > Hi, > Regarding the compilation error in ft2demos, i

Re: [ft-devel] CID keyed fonts in sfnt wrappers in 2.3.8

2009-03-11 Thread Werner LEMBERG
I've just applied your patch. Thanks! > Another remark. Since the two new functions are in the CID service, > they will return a non-zero error value if the driver doesn't > support the CID service. This is a bit clumsy if one just wants to > know whether a given font in "internally" CID keyed

Re: [ft-devel] CID keyed fonts in sfnt wrappers in 2.3.8

2009-03-11 Thread Werner LEMBERG
> I've included the diff below. Thanks. Will check them soon. > One technical detail that I have been struggling with: It seems that > the CID API functions (until my change there was only one function in > the API) are not exported when using the Visual project on Windows. Yes, it's missing,

Re: [ft-devel] CID keyed fonts in sfnt wrappers in 2.3.8

2009-03-11 Thread Michael Toftdal
On Wed, Mar 11, 2009 at 7:40 AM, Werner LEMBERG wrote: > >> [...]  Another would be the one that I have ended up implementing by >> adding two methods to the cid service interface (pardon my FT >> vocabular -- I haven't spent more that one or two days in the source >> by now). One method to tell m

Re: [ft-devel] A few problems i've found in the latest code from cvs

2009-03-11 Thread Werner LEMBERG
> Here's the relevant part of common.c, the error happens in the #else > meaning __STDC__ is not defined. The strange thing is that this is > not the first occurrence of that pattern in that file, and I don’t > know why it doesn’t fail on the first one. Ah, my mistake. Should be fixed now in th

RE: [ft-devel] A few problems i've found in the latest code from cvs

2009-03-11 Thread Oran Agra
Hi, Regarding the compilation error in ft2demos, it happens with the latest source from CVS (I've just verified that again). Here's the relevant part of common.c, the error happens in the #else meaning __STDC__ is not defined. The strange thing is that this is not the first occurrence of that pa

[ft-devel] Normalize the font matrix in cffobjs.c

2009-03-11 Thread Ning Dong
Hi, Werner I'm reading the codes of FT2. In cffobjs.c, it said that "Normalize the font matrix so that `matrix->xx' is 1 ...", but the code is { FT_Matrix* matrix = &dict->font_matrix; FT_Vector* offset = &dict->font_offset; FT_ULong* upm= &dict->units_per_em;

Re: [ft-devel] Why my memory is not been freed?

2009-03-11 Thread Mickey Gabel
Jun.Wang wrote: Thanks very much for your kindly and carefully reply. I runs my programe on windows, I modified the FT_Done_FreeType, so I can call it several times to report current memory. With you reply, I know without FT_Done_FreeType there will be some memory not be released. If there an