Go to most recent revision | Details | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
3918 | Serge | 1 | |
2 | |||
3 | |||
4 | Werner Lemberg and Detlef Würkner. |
||
5 | |||
6 | |||
7 | and distributed under the terms of the FreeType project license, |
||
8 | LICENSE.TXT. By continuing to use, modify, or distribute this file you |
||
9 | indicate that you have read the license and understand and accept it |
||
10 | fully. |
||
11 | |||
12 | |||
13 | |||
14 | "make -f makefile.os4", it produces a link library libft2_ppc.a. |
||
15 | |||
16 | |||
17 | 68k-Amiga producing MorphOS-PPC-binaries from http://www.morphos.de). |
||
18 | To use it, type "make assign", then "make"; it produces a link library |
||
19 | libft2_ppc.a. |
||
20 | |||
21 | |||
22 | latest sold version was 6.50, updates can be found in Aminet). It is |
||
23 | based on the version found in the sourcecode of ttf.library 0.83b for |
||
24 | FreeType 1.3.1 from Richard Griffith (ragriffi@sprynet.com, |
||
25 | http://ragriffi.home.sprynet.com). |
||
26 | |||
27 | |||
28 | Amiga web site (http://www.amiga.com/3.9/download/NDK3.9.lha) for |
||
29 | AmigaOS 3.9; the generated code should work under AmigaOS 2.04 and up. |
||
30 | |||
31 | |||
32 | directory. The results are: |
||
33 | |||
34 | |||
35 | the CPU entry in the smakefile) containing all FreeType2 parts |
||
36 | except of the init code, debugging code, and the system interface |
||
37 | code. |
||
38 | |||
39 | |||
40 | system interface code which uses fopen() fclose() fread() fseek() |
||
41 | ftell() malloc() realloc() and free() from lib:sc.lib (not pure). |
||
42 | |||
43 | |||
44 | system interface code which uses Open() Close() Read() Seek() |
||
45 | ExamineFH() AsmAllocPooled() AsmFreePooled() etc. This version can |
||
46 | be used in both normal programs and in Amiga run-time shared system |
||
47 | librarys (can be linked with lib:libinit.o, no copying of DATA and |
||
48 | BSS hunks for each OpenLibrary() necessary). Source code is in |
||
49 | src/base/ftsystem.c. |
||
50 | |||
51 | |||
52 | debugging code which uses vprintf() and exit() (not pure). |
||
53 | Debugging can be turned on in FT:include/freetype/config/ftoption.h |
||
54 | and with FT_SetTraceLevel(). |
||
55 | |||
56 | |||
57 | debugging code which uses KVPrintf() from lib:debug.lib and no |
||
58 | exit(). For debugging of Amiga run-time shared system libraries. |
||
59 | Source code is in src/base/ftdebug.c. |
||
60 | |||
61 | |||
62 | linking only the needed object modules in it, but standard |
||
63 | ftsystem.o would force ALL FreeType2 modules to be linked to your |
||
64 | program, I decided to use a different scheme: You must #include |
||
65 | FT:src/base/ftinit.c in your sourcecode and specify with #define |
||
66 | statements which modules you need. See |
||
67 | include/freetype/config/ftmodule.h. |
||
68 | |||
69 | |||
70 | |||
71 | |||
72 | |||
73 | include/freetype/config/ftmodule.h in your source code and uncomment |
||
74 | the #define statements for the FreeType2 modules you need. |
||
75 | |||
76 | |||
77 | calling the FreeType2 functions, because the link library and the |
||
78 | object files are compiled with PARAMETERS=BOTH. |
||
79 | |||
80 | |||
81 | |||
82 | |||
83 | |||
84 | |||
85 | with either ftdebug.o or (ftdebugpure.o and lib:debug.lib), and with |
||
86 | ft2_680x0.lib as link library. |
||
87 | |||
88 | |||
89 | |||
90 | |||
91 | |||
92 | identifiers is not enough for FreeType2. Check if your compiler has |
||
93 | a minimum length of 40 significant characters or can be switched to |
||
94 | it. "idlen=40" is the option for SAS/C. Setting #define |
||
95 | HAVE_LIMIT_ON_IDENTS in an include file may also work (not tested). |
||
96 | |||
97 | |||
98 | before the normal FreeType2 include directory, so you are able to |
||
99 | replace problematic include files with your own version (same may be |
||
100 | useful for the src directory). |
||
101 | |||
102 | |||
103 | is include/config/ftconfig.h; it changes a #define that would |
||
104 | prevent SAS/C from generating XDEF's where it should do that and |
||
105 | then includes the standard FreeType2 include file. |
||
106 | |||
107 | |||
108 | coding: latin-1 |
||
109 | End: |
||
110 |