Permalink
Browse files

initial commit

  • Loading branch information...
0 parents commit 1cd22faeeabb38a2be45c5f498c8a3fe6c9212ed @cdave1 cdave1 committed Aug 16, 2011
Showing with 112,346 additions and 0 deletions.
  1. +30 −0 .gitignore
  2. +43 −0 Android/jni/Android.mk
  3. +103 −0 Android/jni/Android.mk_backup
  4. +2 −0 Android/jni/Application.mk
  5. +6 −0 Android/jni/module.mk
  6. +169 −0 FTL.txt
  7. +23 −0 README.md
  8. +528 −0 include/freetype/config/ftconfig.h
  9. +780 −0 include/freetype/config/ftheader.h
  10. +32 −0 include/freetype/config/ftmodule.h
  11. +733 −0 include/freetype/config/ftoption.h
  12. +173 −0 include/freetype/config/ftstdlib.h
  13. +3,919 −0 include/freetype/freetype.h
  14. +179 −0 include/freetype/ftadvanc.h
  15. +94 −0 include/freetype/ftbbox.h
  16. +209 −0 include/freetype/ftbdf.h
  17. +227 −0 include/freetype/ftbitmap.h
  18. +1,140 −0 include/freetype/ftcache.h
  19. +103 −0 include/freetype/ftchapters.h
  20. +166 −0 include/freetype/ftcid.h
  21. +244 −0 include/freetype/fterrdef.h
  22. +206 −0 include/freetype/fterrors.h
  23. +120 −0 include/freetype/ftgasp.h
  24. +613 −0 include/freetype/ftglyph.h
  25. +358 −0 include/freetype/ftgxval.h
  26. +102 −0 include/freetype/ftgzip.h
  27. +1,313 −0 include/freetype/ftimage.h
  28. +353 −0 include/freetype/ftincrem.h
  29. +213 −0 include/freetype/ftlcdfil.h
  30. +277 −0 include/freetype/ftlist.h
  31. +99 −0 include/freetype/ftlzw.h
  32. +274 −0 include/freetype/ftmac.h
  33. +378 −0 include/freetype/ftmm.h
  34. +483 −0 include/freetype/ftmodapi.h
  35. +155 −0 include/freetype/ftmoderr.h
  36. +203 −0 include/freetype/ftotval.h
  37. +537 −0 include/freetype/ftoutln.h
  38. +172 −0 include/freetype/ftpfr.h
  39. +230 −0 include/freetype/ftrender.h
  40. +159 −0 include/freetype/ftsizes.h
  41. +200 −0 include/freetype/ftsnames.h
  42. +716 −0 include/freetype/ftstroke.h
  43. +80 −0 include/freetype/ftsynth.h
  44. +347 −0 include/freetype/ftsystem.h
  45. +350 −0 include/freetype/fttrigon.h
  46. +588 −0 include/freetype/fttypes.h
  47. +274 −0 include/freetype/ftwinfnt.h
  48. +83 −0 include/freetype/ftxf86.h
  49. +231 −0 include/freetype/internal/autohint.h
  50. +179 −0 include/freetype/internal/ftcalc.h
  51. +250 −0 include/freetype/internal/ftdebug.h
  52. +422 −0 include/freetype/internal/ftdriver.h
  53. +168 −0 include/freetype/internal/ftgloadr.h
  54. +380 −0 include/freetype/internal/ftmemory.h
  55. +1,428 −0 include/freetype/internal/ftobjs.h
  56. +67 −0 include/freetype/internal/ftpic.h
  57. +196 −0 include/freetype/internal/ftrfork.h
  58. +620 −0 include/freetype/internal/ftserv.h
  59. +539 −0 include/freetype/internal/ftstream.h
  60. +139 −0 include/freetype/internal/fttrace.h
  61. +150 −0 include/freetype/internal/ftvalid.h
  62. +51 −0 include/freetype/internal/internal.h
  63. +56 −0 include/freetype/internal/pcftypes.h
  64. +873 −0 include/freetype/internal/psaux.h
  65. +712 −0 include/freetype/internal/pshints.h
  66. +77 −0 include/freetype/internal/services/svbdf.h
  67. +83 −0 include/freetype/internal/services/svcid.h
  68. +82 −0 include/freetype/internal/services/svgldict.h
  69. +72 −0 include/freetype/internal/services/svgxval.h
  70. +51 −0 include/freetype/internal/services/svkern.h
  71. +104 −0 include/freetype/internal/services/svmm.h
  72. +55 −0 include/freetype/internal/services/svotval.h
  73. +66 −0 include/freetype/internal/services/svpfr.h
  74. +79 −0 include/freetype/internal/services/svpostnm.h
  75. +164 −0 include/freetype/internal/services/svpscmap.h
  76. +92 −0 include/freetype/internal/services/svpsinfo.h
  77. +102 −0 include/freetype/internal/services/svsfnt.h
  78. +106 −0 include/freetype/internal/services/svttcmap.h
  79. +53 −0 include/freetype/internal/services/svtteng.h
  80. +67 −0 include/freetype/internal/services/svttglyf.h
  81. +50 −0 include/freetype/internal/services/svwinfnt.h
  82. +55 −0 include/freetype/internal/services/svxf86nm.h
  83. +897 −0 include/freetype/internal/sfnt.h
  84. +270 −0 include/freetype/internal/t1types.h
  85. +1,543 −0 include/freetype/internal/tttypes.h
  86. +504 −0 include/freetype/t1tables.h
  87. +1,247 −0 include/freetype/ttnameid.h
  88. +759 −0 include/freetype/tttables.h
  89. +107 −0 include/freetype/tttags.h
  90. +59 −0 include/freetype/ttunpat.h
  91. +39 −0 include/ft2build.h
  92. +39 −0 src/autofit/Jamfile
  93. +292 −0 src/autofit/afangles.c
  94. +7 −0 src/autofit/afangles.h
  95. +1,512 −0 src/autofit/afcjk.c
  96. +57 −0 src/autofit/afcjk.h
  97. +60 −0 src/autofit/afdummy.c
  98. +42 −0 src/autofit/afdummy.h
  99. +40 −0 src/autofit/aferrors.h
  100. +323 −0 src/autofit/afglobal.c
  101. +71 −0 src/autofit/afglobal.h
  102. +1,142 −0 src/autofit/afhints.c
  103. +332 −0 src/autofit/afhints.h
  104. +130 −0 src/autofit/afindic.c
  105. +40 −0 src/autofit/afindic.h
  106. +2,224 −0 src/autofit/aflatin.c
  107. +212 −0 src/autofit/aflatin.h
  108. +2,345 −0 src/autofit/aflatin2.c
  109. +39 −0 src/autofit/aflatin2.h
  110. +539 −0 src/autofit/afloader.c
  111. +73 −0 src/autofit/afloader.h
  112. +94 −0 src/autofit/afmodule.c
  113. +37 −0 src/autofit/afmodule.h
  114. +94 −0 src/autofit/afpic.c
  115. +64 −0 src/autofit/afpic.h
  116. +403 −0 src/autofit/aftypes.h
  117. +338 −0 src/autofit/afwarp.c
  118. +64 −0 src/autofit/afwarp.h
  119. +41 −0 src/autofit/autofit.c
  120. +23 −0 src/autofit/module.mk
  121. +78 −0 src/autofit/rules.mk
  122. +83 −0 src/base/basepic.c
  123. +62 −0 src/base/basepic.h
  124. +163 −0 src/base/ftadvanc.c
  125. +121 −0 src/base/ftapi.c
  126. +41 −0 src/base/ftbase.c
  127. +68 −0 src/base/ftbase.h
  128. +662 −0 src/base/ftbbox.c
  129. +663 −0 src/base/ftbitmap.c
  130. +957 −0 src/base/ftcalc.c
  131. +997 −0 src/base/ftdbgmem.c
  132. +246 −0 src/base/ftdebug.c
  133. +401 −0 src/base/ftgloadr.c
  134. +627 −0 src/base/ftglyph.c
  135. +253 −0 src/base/ftinit.c
  136. +4,664 −0 src/base/ftobjs.c
  137. +1,129 −0 src/base/ftoutln.c
  138. +54 −0 src/base/ftpic.c
  139. +871 −0 src/base/ftrfork.c
  140. +94 −0 src/base/ftsnames.c
  141. +864 −0 src/base/ftstream.c
  142. +2,039 −0 src/base/ftstroke.c
  143. +160 −0 src/base/ftsynth.c
  144. +318 −0 src/base/ftsystem.c
  145. +546 −0 src/base/fttrigon.c
  146. +501 −0 src/base/ftutil.c
  147. +29 −0 src/cff/Jamfile
  148. +30 −0 src/cff/cff.c
  149. +208 −0 src/cff/cffcmap.c
  150. +67 −0 src/cff/cffcmap.h
  151. +671 −0 src/cff/cffdrivr.c
  152. +38 −0 src/cff/cffdrivr.h
  153. +41 −0 src/cff/cfferrs.h
  154. +2,972 −0 src/cff/cffgload.c
  155. +201 −0 src/cff/cffgload.h
  156. +1,661 −0 src/cff/cffload.c
  157. +83 −0 src/cff/cffload.h
  158. +1,008 −0 src/cff/cffobjs.c
  159. +181 −0 src/cff/cffobjs.h
  160. +924 −0 src/cff/cffparse.c
  161. +102 −0 src/cff/cffparse.h
  162. +101 −0 src/cff/cffpic.c
  163. +80 −0 src/cff/cffpic.h
  164. +97 −0 src/cff/cfftoken.h
  165. +281 −0 src/cff/cfftypes.h
  166. +23 −0 src/cff/module.mk
  167. +72 −0 src/cff/rules.mk
  168. +29 −0 src/pshinter/Jamfile
  169. +23 −0 src/pshinter/module.mk
  170. +2,306 −0 src/pshinter/pshalgo.c
  171. +255 −0 src/pshinter/pshalgo.h
  172. +750 −0 src/pshinter/pshglob.c
  173. +196 −0 src/pshinter/pshglob.h
  174. +29 −0 src/pshinter/pshinter.c
  175. +118 −0 src/pshinter/pshmod.c
  176. +39 −0 src/pshinter/pshmod.h
  177. +40 −0 src/pshinter/pshnterr.h
  178. +69 −0 src/pshinter/pshpic.c
  179. +53 −0 src/pshinter/pshpic.h
  180. +1,224 −0 src/pshinter/pshrec.c
  181. +176 −0 src/pshinter/pshrec.h
  182. +72 −0 src/pshinter/rules.mk
  183. +29 −0 src/psnames/Jamfile
  184. +23 −0 src/psnames/module.mk
  185. +597 −0 src/psnames/psmodule.c
  186. +38 −0 src/psnames/psmodule.h
  187. +41 −0 src/psnames/psnamerr.h
  188. +26 −0 src/psnames/psnames.c
  189. +79 −0 src/psnames/pspic.c
  190. +54 −0 src/psnames/pspic.h
  191. +4,095 −0 src/psnames/pstables.h
  192. +70 −0 src/psnames/rules.mk
  193. +29 −0 src/raster/Jamfile
  194. +121 −0 src/raster/ftmisc.h
  195. +3,563 −0 src/raster/ftraster.c
  196. +46 −0 src/raster/ftraster.h
  197. +291 −0 src/raster/ftrend1.c
  198. +44 −0 src/raster/ftrend1.h
  199. +23 −0 src/raster/module.mk
  200. +27 −0 src/raster/raster.c
  201. +41 −0 src/raster/rasterrs.h
  202. +90 −0 src/raster/rastpic.c
  203. +50 −0 src/raster/rastpic.h
  204. +69 −0 src/raster/rules.mk
  205. +29 −0 src/sfnt/Jamfile
  206. +23 −0 src/sfnt/module.mk
  207. +79 −0 src/sfnt/rules.mk
  208. +651 −0 src/sfnt/sfdriver.c
  209. +38 −0 src/sfnt/sfdriver.h
  210. +41 −0 src/sfnt/sferrors.h
  211. +42 −0 src/sfnt/sfnt.c
  212. +102 −0 src/sfnt/sfntpic.c
  213. +88 −0 src/sfnt/sfntpic.h
  214. +1,147 −0 src/sfnt/sfobjs.c
  215. +54 −0 src/sfnt/sfobjs.h
  216. +250 −0 src/sfnt/ttbdf.c
  217. +46 −0 src/sfnt/ttbdf.h
  218. +3,512 −0 src/sfnt/ttcmap.c
  219. +125 −0 src/sfnt/ttcmap.h
  220. +55 −0 src/sfnt/ttcmapc.h
  221. +306 −0 src/sfnt/ttkern.c
  222. +52 −0 src/sfnt/ttkern.h
  223. +1,267 −0 src/sfnt/ttload.c
  224. +112 −0 src/sfnt/ttload.h
  225. +468 −0 src/sfnt/ttmtx.c
  226. +55 −0 src/sfnt/ttmtx.h
  227. +563 −0 src/sfnt/ttpost.c
  228. +46 −0 src/sfnt/ttpost.h
  229. +1,508 −0 src/sfnt/ttsbit.c
  230. +79 −0 src/sfnt/ttsbit.h
  231. +1,011 −0 src/sfnt/ttsbit0.c
  232. +29 −0 src/smooth/Jamfile
  233. +2,062 −0 src/smooth/ftgrays.c
  234. +58 −0 src/smooth/ftgrays.h
  235. +41 −0 src/smooth/ftsmerrs.h
  236. +499 −0 src/smooth/ftsmooth.c
  237. +49 −0 src/smooth/ftsmooth.h
  238. +98 −0 src/smooth/ftspic.c
  239. +50 −0 src/smooth/ftspic.h
  240. +27 −0 src/smooth/module.mk
  241. +69 −0 src/smooth/rules.mk
  242. +27 −0 src/smooth/smooth.c
  243. +29 −0 src/truetype/Jamfile
  244. +23 −0 src/truetype/module.mk
  245. +72 −0 src/truetype/rules.mk
  246. +37 −0 src/truetype/truetype.c
  247. +487 −0 src/truetype/ttdriver.c
  248. +38 −0 src/truetype/ttdriver.h
  249. +40 −0 src/truetype/tterrors.h
  250. +2,147 −0 src/truetype/ttgload.c
  251. +63 −0 src/truetype/ttgload.h
  252. +1,548 −0 src/truetype/ttgxvar.c
  253. +182 −0 src/truetype/ttgxvar.h
  254. +8,160 −0 src/truetype/ttinterp.c
  255. +319 −0 src/truetype/ttinterp.h
  256. +1,135 −0 src/truetype/ttobjs.c
  257. +431 −0 src/truetype/ttobjs.h
  258. +81 −0 src/truetype/ttpic.c
  259. +59 −0 src/truetype/ttpic.h
  260. +598 −0 src/truetype/ttpload.c
  261. +75 −0 src/truetype/ttpload.h
