[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[ft-devel] Z/OS status
From: |
Tom Quarendon |
Subject: |
[ft-devel] Z/OS status |
Date: |
Tue, 03 Oct 2006 16:58:12 +0100 |
User-agent: |
Thunderbird 1.5.0.7 (Windows/20060909) |
What's the status of FreeType on z/os?
There are a number of previous posts that indicate that it should work,
but I'm having trouble loading a truetype font.
I'm trying to load the Bitstream Vera.ttf TrueType font, which I've
copied in binary to my z/os machine. I've got the FT_DEBUG_LEVEL_ERROR
and FT_DEBUG_LEVEL_TRACE options turned on in my freetype build, but
when I run a small program like
#include <ft2build.h>
#include FT_FREETYPE_H
int main(int argc, const char* argv[]) {
FT_Library library;
FT_Init_FreeType( &library );
FT_Face face;
FT_Error error = FT_New_Face(library, "/u/wpcuk02/fonts/Vera.ttf", 0,
&face);
printf("FT_New_Face returned %d\n", error);
}
I get
FT_Stream_Open: could not open `/u/wpcuk02/fonts/._Vera.ttf'
FT_Stream_Open: could not open `/u/wpcuk02/fonts/%Vera.ttf'
FT_Stream_Open: could not open `/u/wpcuk02/fonts/.AppleDouble/Vera.ttf'
FT_Stream_Open: could not open `/u/wpcuk02/fonts/Vera.ttf/rsrc'
FT_Stream_Open: could not open `/u/wpcuk02/fonts/resource.frk/Vera.ttf'
FT_Stream_Open: could not open `/u/wpcuk02/fonts/.resource/Vera.ttf'
FT_New_Face returned 2
It is possible that I've not built freetype right, because I've made
some Makefiles to build it that fit in with our build system, but I've
managed on the PC and it all works wonderfully.
Any ideas what might be wrong, or how I can get further with this?
- [ft-devel] Z/OS status,
Tom Quarendon <=
Re: [ft-devel] Z/OS status, Werner LEMBERG, 2006/10/03