[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Devel] open file.ttf on macos 9
From: |
Riccardo Cohen |
Subject: |
[Devel] open file.ttf on macos 9 |
Date: |
Wed, 29 Jan 2003 13:59:37 +0000 |
User-agent: |
Mozilla/5.0 (Windows; U; WinNT4.0; en-US; rv:1.0.2) Gecko/20021120 Netscape/7.01 |
Hi,
I just downloaded freetype 2.1.3, and compiled it on macos 9 with codewarrior.
As my code warrior is old (cw10) I had to remove subdirectories in #include <freetype/etc...h>, and
also comment the function FT_GetFile_From_Mac_Name in ftmac.h (I dont have Font Manager library).
But compilation went all right.
When I try to open a file like a MSWindows "arial.ttf" or other *.ttf , here is
what's happening.
- in ftmac.c, FT_New_Face tries to open the font with FT_Open_Face()
- in ftobjs.c, FT_Open_Face tests drivers
if ( ( args->flags & FT_OPEN_DRIVER ) && args->driver )
- this fails of course because FT_New_Face set args with
args.flags=FT_OPEN_PATHNAME
- then begins the loop on registred drivers "for ( ; cur < limit; cur++ )"
- As cur=limit=189360284 (I did a printf), the loop never enters and function
exists with fail error=2
I dont understand why in FT_Open_Face there is no attempt to use args.pathname
given ?
Thanks for any information
--
Riccardo Cohen
Articque
Les Roches
37230 Fondettes
France
email = address@hidden
web = http://www.articque.com
tel: +33 02 47 49 90 49
fax: +33 02 47 49 91 49
- [Devel] pixel size, hinting and scaling, Gustavo J. A. M. , 2003/01/24
- RE: [Devel] pixel size, hinting and scaling, Graham Asher, 2003/01/24
- RE: [Devel] pixel size, hinting and scaling, Gustavo J. A. M. , 2003/01/24
- RE: [Devel] pixel size, hinting and scaling, Graham Asher, 2003/01/24
- Re: [Devel] pixel size, hinting and scaling, Artur ZaprzaĆa, 2003/01/24
- RE: [Devel] pixel size, hinting and scaling, Graham Asher, 2003/01/25
- [Devel] open file.ttf on macos 9,
Riccardo Cohen <=
- RE: [Devel] pixel size, hinting and scaling, Gustavo J. A. M. , 2003/01/27
- RE: [Devel] pixel size, hinting and scaling, Gustavo J. A. M. , 2003/01/27