Re: [ft] About using FT_Open_Face with std::ifstream

2006-07-31 Thread Werner LEMBERG
I would like to create a face by calling FT_OpenFace with std::istream, but error 2 returns. Here are my codes. [...] Please write a complete, self-contained (small) example file which I can compile for testing. Werner ___ Freetype mailing

[ft] About using FT_Open_Face with std::ifstream

2006-07-27 Thread Patrick Cheung
Dear all, I would like to create a face by calling FT_OpenFace with std::istream, but error 2 returns. Here are my codes. unsigned long stream_load(FT_Stream stream, unsigned long offset, unsigned char* buffer, unsigned long count) { std::ifstream* is =