2006-05-10 15:56:47 +02:00
|
|
|
|
Compiling FreeType 2 with PureC compiler
|
|
|
|
|
========================================
|
|
|
|
|
|
|
|
|
|
[See below for a German version.]
|
|
|
|
|
|
|
|
|
|
To compile FreeType 2 as a library the following changes must be applied:
|
|
|
|
|
|
|
|
|
|
- All *.c files must start with an uppercase letter.
|
|
|
|
|
(In case GEMSCRIPT is available:
|
|
|
|
|
Simply drag the whole FreeType 2 directory to the file `FNames.SIC'.)
|
|
|
|
|
|
|
|
|
|
- You have to change the INCLUDE directory in PureC's compiler options
|
|
|
|
|
to contain both the `INCLUDE' and `freetype2\include' directory.
|
|
|
|
|
Example:
|
|
|
|
|
|
|
|
|
|
INCLUDE;E:\freetype2\include
|
|
|
|
|
|
2021-01-16 15:45:13 +01:00
|
|
|
|
- The file `freetype/include/Ft2build.h' must be patched as follows to
|
2006-05-10 15:56:47 +02:00
|
|
|
|
include ATARI.H:
|
|
|
|
|
|
2016-01-12 21:37:13 +01:00
|
|
|
|
#ifndef FT2_BUILD_GENERIC_H_
|
|
|
|
|
#define FT2_BUILD_GENERIC_H_
|
2006-05-10 15:56:47 +02:00
|
|
|
|
|
|
|
|
|
#include "ATARI.H"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Compilieren von FreeType 2 mit PureC
|
|
|
|
|
====================================
|
|
|
|
|
|
|
|
|
|
Um FreeType 2 als eine Bibliothek (library) zu compilieren, muss folgendes
|
|
|
|
|
ge<EFBFBD>ndert werden:
|
|
|
|
|
|
|
|
|
|
- Alle *.c-files m<>ssen mit einem GROSSBUCHSTABEN beginnen.
|
|
|
|
|
(Falls GEMSCRIPT zur Verf<72>gung steht:
|
|
|
|
|
Den kompletten Ordner freetype2 auf die Datei `FNames.SIC' draggen.)
|
|
|
|
|
|
|
|
|
|
- In den Compiler-Optionen von PureC muss das INCLUDE directory auf INCLUDE
|
|
|
|
|
und freetype2\include verweisen. Z.B.:
|
|
|
|
|
|
|
|
|
|
INCLUDE;E:\freetype2\include
|
|
|
|
|
|
2021-01-16 15:45:13 +01:00
|
|
|
|
- In der Datei freetype/include/Ft2build.h muss zu Beginn
|
2006-05-10 15:56:47 +02:00
|
|
|
|
ein #include "ATARI.H" wie folgt eingef<65>gt werden:
|
|
|
|
|
|
2016-01-12 21:37:13 +01:00
|
|
|
|
#ifndef FT2_BUILD_GENERIC_H_
|
|
|
|
|
#define FT2_BUILD_GENERIC_H_
|
2006-05-10 15:56:47 +02:00
|
|
|
|
|
|
|
|
|
#include "ATARI.H"
|
|
|
|
|
|
|
|
|
|
--- end of README.TXT ---
|