@@ -0,0 +1,30 @@
+*~
+# built application files
+*.apk
+*.ap_
+
+# files for the dex VM
+*.dex
+
+# Java class files
+*.class
+
+# generated files
+bin/
+gen/
+obj/
+
+# Local configuration file (sdk path, etc)
+local.properties
+# Compiled Object files
+*.slo
+*.lo
+*.o
+
+# Compiled Dynamic libraries
+*.so
+
+# Compiled Static libraries
+*.lai
+*.la
+*.a
@@ -0,0 +1,43 @@
+LOCAL_PATH := $(call my-dir)
+
+include $(CLEAR_VARS)
+
+FREETYPE_SRC_PATH := ../../
+
+LOCAL_MODULE := freetype2-static
+
+LOCAL_CFLAGS := -DANDROID_NDK \
+ -DFT2_BUILD_LIBRARY=1
+
+LOCAL_C_INCLUDES := $(LOCAL_PATH)/include_all \
+ $(FREETYPE_SRC_PATH)include \
+ $(FREETYPE_SRC_PATH)src
+
+LOCAL_SRC_FILES := \
+ $(FREETYPE_SRC_PATH)src/autofit/autofit.c \
+ $(FREETYPE_SRC_PATH)src/base/basepic.c \
+ $(FREETYPE_SRC_PATH)src/base/ftapi.c \
+ $(FREETYPE_SRC_PATH)src/base/ftbase.c \
+ $(FREETYPE_SRC_PATH)src/base/ftbbox.c \
+ $(FREETYPE_SRC_PATH)src/base/ftbitmap.c \
+ $(FREETYPE_SRC_PATH)src/base/ftdbgmem.c \
+ $(FREETYPE_SRC_PATH)src/base/ftdebug.c \
+ $(FREETYPE_SRC_PATH)src/base/ftglyph.c \
+ $(FREETYPE_SRC_PATH)src/base/ftinit.c \
+ $(FREETYPE_SRC_PATH)src/base/ftpic.c \
+ $(FREETYPE_SRC_PATH)src/base/ftstroke.c \
+ $(FREETYPE_SRC_PATH)src/base/ftsynth.c \
+ $(FREETYPE_SRC_PATH)src/base/ftsystem.c \
+ $(FREETYPE_SRC_PATH)src/cff/cff.c \
+ $(FREETYPE_SRC_PATH)src/pshinter/pshinter.c \
+ $(FREETYPE_SRC_PATH)src/psnames/psnames.c \
+ $(FREETYPE_SRC_PATH)src/raster/raster.c \
+ $(FREETYPE_SRC_PATH)src/sfnt/sfnt.c \
+ $(FREETYPE_SRC_PATH)src/smooth/smooth.c \
+ $(FREETYPE_SRC_PATH)src/truetype/truetype.c
+
+#LOCAL_CFLAGS := -Wall -pedantic -std=c99 -g
+LOCAL_LDLIBS := -ldl -llog
+
+include $(BUILD_STATIC_LIBRARY)
+
@@ -0,0 +1,103 @@
+LOCAL_PATH := $(call my-dir)
+
+NDK_PROJECT_PATH := /home/david/Projects/freetype2-android
+
+include $(CLEAR_VARS)
+
+LOCAL_MODULE := freetype2
+
+LOCAL_CFLAGS := -DANDROID_NDK \
+ -DFT2_BUILD_LIBRARY=1 \
+ -DDARWIN_NO_CARBON
+
+LOCAL_C_INCLUDES := $(LOCAL_PATH)/include_all \
+ ../include \
+ ../src
+
+LOCAL_SRC_FILES := \
+ ../src/autofit/afangles.c \
+ ../src/autofit/afcjk.c \
+ ../src/autofit/afdummy.c \
+ ../src/autofit/afglobal.c \
+ ../src/autofit/afhints.c \
+ ../src/autofit/afindic.c \
+ ../src/autofit/aflatin.c \
+ ../src/autofit/aflatin2.c \
+ ../src/autofit/afloader.c \
+ ../src/autofit/afmodule.c \
+ ../src/autofit/afpic.c \
+ ../src/autofit/afwarp.c \
+ ../src/autofit/autofit.c \
+ ../src/basepic.c \
+ ../src/base/ftadvanc.c \
+ ../src/base/ftapi.c \
+ ../src/base/ftbase.c \
+ ../src/base/ftbbox.c \
+ ../src/base/ftbitmap.c \
+ ../src/base/ftcalc.c \
+ ../src/base/ftdbgmem.c \
+ ../src/base/ftdebug.c \
+ ../src/base/ftgloadr.c \
+ ../src/base/ftglyph.c \
+ ../src/base/ftinit.c \
+ ../src/base/ftobjs.c \
+ ../src/base/ftoutln.c \
+ ../src/base/ftpic.c \
+ ../src/base/ftrfork.c \
+ ../src/base/ftsnames.c \
+ ../src/base/ftstream.c \
+ ../src/base/ftstroke.c \
+ ../src/base/ftsynth.c \
+ ../src/base/ftsystem.c \
+ ../src/base/fttrigon.c \
+ ../src/base/ftutil.c \
+ ../src/cff/cff.c \
+ ../src/cff/cffcmap.c \
+ ../src/cff/cffdrivr.c \
+ ../src/cff/cffgload.c \
+ ../src/cff/cffload.c \
+ ../src/cff/cffobjs.c \
+ ../src/cff/cffparse.c \
+ ../src/cff/cffpic.c \
+ ../src/pshinter/pshalgo.c \
+ ../src/pshinter/pshglob.c \
+ ../src/pshinter/pshinter.c \
+ ../src/pshinter/pshmod.c \
+ ../src/pshinter/pshpic.c \
+ ../src/pshinter/pshrec.c \
+ ../src/psnames/psmodule.c \
+ ../src/psnames/psnames.c \
+ ../src/psnames/pspic.c \
+ ../src/raster/ftraster.c \
+ ../src/raster/ftrend1.c \
+ ../src/raster/raster.c \
+ ../src/raster/rastpic.c \
+ ../src/sfnt/sfdriver.c \
+ ../src/sfnt/sfnt.c \
+ ../src/sfnt/sfntpic.c \
+ ../src/sfnt/sfobjs.c \
+ ../src/sfnt/ttbdf.c \
+ ../src/sfnt/ttcmap.c \
+ ../src/sfnt/ttkern.c \
+ ../src/sfnt/ttload.c \
+ ../src/sfnt/ttmtx.c \
+ ../src/sfnt/ttpost.c \
+ ../src/sfnt/ttsbit.c \
+ ../src/sfnt/ttsbit0.c \
+ ../src/smooth/ftgrays.c \
+ ../src/smooth/ftsmooth.c \
+ ../src/smooth/ftspic.c \
+ ../src/smooth/smooth.c \
+ ../src/truetype/truetype.c \
+ ../src/truetype/ttdriver.c \
+ ../src/truetype/ttgload.c \
+ ../src/truetype/ttgxvar.c \
+ ../src/truetype/ttinterp.c \
+ ../src/truetype/ttobjs.c \
+ ../src/truetype/ttpic.c \
+ ../src/truetype/ttpload.c \
+
+
+LOCAL_LDLIBS := -ldl -llog
+
+include $(BUILD_SHARED_LIBRARY)
@@ -0,0 +1,2 @@
+APP_ABI := armeabi armeabi-v7a
+APP_PLATFORM := android-8
@@ -0,0 +1,6 @@
+LOCAL_PATH := $(call my-dir)
+
+include $(CLEAR_VARS)
+LOCAL_MODULE := freetype2-prebuilt
+LOCAL_SRC_FILES := ../obj/local/$(TARGET_ARCH_ABI)/libfreetype2-static.a
+include $(PREBUILT_STATIC_LIBRARY)
@@ -0,0 +1,169 @@
+ The FreeType Project LICENSE
+ ----------------------------
+
+ 2006-Jan-27
+
+ Copyright 1996-2002, 2006 by
+ David Turner, Robert Wilhelm, and Werner Lemberg
+
+
+
+Introduction
+============
+
+ The FreeType Project is distributed in several archive packages;
+ some of them may contain, in addition to the FreeType font engine,
+ various tools and contributions which rely on, or relate to, the
+ FreeType Project.
+
+ This license applies to all files found in such packages, and
+ which do not fall under their own explicit license. The license
+ affects thus the FreeType font engine, the test programs,
+ documentation and makefiles, at the very least.
+
+ This license was inspired by the BSD, Artistic, and IJG
+ (Independent JPEG Group) licenses, which all encourage inclusion
+ and use of free software in commercial and freeware products
+ alike. As a consequence, its main points are that:
+
+ o We don't promise that this software works. However, we will be
+ interested in any kind of bug reports. (`as is' distribution)
+
+ o You can use this software for whatever you want, in parts or
+ full form, without having to pay us. (`royalty-free' usage)
+
+ o You may not pretend that you wrote this software. If you use
+ it, or only parts of it, in a program, you must acknowledge
+ somewhere in your documentation that you have used the
+ FreeType code. (`credits')
+
+ We specifically permit and encourage the inclusion of this
+ software, with or without modifications, in commercial products.
+ We disclaim all warranties covering The FreeType Project and
+ assume no liability related to The FreeType Project.
+
+
+ Finally, many people asked us for a preferred form for a
+ credit/disclaimer to use in compliance with this license. We thus
+ encourage you to use the following text:
+
+ """
+ Portions of this software are copyright © <year> The FreeType
+ Project (www.freetype.org). All rights reserved.
+ """
+
+ Please replace <year> with the value from the FreeType version you
+ actually use.
+
+
+Legal Terms
+===========
+
+0. Definitions
+--------------
+
+ Throughout this license, the terms `package', `FreeType Project',
+ and `FreeType archive' refer to the set of files originally
+ distributed by the authors (David Turner, Robert Wilhelm, and
+ Werner Lemberg) as the `FreeType Project', be they named as alpha,
+ beta or final release.
+
+ `You' refers to the licensee, or person using the project, where
+ `using' is a generic term including compiling the project's source
+ code as well as linking it to form a `program' or `executable'.
+ This program is referred to as `a program using the FreeType
+ engine'.
+
+ This license applies to all files distributed in the original
+ FreeType Project, including all source code, binaries and
+ documentation, unless otherwise stated in the file in its
+ original, unmodified form as distributed in the original archive.
+ If you are unsure whether or not a particular file is covered by
+ this license, you must contact us to verify this.
+
+ The FreeType Project is copyright (C) 1996-2000 by David Turner,
+ Robert Wilhelm, and Werner Lemberg. All rights reserved except as
+ specified below.
+
+1. No Warranty
+--------------
+
+ THE FREETYPE PROJECT IS PROVIDED `AS IS' WITHOUT WARRANTY OF ANY
+ KIND, EITHER EXPRESS OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,
+ WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+ PURPOSE. IN NO EVENT WILL ANY OF THE AUTHORS OR COPYRIGHT HOLDERS
+ BE LIABLE FOR ANY DAMAGES CAUSED BY THE USE OR THE INABILITY TO
+ USE, OF THE FREETYPE PROJECT.
+
+2. Redistribution
+-----------------
+
+ This license grants a worldwide, royalty-free, perpetual and
+ irrevocable right and license to use, execute, perform, compile,
+ display, copy, create derivative works of, distribute and
+ sublicense the FreeType Project (in both source and object code
+ forms) and derivative works thereof for any purpose; and to
+ authorize others to exercise some or all of the rights granted
+ herein, subject to the following conditions:
+
+ o Redistribution of source code must retain this license file
+ (`FTL.TXT') unaltered; any additions, deletions or changes to
+ the original files must be clearly indicated in accompanying
+ documentation. The copyright notices of the unaltered,
+ original files must be preserved in all copies of source
+ files.
+
+ o Redistribution in binary form must provide a disclaimer that
+ states that the software is based in part of the work of the
+ FreeType Team, in the distribution documentation. We also
+ encourage you to put an URL to the FreeType web page in your
+ documentation, though this isn't mandatory.
+
+ These conditions apply to any software derived from or based on
+ the FreeType Project, not just the unmodified files. If you use
+ our work, you must acknowledge us. However, no fee need be paid
+ to us.
+
+3. Advertising
+--------------
+
+ Neither the FreeType authors and contributors nor you shall use
+ the name of the other for commercial, advertising, or promotional
+ purposes without specific prior written permission.
+
+ We suggest, but do not require, that you use one or more of the
+ following phrases to refer to this software in your documentation
+ or advertising materials: `FreeType Project', `FreeType Engine',
+ `FreeType library', or `FreeType Distribution'.
+
+ As you have not signed this license, you are not required to
+ accept it. However, as the FreeType Project is copyrighted
+ material, only this license, or another one contracted with the
+ authors, grants you the right to use, distribute, and modify it.
+ Therefore, by using, distributing, or modifying the FreeType
+ Project, you indicate that you understand and accept all the terms
+ of this license.
+
+4. Contacts
+-----------
+
+ There are two mailing lists related to FreeType:
+
+ o freetype@nongnu.org
+
+ Discusses general use and applications of FreeType, as well as
+ future and wanted additions to the library and distribution.
+ If you are looking for support, start in this list if you
+ haven't found anything to help you in the documentation.
+
+ o freetype-devel@nongnu.org
+
+ Discusses bugs, as well as engine internals, design issues,
+ specific licenses, porting, etc.
+
+ Our home page can be found at
+
+ http://www.freetype.org
+
+
+--- end of FTL.TXT ---
@@ -0,0 +1,23 @@
+# Freetype 2 Android
+
+This is simply a distribution of the Freetype 2 library, that includes Android make files ready to build the Freetype 2 library into a static and shared binaries for version 2.2 of the Android operating system. This distribution requires release 5 of the Android Native Development Kit.
+
+The project only includes the Freetype modules for processing TrueType and OpenType fonts. Other font modules have been disabled. If you want to re-enable these modules, you will need to download the Freetype 2 source code, and then copy the module source files to the appropriate location in either the "include/" or "src/" folders of this distribution. The Freetype source code is [available here](http://download.savannah.gnu.org/releases/freetype/). The instructions for including these new modules in the Android makefile is left as an exercise, but if you follow the pattern of the truetype module in the Android makefile, your module should compile correctly.
+
+The code in this distribution comes from version 2.4.4 of the Freetype library.
+
+There is an analogous library for Xcode and iOS [here](https://github.com/cdave1/freetype2-ios).
+
+
+# Install
+
+This distribution requires release 5 of the Android Native Development Kit.
+
+To install cd to the Android/jni/ directory and type ndk-build.
+
+To use the library in another ndk library, you will need to include the Android/jni/module.mk file in the Android.mk of the library you want to use freetype with.
+
+
+# License
+
+This code is distributed under the terms of the [Freetype License](http://www.freetype.org/FTL.TXT). The Freetype License is also included in this distribution. If you are going to use code in this project, please make sure you follow the instructions in the Freetype License.
Oops, something went wrong.

0 comments on commit 1cd22fa

Please sign in to comment.