freetype-devel
[Top][All Lists]
Advanced

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

Re: FT2 Mac support


From: Werner LEMBERG
Subject: Re: FT2 Mac support
Date: Mon, 28 Feb 2000 20:42:05 GMT

> config/mac
> config/mac/FreeTypeLib.prj 
>
> (this is a CodeWarrior Pro 4 project file. It compiles a static lib
> called FreeTypeLib into the top level obj/ directory, which can be
> included by FT clients, such as ftlint and ftview)

I fear this is a binary file, right?  BTW, we will store the files
with Unix line ending conventions for orthogonality...

> I'm using the files ftconfig.h, ftmodule.h, ftoption.h and
> ftsystem.c from the config/ansi directory, but I can't judge whether
> it's neccesary or just preferred to create local copies in the
> config/mac directory. They work as is, and I don't like to create
> even more code duplication.

Please duplicate the code.  IMHO it is better to have all
system-specific files in one subdir.  You can write a small readme
which explains that the files are just copies from the ansi files.

> demo/mac/codewarrior -- the place for CW project files:

Is it possible to shorten this dirname to 8 characters?

> demo/mac/ftlint_mac.c -- wrapper around ftlint's main(), emulating
>                          argc/argv
> demo/mac/ftview_mac.c -- wrapper around ftview's main(), emulating
>                          argc/argv
> demo/mac/macgetargv.c -- support code for emulating argc/argv,
>                          adapted from MacPython 
> demo/mac/macgetargv.h
> demo/mac/ftlint.rsrc -- some supporting resources
> demo/mac/ftview.rsrc -- some supporting resources

Similarly, please try to stay within the 8.3 limit (or at least, 8.x).

Your dir structure looks OK.

> I also have some minor patches to some files in demo/ but I'd first
>  like to know whether the above is ok for inclusion, so I can submit
> everything in one go. Hm, I see there are some file and dir names
> that do not conform to 8.3. Let me know if that's absolutely
> neccesary to fix (I absolutely agree with Chris Herborth (hi fellow
> Pythoneer!) that it seems silly to conform to 8.3 for files that
> will never ever work under DOS.)

Yes, yes, yes, yes.  But :-)

I think that you can drop the `mac' postfix/prefix since you put these
file in a subdir called `mac'.


    Werner


reply via email to

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