RE: [ft-devel] Freetype on Mac uses deprecated functions

2005-09-05 Thread Turner, David
> >* freetype2/builds/mac/ftlib.prj is for CodeWarrior
> >* freetype2/base/Jamfile is cross platform,
> > but ftmac.c is quoted for MPW
> Not sure here either. I think Jamfiles were used in 
> ProjectBuilder some time ago, that means OS X/gcc -> Mach-O environment.
> 

The Jamfiles located in the FreeType source directories are written
for the standard version of Jam, that handles among lots of other operating
systems, both MacOS and OS X. See http://www.perforce.com/jam/jam.html. 

When used with FT-Jam (a light variant, found at http://www.freetype.org/jam/),
these files can also be used to perform incremental builds correctly, because
FT-Jam knows about #include MACRO_NAME_H schemes and computes header
dependencies automatically.

I know that there is some very _old_ and _modified_ version of Jam
installed with OS X, that is normally being used by ProjectBuilder or
something like that, but I have no idea wether this would work with our
Jamfiles.

I may be possible that the Jamfiles need some small fixes to compile
correctly on MacOS, but nobody had the time to test it until now.
In all cases, it should be very easy to do.

By the way, I'd be interested to know the exact version of Jam that comes
with 10.4. Did they upgrade it ? To know that, simply type "jam -v" or
"jam -?" on the command line.

Regards,

- David Turner
- The FreeType Project  (www.freetype.org)



___
Freetype-devel mailing list
Freetype-devel@nongnu.org
http://lists.nongnu.org/mailman/listinfo/freetype-devel


RE: [ft-devel] Freetype on Mac uses deprecated functions

2005-09-05 Thread Christian Demmer
Turner, David wrote:
>The Jamfiles located in the FreeType source directories are written
>for the standard version of Jam, that handles among lots of other operating
>systems, both MacOS and OS X. See http://www.perforce.com/jam/jam.html. 

Interesting, I didn't know there is Jam for MPW.

>By the way, I'd be interested to know the exact version of Jam that comes
>with 10.4. Did they upgrade it ? To know that, simply type "jam -v" or
>"jam -?" on the command line.

g4c:~ chris$ /Developer/Private/jam -v
Jam/MR  Version 2.2.1.  Copyright 1993, 1997 Christopher Seiwald.
with Apple ProjectBuilder Extensions

Btw. and totally off topic; I never used Jam myself. Do you know of
the top of your head if Jam can handle the situation where a compiler
produces two output files from one source file on which further
compilation depends? This happens with symbol files in Wirth style
languages and make can't handle this.

Greetings, Christian


___
Freetype-devel mailing list
Freetype-devel@nongnu.org
http://lists.nongnu.org/mailman/listinfo/freetype-devel


RE: [ft-devel] Freetype on Mac uses deprecated functions

2005-09-05 Thread Turner, David
> Btw. and totally off topic; I never used Jam myself. Do you know of
> the top of your head if Jam can handle the situation where a compiler
> produces two output files from one source file on which further
> compilation depends? This happens with symbol files in Wirth style
> languages and make can't handle this.
> 

Jam can handles this relatively easily, though this isn't part of its
default rules.

You'll need to provide some specific rules/functions within your Jamfile,
but this requires understanding the Jam control language.

Could you let me know precisely what you're speaking of ? I'd
be tempted of providing a solution if it's not too complex.

Regards,

- David Turner
- The FreeType Project  (www.freetype.org)




___
Freetype-devel mailing list
Freetype-devel@nongnu.org
http://lists.nongnu.org/mailman/listinfo/freetype-devel


RE: [ft-devel] Freetype on Mac uses deprecated functions

2005-09-05 Thread Turner, David
> g4c:~ chris$ /Developer/Private/jam -v
> Jam/MR  Version 2.2.1.  Copyright 1993, 1997 Christopher Seiwald.
> with Apple ProjectBuilder Extensions
> 
U, Jam 2.2.1 when Jam 2.5 is out, is backwards compatible, and
contains tons of fixes and enhancements.

I wonder if they use the default version, or produced a custom one
with different built-in rules though.


Thanks,

- David Turner
- The FreeType Project  (www.freetype.org)


___
Freetype-devel mailing list
Freetype-devel@nongnu.org
http://lists.nongnu.org/mailman/listinfo/freetype-devel


Re: [ft-devel] Freetype on Mac uses deprecated functions

2005-09-05 Thread mpsuzuki
Dear Sirs,

Status for Tiger's API deprecation issue:
My working source is available from GNU arch archive from

URL: http://www.gyve.org/~mpsuzuki/arch-2005.09.03
archive name: [EMAIL PROTECTED]
project: freetype2--mps-macos--0.1

George Williams sent me his patch skelton to replace
FSSpec by FSRef, it's slightly fixed and applied in
the working tree. Now I'm working for replacement of
FontManager by AppleTypeService, used in FT_GetFile_From_Mac_Name().

The function resolves "abstract" fontname recognized by system
to "concrete" file, but the resolved result is returned by
obsolete FSSpec structure. ATS provides the replacements for
the most functions of FontManager, by 1:1 corresponding functions. 
But FontManager does not provide function to return font file
by FSRef structure, and ATS does not either. In fact, there's
no ATS function to find font file for a given font name,
except of ATSFontGetFileSpecification(). I'm afraid it will be
deprecated in future.

However, I've already written sample programs to resolve
font name -> font file by ATS functions and FSRef data.
They are available from GNU arch in above,

project: carbon-sample--mps--0.0

Yet I've not checked other APIs,
I suppose ATS is designed to hide "concrete" font data, and
I should search other API to find "concrete" font data.
Any suggestions?

Regards,
mpsuzuki


___
Freetype-devel mailing list
Freetype-devel@nongnu.org
http://lists.nongnu.org/mailman/listinfo/freetype-devel