freetype-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [ft-devel] freetype doesn't load few fonts on mac


From: mpsuzuki
Subject: Re: [ft-devel] freetype doesn't load few fonts on mac
Date: Sun, 30 Aug 2009 03:34:23 +0900

Hi,

In my Mac OS X 10.5.7 running on PowerBook G4, I can load
Arial & Times New Roman bundled to Mac OS X 10.3.

I've uploaded freetype-2.3.8 & 2.3.9 debug binaries for Mac OS X:

http://sourceforge.net/projects/ttf2ttc/files/freetype2-binaries/macosx/freetype-2.3.8_posix.cpz/download
http://sourceforge.net/projects/ttf2ttc/files/freetype2-binaries/macosx/freetype-2.3.8_carbon.cpz/download
http://sourceforge.net/projects/ttf2ttc/files/freetype2-binaries/macosx/freetype-2.3.9_posix.cpz/download
http://sourceforge.net/projects/ttf2ttc/files/freetype2-binaries/macosx/freetype-2.3.9_carbon.cpz/download

Please download a package which look most similar to your
freetype and check if included ftdump can load your font.
If you don't know what is .cpz, check the manual of ditto
command.

Regards,
mpsuzuki


On Sat, 29 Aug 2009 12:15:58 +0530
vishvesh kumar <address@hidden> wrote:

>Hi all,
>    I have been trying to load fonts on my machine from 
>"/Users/vishvesh/Library/Fonts/" using freetype.
>    I  tried loading *Times New Roman* and *Arial* freetype couldn't 
>load it. But it loaded *mangal* and *MS Gothic fonts*. 
>
>This is my code
> 
>    FT_Library library;
>    FT_Face face = 0L;
>    FT_Error error;
>   
>    error = FT_Init_FreeType( &library );
>    error = FT_New_Face(library, "/Users/vishvesh/Library/Fonts/MS 
>Gothic.ttf", 0, &face ); // return 2 for Times New Roman and Arial
>   
>    FT_UInt index;
>    FT_ULong charCode = FT_Get_First_Char(face, &index);
>    while(index != 0)
>    {
>        charCode = FT_Get_Next_Char(face, charCode, &index);
>    }
>
>*There is one similarity though, Times New Roman and Arial didn't have 
>any extension .  mangal and MS Gothic had ttf extension. I tried 
>renaming Arial to Arial.ttf , that didn't help either.*
>
>*My machine configuration : Mac OS X 10.5.7*
>  Model Name:    Mac mini
>  Model Identifier:    Macmini3,1
>  Processor Name:    Intel Core 2 Duo
>  Processor Speed:    2 GHz
>  Number Of Processors:    1
>  Total Number Of Cores:    2
>  L2 Cache:    3 MB
>  Memory:    3 GB
>  Bus Speed:    1.07 GHz
>  Boot ROM Version:    MM31.0081.B00
>  SMC Version (system):    1.35f0
>  Serial Number (system):    YM9122XS19X
>
>
>*Free type version : freetype-2.3.8*
>
>Regards,
>Vishvesh
>
>




reply via email to

[Prev in Thread] Current Thread [Next in Thread]