I'm having trouble implementing the read function passed into FT_Open_Face
through it's `args` flags...
Now, the function is being *called* correctly, because I put a print
statement inside and see it printing out. It even reads some data. But
FT_Open_Face returns 2, and the glyph loading
Hi,
I guess you're afraid that some bugs exist in the stream driver
of the FreeType2. You could load no font? Or, you could load
some fonts, but could not other fonts?
If FT_Open_Face() is already failed, the glyph loading should
not be tried anymore. According to fterrdef.h, error code 2
(from
I'm only trying one font, it's encrypted with OpenSSL which is why I'm
using FT_Open_Face, to stream from SSL's decrypt I/O stream... One specific
thing I don't understand for example is that it seems between each and
every substantial read call, a read call with `count` and `offset` both 0
are
I wanted you to execute ftdump onto some font file, and check
if the library is corrected built and able to parse some font file...
You say that your software using FreeType2 is very complicated
and could not pass arbitrary-chosen font file to your software?
Regards,
mpsuzuki
On 10/04/2013 11:48
yes, i can... i have tested, all plain .ttf files work fine with
FT_New_Face... but now i'm using an encrypted OpenSSL I/O stream so I need
to use FT_Open_Face and supply the read function which also does seeking,
but i'm guessing something's wrong with my seeking
On Thu, Oct 3, 2013 at 10:35
Ahhh,,, excuse me, are you trying to develop your own stream driver,
for OpenSSL encrypted data, then got touble? If so, I'm sorry for
posting irrelevant messages!
Regards,
mpsuzuki
On 10/04/2013 12:51 PM, Ztatik Light wrote:
yes, i can... i have tested, all plain .ttf files work fine with
I'm having trouble implementing the read function passed into FT_Open_Face
through it's `args` flags...
Now, the function is being *called* correctly, because I put a print
statement inside and see it printing out. It even reads some data. But
FT_Open_Face returns 2, and the glyph loading