Browse Source

freetype: Make it a module and split thirdparty library

Comment out the weird workaround for building on Windows at it might
not be needed anymore. Testing needed to confirm.
Rémi Verschelde 9 years ago
parent
commit
edbc0c0d0b
100 changed files with 178 additions and 882 deletions
  1. 1 9
      SConstruct
  2. 0 3
      drivers/SCsub
  3. 0 73
      drivers/freetype/SCsub
  4. 0 19
      drivers/freetype/src/Jamfile
  5. 0 53
      drivers/freetype/src/autofit/Jamfile
  6. 0 88
      drivers/freetype/src/base/Jamfile
  7. 0 31
      drivers/freetype/src/bdf/Jamfile
  8. 0 37
      drivers/freetype/src/cache/Jamfile
  9. 0 45
      drivers/freetype/src/cff/Jamfile
  10. 0 34
      drivers/freetype/src/cid/Jamfile
  11. 0 52
      drivers/freetype/src/gxvalid/Jamfile
  12. 0 37
      drivers/freetype/src/otvalid/Jamfile
  13. 0 32
      drivers/freetype/src/pcf/Jamfile
  14. 0 35
      drivers/freetype/src/pfr/Jamfile
  15. 0 35
      drivers/freetype/src/psaux/Jamfile
  16. 0 34
      drivers/freetype/src/pshinter/Jamfile
  17. 0 31
      drivers/freetype/src/psnames/Jamfile
  18. 0 32
      drivers/freetype/src/raster/Jamfile
  19. 0 40
      drivers/freetype/src/sfnt/Jamfile
  20. 0 32
      drivers/freetype/src/smooth/Jamfile
  21. 0 37
      drivers/freetype/src/truetype/Jamfile
  22. 0 35
      drivers/freetype/src/type1/Jamfile
  23. 0 32
      drivers/freetype/src/type42/Jamfile
  24. 0 16
      drivers/freetype/src/winfonts/Jamfile
  25. 88 0
      modules/freetype/SCsub
  26. 6 0
      modules/freetype/config.py
  27. 33 0
      modules/freetype/register_types.cpp
  28. 30 0
      modules/freetype/register_types.h
  29. 0 0
      modules/freetype/winrtdef.h
  30. 0 4
      platform/osx/detect.py
  31. 6 5
      platform/x11/detect.py
  32. 14 1
      thirdparty/README.md
  33. 0 0
      thirdparty/freetype/FTL.TXT
  34. 0 0
      thirdparty/freetype/LICENSE.TXT
  35. 0 0
      thirdparty/freetype/include/freetype/config/ftconfig.h
  36. 0 0
      thirdparty/freetype/include/freetype/config/ftheader.h
  37. 0 0
      thirdparty/freetype/include/freetype/config/ftmodule.h
  38. 0 0
      thirdparty/freetype/include/freetype/config/ftoption.h
  39. 0 0
      thirdparty/freetype/include/freetype/config/ftstdlib.h
  40. 0 0
      thirdparty/freetype/include/freetype/freetype.h
  41. 0 0
      thirdparty/freetype/include/freetype/ftadvanc.h
  42. 0 0
      thirdparty/freetype/include/freetype/ftautoh.h
  43. 0 0
      thirdparty/freetype/include/freetype/ftbbox.h
  44. 0 0
      thirdparty/freetype/include/freetype/ftbdf.h
  45. 0 0
      thirdparty/freetype/include/freetype/ftbitmap.h
  46. 0 0
      thirdparty/freetype/include/freetype/ftbzip2.h
  47. 0 0
      thirdparty/freetype/include/freetype/ftcache.h
  48. 0 0
      thirdparty/freetype/include/freetype/ftcffdrv.h
  49. 0 0
      thirdparty/freetype/include/freetype/ftchapters.h
  50. 0 0
      thirdparty/freetype/include/freetype/ftcid.h
  51. 0 0
      thirdparty/freetype/include/freetype/fterrdef.h
  52. 0 0
      thirdparty/freetype/include/freetype/fterrors.h
  53. 0 0
      thirdparty/freetype/include/freetype/ftfntfmt.h
  54. 0 0
      thirdparty/freetype/include/freetype/ftgasp.h
  55. 0 0
      thirdparty/freetype/include/freetype/ftglyph.h
  56. 0 0
      thirdparty/freetype/include/freetype/ftgxval.h
  57. 0 0
      thirdparty/freetype/include/freetype/ftgzip.h
  58. 0 0
      thirdparty/freetype/include/freetype/ftimage.h
  59. 0 0
      thirdparty/freetype/include/freetype/ftincrem.h
  60. 0 0
      thirdparty/freetype/include/freetype/ftlcdfil.h
  61. 0 0
      thirdparty/freetype/include/freetype/ftlist.h
  62. 0 0
      thirdparty/freetype/include/freetype/ftlzw.h
  63. 0 0
      thirdparty/freetype/include/freetype/ftmac.h
  64. 0 0
      thirdparty/freetype/include/freetype/ftmm.h
  65. 0 0
      thirdparty/freetype/include/freetype/ftmodapi.h
  66. 0 0
      thirdparty/freetype/include/freetype/ftmoderr.h
  67. 0 0
      thirdparty/freetype/include/freetype/ftotval.h
  68. 0 0
      thirdparty/freetype/include/freetype/ftoutln.h
  69. 0 0
      thirdparty/freetype/include/freetype/ftpfr.h
  70. 0 0
      thirdparty/freetype/include/freetype/ftrender.h
  71. 0 0
      thirdparty/freetype/include/freetype/ftsizes.h
  72. 0 0
      thirdparty/freetype/include/freetype/ftsnames.h
  73. 0 0
      thirdparty/freetype/include/freetype/ftstroke.h
  74. 0 0
      thirdparty/freetype/include/freetype/ftsynth.h
  75. 0 0
      thirdparty/freetype/include/freetype/ftsystem.h
  76. 0 0
      thirdparty/freetype/include/freetype/fttrigon.h
  77. 0 0
      thirdparty/freetype/include/freetype/ftttdrv.h
  78. 0 0
      thirdparty/freetype/include/freetype/fttypes.h
  79. 0 0
      thirdparty/freetype/include/freetype/ftwinfnt.h
  80. 0 0
      thirdparty/freetype/include/freetype/internal/autohint.h
  81. 0 0
      thirdparty/freetype/include/freetype/internal/ftcalc.h
  82. 0 0
      thirdparty/freetype/include/freetype/internal/ftdebug.h
  83. 0 0
      thirdparty/freetype/include/freetype/internal/ftdriver.h
  84. 0 0
      thirdparty/freetype/include/freetype/internal/ftgloadr.h
  85. 0 0
      thirdparty/freetype/include/freetype/internal/fthash.h
  86. 0 0
      thirdparty/freetype/include/freetype/internal/ftmemory.h
  87. 0 0
      thirdparty/freetype/include/freetype/internal/ftobjs.h
  88. 0 0
      thirdparty/freetype/include/freetype/internal/ftpic.h
  89. 0 0
      thirdparty/freetype/include/freetype/internal/ftrfork.h
  90. 0 0
      thirdparty/freetype/include/freetype/internal/ftserv.h
  91. 0 0
      thirdparty/freetype/include/freetype/internal/ftstream.h
  92. 0 0
      thirdparty/freetype/include/freetype/internal/fttrace.h
  93. 0 0
      thirdparty/freetype/include/freetype/internal/ftvalid.h
  94. 0 0
      thirdparty/freetype/include/freetype/internal/internal.h
  95. 0 0
      thirdparty/freetype/include/freetype/internal/psaux.h
  96. 0 0
      thirdparty/freetype/include/freetype/internal/pshints.h
  97. 0 0
      thirdparty/freetype/include/freetype/internal/services/svbdf.h
  98. 0 0
      thirdparty/freetype/include/freetype/internal/services/svcid.h
  99. 0 0
      thirdparty/freetype/include/freetype/internal/services/svfntfmt.h
  100. 0 0
      thirdparty/freetype/include/freetype/internal/services/svgldict.h

+ 1 - 9
SConstruct

@@ -125,7 +125,7 @@ opts.Add('libtheora','Theora library for theora module (system/builtin)','builti
 opts.Add('opus','Opus and opusfile library for Opus format support: (system/builtin)','builtin')
 opts.Add('minizip','Build Minizip Archive Support: (yes/no)','yes')
 opts.Add('squish','Squish library for BC Texture Compression in editor (system/builtin)','builtin')
-opts.Add('freetype','Freetype support in editor','builtin')
+opts.Add('freetype','Freetype library for TTF support via freetype module (system/builtin)','builtin')
 opts.Add('xml','XML Save/Load support (yes/no)','yes')
 opts.Add('libpng','libpng library for image loader support (system/builtin)','builtin')
 opts.Add('libwebp','libwebp library for webp module (system/builtin)','builtin')
@@ -250,14 +250,6 @@ if selected_platform in platform_list:
 	#must happen after the flags, so when flags are used by configure, stuff happens (ie, ssl on x11)
 	detect.configure(env)
 
-
-	if (env["freetype"]!="no"):
-		env.Append(CCFLAGS=['-DFREETYPE_ENABLED'])
-		if (env["freetype"]=="builtin"):
-			env.Append(CPPPATH=['#drivers/freetype'])
-			env.Append(CPPPATH=['#drivers/freetype/freetype/include'])
-
-
 	#env['platform_libsuffix'] = env['LIBSUFFIX']
 
 	suffix="."+selected_platform

+ 0 - 3
drivers/SCsub

@@ -24,9 +24,6 @@ SConscript("nrex/SCsub");
 if (env["tools"]=="yes"):
 	SConscript("convex_decomp/SCsub");
 
-if (env["freetype"]!="no"):
-	SConscript("freetype/SCsub");
-
 num = 0
 cur_base = ""
 total = len(env.drivers_sources)

+ 0 - 73
drivers/freetype/SCsub

@@ -1,73 +0,0 @@
-Import('env')
-
-ft_sources=[\
-"src/autofit/autofit.c",\
-"src/base/ftapi.c",\
-"src/base/ftbase.c",\
-"src/base/ftbbox.c",\
-"src/base/ftbdf.c",\
-"src/base/ftbitmap.c",\
-"src/base/ftcid.c",\
-"src/base/ftdebug.c",\
-"src/base/ftfntfmt.c",\
-"src/base/ftfstype.c",\
-"src/base/ftgasp.c",\
-"src/base/ftglyph.c",\
-"src/base/ftgxval.c",\
-"src/base/ftinit.c",\
-"src/base/ftlcdfil.c",\
-"src/base/ftmm.c",\
-"src/base/ftotval.c",\
-"src/base/ftpatent.c",\
-"src/base/ftpfr.c",\
-"src/base/ftpic.c",\
-"src/base/ftstroke.c",\
-"src/base/ftsynth.c",\
-"src/base/ftsystem.c",\
-"src/base/fttype1.c",\
-"src/base/ftwinfnt.c",\
-"src/bdf/bdf.c",\
-"src/cache/ftcache.c",\
-"src/cff/cff.c",\
-"src/cid/type1cid.c",\
-"src/gxvalid/gxvalid.c",\
-"src/otvalid/otvalid.c",\
-"src/pcf/pcf.c",\
-"src/pfr/pfr.c",\
-"src/psaux/psaux.c",\
-"src/pshinter/pshinter.c",\
-"src/psnames/psnames.c",\
-"src/raster/raster.c",\
-"src/sfnt/sfnt.c",\
-"src/smooth/smooth.c",\
-"src/truetype/truetype.c",\
-"src/type1/type1.c",\
-"src/type42/type42.c",\
-"src/winfonts/winfnt.c",\
-]
-
-
-if (env["freetype"]=="builtin"):
-
-	# Include header for WinRT to fix build issues
-	if "platform" in env and env["platform"] == "winrt":
-		env.Append(CCFLAGS=['/FI', '"drivers/freetype/winrtdef.h"'])
-
-	# fix for Windows' shell miserably failing on long lines, split in two libraries
-	half1=[]
-	half2=[]
-	for x in ft_sources:
-		if (x.find("src/base")==0 or x.find("src/sfnt")==0):
-			half2.append(x)
-		else:
-			half1.append(x)
-
-	lib = env.Library("freetype_builtin1",half2)
-	env.Append(LIBS=[lib])
-	lib = env.Library("freetype_builtin2",half1)
-	env.Append(LIBS=[lib])
-
-	env.Append(CPPPATH=["#drivers/freetype/include"])
-
-
-Export('env')

+ 0 - 19
drivers/freetype/src/Jamfile

@@ -1,19 +0,0 @@
-# FreeType 2 src Jamfile
-#
-# Copyright 2001-2016 by
-# David Turner, Robert Wilhelm, and Werner Lemberg.
-#
-# This file is part of the FreeType project, and may only be used, modified,
-# and distributed under the terms of the FreeType project license,
-# LICENSE.TXT.  By continuing to use, modify, or distribute this file you
-# indicate that you have read the license and understand and accept it
-# fully.
-
-SubDir  FT2_TOP $(FT2_SRC_DIR) ;
-
-for xx in $(FT2_COMPONENTS)
-{
-  SubInclude FT2_TOP $(FT2_SRC_DIR) $(xx) ;
-}
-
-# end of src Jamfile

+ 0 - 53
drivers/freetype/src/autofit/Jamfile

@@ -1,53 +0,0 @@
-# FreeType 2 src/autofit Jamfile
-#
-# Copyright 2003-2016 by
-# David Turner, Robert Wilhelm, and Werner Lemberg.
-#
-# This file is part of the FreeType project, and may only be used, modified,
-# and distributed under the terms of the FreeType project license,
-# LICENSE.TXT.  By continuing to use, modify, or distribute this file you
-# indicate that you have read the license and understand and accept it
-# fully.
-
-SubDir FT2_TOP src autofit ;
-
-{
-  local  _sources ;
-
-  # define FT2_AUTOFIT2 to enable experimental latin hinter replacement
-  if $(FT2_AUTOFIT2)
-  {
-    CCFLAGS += FT_OPTION_AUTOFIT2 ;
-  }
-  if $(FT2_MULTI)
-  {
-    _sources = afangles
-               afblue
-               afcjk
-               afdummy
-               afglobal
-               afhints
-               afindic
-               aflatin
-               afloader
-               afmodule
-               afpic
-               afranges
-               afshaper
-               afwarp
-               ;
-
-    if $(FT2_AUTOFIT2)
-    {
-      _sources += aflatin2 ;
-    }
-  }
-  else
-  {
-    _sources = autofit ;
-  }
-
-  Library  $(FT2_LIB) : $(_sources).c ;
-}
-
-# end of src/autofit Jamfile

+ 0 - 88
drivers/freetype/src/base/Jamfile

@@ -1,88 +0,0 @@
-# FreeType 2 src/base Jamfile
-#
-# Copyright 2001-2016 by
-# David Turner, Robert Wilhelm, and Werner Lemberg.
-#
-# This file is part of the FreeType project, and may only be used, modified,
-# and distributed under the terms of the FreeType project license,
-# LICENSE.TXT.  By continuing to use, modify, or distribute this file you
-# indicate that you have read the license and understand and accept it
-# fully.
-
-SubDir  FT2_TOP $(FT2_SRC_DIR) base ;
-
-
-{
-  local  _sources ;
-
-  if $(FT2_MULTI)
-  {
-    _sources = basepic
-               ftadvanc
-               ftcalc
-               ftdbgmem
-               ftgloadr
-               fthash
-               ftobjs
-               ftoutln
-               ftpic
-               ftrfork
-               ftsnames
-               ftstream
-               fttrigon
-               ftutil
-               ;
-  }
-  else
-  {
-    _sources = ftbase ;
-  }
-
-  Library  $(FT2_LIB) : $(_sources).c ;
-}
-
-# Add the optional/replaceable files.
-#
-{
-  local  _sources = ftapi
-                    ftbbox
-                    ftbdf
-                    ftbitmap
-                    ftcid
-                    ftdebug
-                    ftfntfmt
-                    ftfstype
-                    ftgasp
-                    ftglyph
-                    ftgxval
-                    ftinit
-                    ftlcdfil
-                    ftmm
-                    ftotval
-                    ftpatent
-                    ftpfr
-                    ftstroke
-                    ftsynth
-                    ftsystem
-                    fttype1
-                    ftwinfnt
-                    ;
-
-  Library  $(FT2_LIB) : $(_sources).c ;
-}
-
-# Add Macintosh-specific file to the library when necessary.
-#
-if $(MAC)
-{
-  Library  $(FT2_LIB) : ftmac.c ;
-}
-else if $(OS) = MACOSX
-{
-  if $(FT2_MULTI)
-  {
-    Library  $(FT2_LIB) : ftmac.c ;
-  }
-}
-
-# end of src/base Jamfile

+ 0 - 31
drivers/freetype/src/bdf/Jamfile

@@ -1,31 +0,0 @@
-# FreeType 2 src/bdf Jamfile
-#
-# Copyright 2002-2016 by
-# David Turner, Robert Wilhelm, and Werner Lemberg.
-#
-# This file is part of the FreeType project, and may only be used, modified,
-# and distributed under the terms of the FreeType project license,
-# LICENSE.TXT.  By continuing to use, modify, or distribute this file you
-# indicate that you have read the license and understand and accept it
-# fully.
-
-SubDir  FT2_TOP $(FT2_SRC_DIR) bdf ;
-
-{
-  local  _sources ;
-
-  if $(FT2_MULTI)
-  {
-    _sources = bdfdrivr
-               bdflib
-               ;
-  }
-  else
-  {
-    _sources = bdf ;
-  }
-
-  Library  $(FT2_LIB) : $(_sources).c ;
-}
-
-# end of src/bdf Jamfile

+ 0 - 37
drivers/freetype/src/cache/Jamfile

@@ -1,37 +0,0 @@
-# FreeType 2 src/cache Jamfile
-#
-# Copyright 2001-2016 by
-# David Turner, Robert Wilhelm, and Werner Lemberg.
-#
-# This file is part of the FreeType project, and may only be used, modified,
-# and distributed under the terms of the FreeType project license,
-# LICENSE.TXT.  By continuing to use, modify, or distribute this file you
-# indicate that you have read the license and understand and accept it
-# fully.
-
-SubDir  FT2_TOP $(FT2_SRC_DIR) cache ;
-
-{
-  local  _sources ;
-
-  if $(FT2_MULTI)
-  {
-    _sources = ftcbasic
-               ftccache
-               ftcglyph
-               ftcimage
-               ftcmanag
-               ftccmap
-               ftcmru
-               ftcsbits
-               ;
-  }
-  else
-  {
-    _sources = ftcache ;
-  }
-
-  Library  $(FT2_LIB) : $(_sources).c ;
-}
-
-# end of src/cache Jamfile

+ 0 - 45
drivers/freetype/src/cff/Jamfile

@@ -1,45 +0,0 @@
-# FreeType 2 src/cff Jamfile
-#
-# Copyright 2001-2016 by
-# David Turner, Robert Wilhelm, and Werner Lemberg.
-#
-# This file is part of the FreeType project, and may only be used, modified,
-# and distributed under the terms of the FreeType project license,
-# LICENSE.TXT.  By continuing to use, modify, or distribute this file you
-# indicate that you have read the license and understand and accept it
-# fully.
-
-SubDir  FT2_TOP $(FT2_SRC_DIR) cff ;
-
-{
-  local  _sources ;
-
-  if $(FT2_MULTI)
-  {
-    _sources = cffcmap
-               cffdrivr
-               cffgload
-               cffload
-               cffobjs
-               cffparse
-               cffpic
-               cf2arrst
-               cf2blues
-               cf2error
-               cf2font
-               cf2ft
-               cf2hints
-               cf2intrp
-               cf2read
-               cf2stack
-               ;
-  }
-  else
-  {
-    _sources = cff ;
-  }
-
-  Library  $(FT2_LIB) : $(_sources).c ;
-}
-
-# end of src/cff Jamfile

+ 0 - 34
drivers/freetype/src/cid/Jamfile

@@ -1,34 +0,0 @@
-# FreeType 2 src/cid Jamfile
-#
-# Copyright 2001-2016 by
-# David Turner, Robert Wilhelm, and Werner Lemberg.
-#
-# This file is part of the FreeType project, and may only be used, modified,
-# and distributed under the terms of the FreeType project license,
-# LICENSE.TXT.  By continuing to use, modify, or distribute this file you
-# indicate that you have read the license and understand and accept it
-# fully.
-
-SubDir  FT2_TOP $(FT2_SRC_DIR) cid ;
-
-{
-  local  _sources ;
-
-  if $(FT2_MULTI)
-  {
-    _sources = cidgload
-               cidload
-               cidobjs
-               cidparse
-               cidriver
-               ;
-  }
-  else
-  {
-    _sources = type1cid ;
-  }
-
-  Library  $(FT2_LIB) : $(_sources).c ;
-}
-
-# end of src/cid Jamfile

+ 0 - 52
drivers/freetype/src/gxvalid/Jamfile

@@ -1,52 +0,0 @@
-# FreeType 2 src/gxvalid Jamfile
-#
-# Copyright 2005-2016 by
-# suzuki toshiya, Masatake YAMATO and Red Hat K.K.
-#
-# This file is part of the FreeType project, and may only be used, modified,
-# and distributed under the terms of the FreeType project license,
-# LICENSE.TXT.  By continuing to use, modify, or distribute this file you
-# indicate that you have read the license and understand and accept it
-# fully.
-
-SubDir  FT2_TOP $(FT2_SRC_DIR) gxvalid ;
-
-
-{
-  local  _sources ;
-
-  if $(FT2_MULTI)
-  {
-    _sources = gxvbsln
-               gxvcommn
-               gxvfeat
-               gxvjust
-               gxvkern
-               gxvlcar
-               gxvmod
-               gxvmort
-               gxvmort0
-               gxvmort1
-               gxvmort2
-               gxvmort4
-               gxvmort5
-               gxvmorx
-               gxvmorx0
-               gxvmorx1
-               gxvmorx2
-               gxvmorx4
-               gxvmorx5
-               gxvopbd
-               gxvprop
-               gxvtrak
-               ;
-  }
-  else
-  {
-    _sources = gxvalid ;
-  }
-
-  Library  $(FT2_LIB) : $(_sources).c ;
-}
-
-# end of src/gxvalid Jamfile

+ 0 - 37
drivers/freetype/src/otvalid/Jamfile

@@ -1,37 +0,0 @@
-# FreeType 2 src/otvalid Jamfile
-#
-# Copyright 2004-2016 by
-# David Turner, Robert Wilhelm, and Werner Lemberg.
-#
-# This file is part of the FreeType project, and may only be used, modified,
-# and distributed under the terms of the FreeType project license,
-# LICENSE.TXT.  By continuing to use, modify, or distribute this file you
-# indicate that you have read the license and understand and accept it
-# fully.
-
-SubDir  FT2_TOP $(FT2_SRC_DIR) otvalid ;
-
-{
-  local  _sources ;
-
-  if $(FT2_MULTI)
-  {
-    _sources = otvbase
-               otvcommn
-               otvgdef
-               otvgpos
-               otvgsub
-               otvjstf
-               otvmath
-               otvmod
-               ;
-  }
-  else
-  {
-    _sources = otvalid ;
-  }
-
-  Library  $(FT2_LIB) : $(_sources).c ;
-}
-
-# end of src/otvalid Jamfile

+ 0 - 32
drivers/freetype/src/pcf/Jamfile

@@ -1,32 +0,0 @@
-# FreeType 2 src/pcf Jamfile
-#
-# Copyright 2001-2016 by
-# David Turner, Robert Wilhelm, and Werner Lemberg.
-#
-# This file is part of the FreeType project, and may only be used, modified,
-# and distributed under the terms of the FreeType project license,
-# LICENSE.TXT.  By continuing to use, modify, or distribute this file you
-# indicate that you have read the license and understand and accept it
-# fully.
-
-SubDir  FT2_TOP $(FT2_SRC_DIR) pcf ;
-
-{
-  local  _sources ;
-
-  if $(FT2_MULTI)
-  {
-    _sources = pcfdrivr
-               pcfread
-               pcfutil
-               ;
-  }
-  else
-  {
-    _sources = pcf ;
-  }
-
-  Library  $(FT2_LIB) : $(_sources).c ;
-}
-
-# end of src/pcf Jamfile

+ 0 - 35
drivers/freetype/src/pfr/Jamfile

@@ -1,35 +0,0 @@
-# FreeType 2 src/pfr Jamfile
-#
-# Copyright 2002-2016 by
-# David Turner, Robert Wilhelm, and Werner Lemberg.
-#
-# This file is part of the FreeType project, and may only be used, modified,
-# and distributed under the terms of the FreeType project license,
-# LICENSE.TXT.  By continuing to use, modify, or distribute this file you
-# indicate that you have read the license and understand and accept it
-# fully.
-
-SubDir  FT2_TOP $(FT2_SRC_DIR) pfr ;
-
-{
-  local  _sources ;
-
-  if $(FT2_MULTI)
-  {
-    _sources = pfrcmap
-               pfrdrivr
-               pfrgload
-               pfrload
-               pfrobjs
-               pfrsbit
-               ;
-  }
-  else
-  {
-    _sources = pfr ;
-  }
-
-  Library  $(FT2_LIB) : $(_sources).c ;
-}
-
-# end of src/pfr Jamfile

+ 0 - 35
drivers/freetype/src/psaux/Jamfile

@@ -1,35 +0,0 @@
-# FreeType 2 src/psaux Jamfile
-#
-# Copyright 2001-2016 by
-# David Turner, Robert Wilhelm, and Werner Lemberg.
-#
-# This file is part of the FreeType project, and may only be used, modified,
-# and distributed under the terms of the FreeType project license,
-# LICENSE.TXT.  By continuing to use, modify, or distribute this file you
-# indicate that you have read the license and understand and accept it
-# fully.
-
-SubDir  FT2_TOP $(FT2_SRC_DIR) psaux ;
-
-{
-  local  _sources ;
-
-  if $(FT2_MULTI)
-  {
-    _sources = afmparse
-               psauxmod
-               psconv
-               psobjs
-               t1cmap
-               t1decode
-               ;
-  }
-  else
-  {
-    _sources = psaux ;
-  }
-
-  Library  $(FT2_LIB) : $(_sources).c ;
-}
-
-# end of src/psaux Jamfile

+ 0 - 34
drivers/freetype/src/pshinter/Jamfile

@@ -1,34 +0,0 @@
-# FreeType 2 src/pshinter Jamfile
-#
-# Copyright 2001-2016 by
-# David Turner, Robert Wilhelm, and Werner Lemberg.
-#
-# This file is part of the FreeType project, and may only be used, modified,
-# and distributed under the terms of the FreeType project license,
-# LICENSE.TXT.  By continuing to use, modify, or distribute this file you
-# indicate that you have read the license and understand and accept it
-# fully.
-
-SubDir  FT2_TOP $(FT2_SRC_DIR) pshinter ;
-
-{
-  local  _sources ;
-
-  if $(FT2_MULTI)
-  {
-    _sources = pshalgo
-               pshglob
-               pshmod
-               pshpic
-               pshrec
-               ;
-  }
-  else
-  {
-    _sources = pshinter ;
-  }
-
-  Library  $(FT2_LIB) : $(_sources).c ;
-}
-
-# end of src/pshinter Jamfile

+ 0 - 31
drivers/freetype/src/psnames/Jamfile

@@ -1,31 +0,0 @@
-# FreeType 2 src/psnames Jamfile
-#
-# Copyright 2001-2016 by
-# David Turner, Robert Wilhelm, and Werner Lemberg.
-#
-# This file is part of the FreeType project, and may only be used, modified,
-# and distributed under the terms of the FreeType project license,
-# LICENSE.TXT.  By continuing to use, modify, or distribute this file you
-# indicate that you have read the license and understand and accept it
-# fully.
-
-SubDir  FT2_TOP $(FT2_SRC_DIR) psnames ;
-
-{
-  local  _sources ;
-
-  if $(FT2_MULTI)
-  {
-    _sources = psmodule
-               pspic
-               ;
-  }
-  else
-  {
-    _sources = psnames ;
-  }
-
-  Library  $(FT2_LIB) : $(_sources).c ;
-}
-
-# end of src/psnames Jamfile

+ 0 - 32
drivers/freetype/src/raster/Jamfile

@@ -1,32 +0,0 @@
-# FreeType 2 src/raster Jamfile
-#
-# Copyright 2001-2016 by
-# David Turner, Robert Wilhelm, and Werner Lemberg.
-#
-# This file is part of the FreeType project, and may only be used, modified,
-# and distributed under the terms of the FreeType project license,
-# LICENSE.TXT.  By continuing to use, modify, or distribute this file you
-# indicate that you have read the license and understand and accept it
-# fully.
-
-SubDir  FT2_TOP $(FT2_SRC_DIR) raster ;
-
-{
-  local  _sources ;
-
-  if $(FT2_MULTI)
-  {
-    _sources = ftraster
-               ftrend1
-               rastpic
-               ;
-  }
-  else
-  {
-    _sources = raster ;
-  }
-
-  Library  $(FT2_LIB) : $(_sources).c ;
-}
-
-# end of src/raster Jamfile

+ 0 - 40
drivers/freetype/src/sfnt/Jamfile

@@ -1,40 +0,0 @@
-# FreeType 2 src/sfnt Jamfile
-#
-# Copyright 2001-2016 by
-# David Turner, Robert Wilhelm, and Werner Lemberg.
-#
-# This file is part of the FreeType project, and may only be used, modified,
-# and distributed under the terms of the FreeType project license,
-# LICENSE.TXT.  By continuing to use, modify, or distribute this file you
-# indicate that you have read the license and understand and accept it
-# fully.
-
-SubDir  FT2_TOP $(FT2_SRC_DIR) sfnt ;
-
-{
-  local  _sources ;
-
-  if $(FT2_MULTI)
-  {
-    _sources = pngshim
-               sfdriver
-               sfntpic
-               sfobjs
-               ttbdf
-               ttcmap
-               ttkern
-               ttload
-               ttmtx
-               ttpost
-               ttsbit
-               ;
-  }
-  else
-  {
-    _sources = sfnt ;
-  }
-
-  Library  $(FT2_LIB) : $(_sources).c ;
-}
-
-# end of src/sfnt Jamfile

+ 0 - 32
drivers/freetype/src/smooth/Jamfile

@@ -1,32 +0,0 @@
-# FreeType 2 src/smooth Jamfile
-#
-# Copyright 2001-2016 by
-# David Turner, Robert Wilhelm, and Werner Lemberg.
-#
-# This file is part of the FreeType project, and may only be used, modified,
-# and distributed under the terms of the FreeType project license,
-# LICENSE.TXT.  By continuing to use, modify, or distribute this file you
-# indicate that you have read the license and understand and accept it
-# fully.
-
-SubDir  FT2_TOP $(FT2_SRC_DIR) smooth ;
-
-{
-  local  _sources ;
-
-  if $(FT2_MULTI)
-  {
-    _sources = ftgrays
-               ftsmooth
-               ftspic
-               ;
-  }
-  else
-  {
-    _sources = smooth ;
-  }
-
-  Library  $(FT2_LIB) : $(_sources).c ;
-}
-
-# end of src/smooth Jamfile

+ 0 - 37
drivers/freetype/src/truetype/Jamfile

@@ -1,37 +0,0 @@
-# FreeType 2 src/truetype Jamfile
-#
-# Copyright 2001-2016 by
-# David Turner, Robert Wilhelm, and Werner Lemberg.
-#
-# This file is part of the FreeType project, and may only be used, modified,
-# and distributed under the terms of the FreeType project license,
-# LICENSE.TXT.  By continuing to use, modify, or distribute this file you
-# indicate that you have read the license and understand and accept it
-# fully.
-
-SubDir  FT2_TOP $(FT2_SRC_DIR) truetype ;
-
-{
-  local  _sources ;
-
-  if $(FT2_MULTI)
-  {
-    _sources = ttdriver
-               ttgload
-               ttgxvar
-               ttinterp
-               ttobjs
-               ttpic
-               ttpload
-               ttsubpix
-               ;
-  }
-  else
-  {
-    _sources = truetype ;
-  }
-
-  Library  $(FT2_LIB) : $(_sources).c ;
-}
-
-# end of src/truetype Jamfile

+ 0 - 35
drivers/freetype/src/type1/Jamfile

@@ -1,35 +0,0 @@
-# FreeType 2 src/type1 Jamfile
-#
-# Copyright 2001-2016 by
-# David Turner, Robert Wilhelm, and Werner Lemberg.
-#
-# This file is part of the FreeType project, and may only be used, modified,
-# and distributed under the terms of the FreeType project license,
-# LICENSE.TXT.  By continuing to use, modify, or distribute this file you
-# indicate that you have read the license and understand and accept it
-# fully.
-
-SubDir  FT2_TOP $(FT2_SRC_DIR) type1 ;
-
-{
-  local  _sources ;
-
-  if $(FT2_MULTI)
-  {
-    _sources = t1afm
-               t1driver
-               t1gload
-               t1load
-               t1objs
-               t1parse
-               ;
-  }
-  else
-  {
-    _sources = type1 ;
-  }
-
-  Library  $(FT2_LIB) : $(_sources).c ;
-}
-
-# end of src/type1 Jamfile

+ 0 - 32
drivers/freetype/src/type42/Jamfile

@@ -1,32 +0,0 @@
-# FreeType 2 src/type42 Jamfile
-#
-# Copyright 2002-2016 by
-# David Turner, Robert Wilhelm, and Werner Lemberg.
-#
-# This file is part of the FreeType project, and may only be used, modified,
-# and distributed under the terms of the FreeType project license,
-# LICENSE.TXT.  By continuing to use, modify, or distribute this file you
-# indicate that you have read the license and understand and accept it
-# fully.
-
-SubDir  FT2_TOP $(FT2_SRC_DIR) type42 ;
-
-{
-  local  _sources ;
-
-  if $(FT2_MULTI)
-  {
-    _sources = t42drivr
-               t42objs
-               t42parse
-               ;
-  }
-  else
-  {
-    _sources = type42 ;
-  }
-
-  Library  $(FT2_LIB) : $(_sources).c ;
-}
-
-# end of src/type42 Jamfile

+ 0 - 16
drivers/freetype/src/winfonts/Jamfile

@@ -1,16 +0,0 @@
-# FreeType 2 src/winfonts Jamfile
-#
-# Copyright 2001-2016 by
-# David Turner, Robert Wilhelm, and Werner Lemberg.
-#
-# This file is part of the FreeType project, and may only be used, modified,
-# and distributed under the terms of the FreeType project license,
-# LICENSE.TXT.  By continuing to use, modify, or distribute this file you
-# indicate that you have read the license and understand and accept it
-# fully.
-
-SubDir  FT2_TOP $(FT2_SRC_DIR) winfonts ;
-
-Library  $(FT2_LIB) : winfnt.c ;
-
-# end of src/winfonts Jamfile

+ 88 - 0
modules/freetype/SCsub

@@ -0,0 +1,88 @@
+Import('env')
+
+# Not building in a separate env as core needs it
+
+# Thirdparty source files
+if (env["freetype"] != "system"): # builtin
+	thirdparty_dir = "#thirdparty/freetype/"
+	thirdparty_sources = [
+		"src/autofit/autofit.c",
+		"src/base/ftapi.c",
+		"src/base/ftbase.c",
+		"src/base/ftbbox.c",
+		"src/base/ftbdf.c",
+		"src/base/ftbitmap.c",
+		"src/base/ftcid.c",
+		"src/base/ftdebug.c",
+		"src/base/ftfntfmt.c",
+		"src/base/ftfstype.c",
+		"src/base/ftgasp.c",
+		"src/base/ftglyph.c",
+		"src/base/ftgxval.c",
+		"src/base/ftinit.c",
+		"src/base/ftlcdfil.c",
+		"src/base/ftmm.c",
+		"src/base/ftotval.c",
+		"src/base/ftpatent.c",
+		"src/base/ftpfr.c",
+		"src/base/ftpic.c",
+		"src/base/ftstroke.c",
+		"src/base/ftsynth.c",
+		"src/base/ftsystem.c",
+		"src/base/fttype1.c",
+		"src/base/ftwinfnt.c",
+		"src/bdf/bdf.c",
+		"src/cache/ftcache.c",
+		"src/cff/cff.c",
+		"src/cid/type1cid.c",
+		"src/gxvalid/gxvalid.c",
+		"src/otvalid/otvalid.c",
+		"src/pcf/pcf.c",
+		"src/pfr/pfr.c",
+		"src/psaux/psaux.c",
+		"src/pshinter/pshinter.c",
+		"src/psnames/psnames.c",
+		"src/raster/raster.c",
+		"src/sfnt/sfnt.c",
+		"src/smooth/smooth.c",
+		"src/truetype/truetype.c",
+		"src/type1/type1.c",
+		"src/type42/type42.c",
+		"src/winfonts/winfnt.c",
+	]
+	thirdparty_sources = [thirdparty_dir + file for file in thirdparty_sources]
+
+	# Include header for WinRT to fix build issues
+	if "platform" in env and env["platform"] == "winrt":
+		env.Append(CCFLAGS = ['/FI', '"modules/freetype/winrtdef.h"'])
+
+	env.Append(CPPPATH = [thirdparty_dir, thirdparty_dir + "/include"])
+
+	# also requires libpng headers
+	if (env["libpng"] != "system"): # builtin
+		env.Append(CPPPATH = ["#thirdparty/libpng"])
+
+	""" FIXME: Remove this commented code if Windows can handle the monolithic lib
+	# fix for Windows' shell miserably failing on long lines, split in two libraries
+	half1 = []
+	half2 = []
+	for x in thirdparty_sources:
+		if (x.find("src/base") != -1 and x.find("src/sfnt") != -1):
+			half1.append(x)
+		else:
+			half2.append(x)
+
+	lib = env.Library("freetype_builtin1", half2)
+	env.Append(LIBS = [lib])
+	lib = env.Library("freetype_builtin2", half1)
+	env.Append(LIBS = [lib])
+	"""
+
+	lib = env.Library("freetype_builtin", thirdparty_sources)
+	env.Append(LIBS = [lib])
+
+# Godot source files
+env.add_source_files(env.modules_sources, "*.cpp")
+env.Append(CCFLAGS = ['-DFREETYPE_ENABLED'])
+
+Export('env')

+ 6 - 0
modules/freetype/config.py

@@ -0,0 +1,6 @@
+
+def can_build(platform):
+	return True
+
+def configure(env):
+	pass

+ 33 - 0
modules/freetype/register_types.cpp

@@ -0,0 +1,33 @@
+/*************************************************************************/
+/*  register_types.cpp                                                   */
+/*************************************************************************/
+/*                       This file is part of:                           */
+/*                           GODOT ENGINE                                */
+/*                    http://www.godotengine.org                         */
+/*************************************************************************/
+/* Copyright (c) 2007-2016 Juan Linietsky, Ariel Manzur.                 */
+/*                                                                       */
+/* Permission is hereby granted, free of charge, to any person obtaining */
+/* a copy of this software and associated documentation files (the       */
+/* "Software"), to deal in the Software without restriction, including   */
+/* without limitation the rights to use, copy, modify, merge, publish,   */
+/* distribute, sublicense, and/or sell copies of the Software, and to    */
+/* permit persons to whom the Software is furnished to do so, subject to */
+/* the following conditions:                                             */
+/*                                                                       */
+/* The above copyright notice and this permission notice shall be        */
+/* included in all copies or substantial portions of the Software.       */
+/*                                                                       */
+/* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,       */
+/* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF    */
+/* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.*/
+/* IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY  */
+/* CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,  */
+/* TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE     */
+/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.                */
+/*************************************************************************/
+#include "register_types.h"
+
+void register_freetype_types() {}
+
+void unregister_freetype_types() {}

+ 30 - 0
modules/freetype/register_types.h

@@ -0,0 +1,30 @@
+/*************************************************************************/
+/*  register_types.h                                                     */
+/*************************************************************************/
+/*                       This file is part of:                           */
+/*                           GODOT ENGINE                                */
+/*                    http://www.godotengine.org                         */
+/*************************************************************************/
+/* Copyright (c) 2007-2016 Juan Linietsky, Ariel Manzur.                 */
+/*                                                                       */
+/* Permission is hereby granted, free of charge, to any person obtaining */
+/* a copy of this software and associated documentation files (the       */
+/* "Software"), to deal in the Software without restriction, including   */
+/* without limitation the rights to use, copy, modify, merge, publish,   */
+/* distribute, sublicense, and/or sell copies of the Software, and to    */
+/* permit persons to whom the Software is furnished to do so, subject to */
+/* the following conditions:                                             */
+/*                                                                       */
+/* The above copyright notice and this permission notice shall be        */
+/* included in all copies or substantial portions of the Software.       */
+/*                                                                       */
+/* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,       */
+/* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF    */
+/* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.*/
+/* IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY  */
+/* CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,  */
+/* TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE     */
+/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.                */
+/*************************************************************************/
+void register_freetype_types();
+void unregister_freetype_types();

+ 0 - 0
drivers/freetype/winrtdef.h → modules/freetype/winrtdef.h


+ 0 - 4
platform/osx/detect.py

@@ -80,10 +80,6 @@ def configure(env):
 		env['AS'] = basecmd+"as"
 
 
-#	env.Append(CPPPATH=['#platform/osx/include/freetype2', '#platform/osx/include'])
-#	env.Append(LIBPATH=['#platform/osx/lib'])
-
-
 	env.Append(CPPFLAGS=["-DAPPLE_STYLE_KEYS"])
 	env.Append(CPPFLAGS=['-DUNIX_ENABLED','-DGLES2_ENABLED','-DOSX_ENABLED'])
 	env.Append(LIBS=['pthread'])

+ 6 - 5
platform/x11/detect.py

@@ -69,7 +69,7 @@ def get_flags():
 
 	return [
 	("openssl", "system"),
-	('freetype','yes'), # use system freetype
+	('freetype', 'system'),
 	('libpng', 'system'),
 	]
 
@@ -140,15 +140,16 @@ def configure(env):
 	if (env["openssl"] == "system"):
 		env.ParseConfig('pkg-config openssl --cflags --libs')
 
-	if (env["libpng"] == "system"):
-		env.ParseConfig('pkg-config libpng --cflags --libs')
-
 	if (env["libwebp"] == "system"):
 		env.ParseConfig('pkg-config libwebp --cflags --libs')
 
-	if (env["freetype"]=="yes"):
+	if (env["freetype"] == "system"):
+		env["libpng"] = "system"  # Freetype links against libpng
 		env.ParseConfig('pkg-config freetype2 --cflags --libs')
 
+	if (env["libpng"] == "system"):
+		env.ParseConfig('pkg-config libpng --cflags --libs')
+
 	if (env["enet"] == "system"):
 		env.ParseConfig('pkg-config libenet --cflags --libs')
 

+ 14 - 1
thirdparty/README.md

@@ -18,6 +18,19 @@ for all platforms (especially WinRT). Check the diff with the 1.3.13 tarball
 before the next update.
 
 
+## freetype
+
+- Upstream: https://www.freetype.org
+- Version: 2.6.5
+- License: FreeType License (BSD-like)
+
+Files extracted from upstream source:
+
+- the src/ folder, stripped of the `Jamfile` files
+- the include/ folder
+- `docs/{FTL.TXT,LICENSE.TXT}`
+
+
 ## glew
 
 - Upstream: http://glew.sourceforge.net
@@ -101,7 +114,7 @@ Files extracted from upstream source:
 - Version: 0.5.1
 - License: BSD-3-Clause
 
-Files extracted from the upstream source:
+Files extracted from upstream source:
 
 - `src/*` except from: .am and .in, files, extras/, `webp/extras.h`
 - AUTHORS, COPYING, PATENTS

+ 0 - 0
drivers/freetype/FTL.TXT → thirdparty/freetype/FTL.TXT


+ 0 - 0
drivers/freetype/LICENSE.TXT → thirdparty/freetype/LICENSE.TXT


+ 0 - 0
drivers/freetype/include/freetype/config/ftconfig.h → thirdparty/freetype/include/freetype/config/ftconfig.h


+ 0 - 0
drivers/freetype/include/freetype/config/ftheader.h → thirdparty/freetype/include/freetype/config/ftheader.h


+ 0 - 0
drivers/freetype/include/freetype/config/ftmodule.h → thirdparty/freetype/include/freetype/config/ftmodule.h


+ 0 - 0
drivers/freetype/include/freetype/config/ftoption.h → thirdparty/freetype/include/freetype/config/ftoption.h


+ 0 - 0
drivers/freetype/include/freetype/config/ftstdlib.h → thirdparty/freetype/include/freetype/config/ftstdlib.h


+ 0 - 0
drivers/freetype/include/freetype/freetype.h → thirdparty/freetype/include/freetype/freetype.h


+ 0 - 0
drivers/freetype/include/freetype/ftadvanc.h → thirdparty/freetype/include/freetype/ftadvanc.h


+ 0 - 0
drivers/freetype/include/freetype/ftautoh.h → thirdparty/freetype/include/freetype/ftautoh.h


+ 0 - 0
drivers/freetype/include/freetype/ftbbox.h → thirdparty/freetype/include/freetype/ftbbox.h


+ 0 - 0
drivers/freetype/include/freetype/ftbdf.h → thirdparty/freetype/include/freetype/ftbdf.h


+ 0 - 0
drivers/freetype/include/freetype/ftbitmap.h → thirdparty/freetype/include/freetype/ftbitmap.h


+ 0 - 0
drivers/freetype/include/freetype/ftbzip2.h → thirdparty/freetype/include/freetype/ftbzip2.h


+ 0 - 0
drivers/freetype/include/freetype/ftcache.h → thirdparty/freetype/include/freetype/ftcache.h


+ 0 - 0
drivers/freetype/include/freetype/ftcffdrv.h → thirdparty/freetype/include/freetype/ftcffdrv.h


+ 0 - 0
drivers/freetype/include/freetype/ftchapters.h → thirdparty/freetype/include/freetype/ftchapters.h


+ 0 - 0
drivers/freetype/include/freetype/ftcid.h → thirdparty/freetype/include/freetype/ftcid.h


+ 0 - 0
drivers/freetype/include/freetype/fterrdef.h → thirdparty/freetype/include/freetype/fterrdef.h


+ 0 - 0
drivers/freetype/include/freetype/fterrors.h → thirdparty/freetype/include/freetype/fterrors.h


+ 0 - 0
drivers/freetype/include/freetype/ftfntfmt.h → thirdparty/freetype/include/freetype/ftfntfmt.h


+ 0 - 0
drivers/freetype/include/freetype/ftgasp.h → thirdparty/freetype/include/freetype/ftgasp.h


+ 0 - 0
drivers/freetype/include/freetype/ftglyph.h → thirdparty/freetype/include/freetype/ftglyph.h


+ 0 - 0
drivers/freetype/include/freetype/ftgxval.h → thirdparty/freetype/include/freetype/ftgxval.h


+ 0 - 0
drivers/freetype/include/freetype/ftgzip.h → thirdparty/freetype/include/freetype/ftgzip.h


+ 0 - 0
drivers/freetype/include/freetype/ftimage.h → thirdparty/freetype/include/freetype/ftimage.h


+ 0 - 0
drivers/freetype/include/freetype/ftincrem.h → thirdparty/freetype/include/freetype/ftincrem.h


+ 0 - 0
drivers/freetype/include/freetype/ftlcdfil.h → thirdparty/freetype/include/freetype/ftlcdfil.h


+ 0 - 0
drivers/freetype/include/freetype/ftlist.h → thirdparty/freetype/include/freetype/ftlist.h


+ 0 - 0
drivers/freetype/include/freetype/ftlzw.h → thirdparty/freetype/include/freetype/ftlzw.h


+ 0 - 0
drivers/freetype/include/freetype/ftmac.h → thirdparty/freetype/include/freetype/ftmac.h


+ 0 - 0
drivers/freetype/include/freetype/ftmm.h → thirdparty/freetype/include/freetype/ftmm.h


+ 0 - 0
drivers/freetype/include/freetype/ftmodapi.h → thirdparty/freetype/include/freetype/ftmodapi.h


+ 0 - 0
drivers/freetype/include/freetype/ftmoderr.h → thirdparty/freetype/include/freetype/ftmoderr.h


+ 0 - 0
drivers/freetype/include/freetype/ftotval.h → thirdparty/freetype/include/freetype/ftotval.h


+ 0 - 0
drivers/freetype/include/freetype/ftoutln.h → thirdparty/freetype/include/freetype/ftoutln.h


+ 0 - 0
drivers/freetype/include/freetype/ftpfr.h → thirdparty/freetype/include/freetype/ftpfr.h


+ 0 - 0
drivers/freetype/include/freetype/ftrender.h → thirdparty/freetype/include/freetype/ftrender.h


+ 0 - 0
drivers/freetype/include/freetype/ftsizes.h → thirdparty/freetype/include/freetype/ftsizes.h


+ 0 - 0
drivers/freetype/include/freetype/ftsnames.h → thirdparty/freetype/include/freetype/ftsnames.h


+ 0 - 0
drivers/freetype/include/freetype/ftstroke.h → thirdparty/freetype/include/freetype/ftstroke.h


+ 0 - 0
drivers/freetype/include/freetype/ftsynth.h → thirdparty/freetype/include/freetype/ftsynth.h


+ 0 - 0
drivers/freetype/include/freetype/ftsystem.h → thirdparty/freetype/include/freetype/ftsystem.h


+ 0 - 0
drivers/freetype/include/freetype/fttrigon.h → thirdparty/freetype/include/freetype/fttrigon.h


+ 0 - 0
drivers/freetype/include/freetype/ftttdrv.h → thirdparty/freetype/include/freetype/ftttdrv.h


+ 0 - 0
drivers/freetype/include/freetype/fttypes.h → thirdparty/freetype/include/freetype/fttypes.h


+ 0 - 0
drivers/freetype/include/freetype/ftwinfnt.h → thirdparty/freetype/include/freetype/ftwinfnt.h


+ 0 - 0
drivers/freetype/include/freetype/internal/autohint.h → thirdparty/freetype/include/freetype/internal/autohint.h


+ 0 - 0
drivers/freetype/include/freetype/internal/ftcalc.h → thirdparty/freetype/include/freetype/internal/ftcalc.h


+ 0 - 0
drivers/freetype/include/freetype/internal/ftdebug.h → thirdparty/freetype/include/freetype/internal/ftdebug.h


+ 0 - 0
drivers/freetype/include/freetype/internal/ftdriver.h → thirdparty/freetype/include/freetype/internal/ftdriver.h


+ 0 - 0
drivers/freetype/include/freetype/internal/ftgloadr.h → thirdparty/freetype/include/freetype/internal/ftgloadr.h


+ 0 - 0
drivers/freetype/include/freetype/internal/fthash.h → thirdparty/freetype/include/freetype/internal/fthash.h


+ 0 - 0
drivers/freetype/include/freetype/internal/ftmemory.h → thirdparty/freetype/include/freetype/internal/ftmemory.h


+ 0 - 0
drivers/freetype/include/freetype/internal/ftobjs.h → thirdparty/freetype/include/freetype/internal/ftobjs.h


+ 0 - 0
drivers/freetype/include/freetype/internal/ftpic.h → thirdparty/freetype/include/freetype/internal/ftpic.h


+ 0 - 0
drivers/freetype/include/freetype/internal/ftrfork.h → thirdparty/freetype/include/freetype/internal/ftrfork.h


+ 0 - 0
drivers/freetype/include/freetype/internal/ftserv.h → thirdparty/freetype/include/freetype/internal/ftserv.h


+ 0 - 0
drivers/freetype/include/freetype/internal/ftstream.h → thirdparty/freetype/include/freetype/internal/ftstream.h


+ 0 - 0
drivers/freetype/include/freetype/internal/fttrace.h → thirdparty/freetype/include/freetype/internal/fttrace.h


+ 0 - 0
drivers/freetype/include/freetype/internal/ftvalid.h → thirdparty/freetype/include/freetype/internal/ftvalid.h


+ 0 - 0
drivers/freetype/include/freetype/internal/internal.h → thirdparty/freetype/include/freetype/internal/internal.h


+ 0 - 0
drivers/freetype/include/freetype/internal/psaux.h → thirdparty/freetype/include/freetype/internal/psaux.h


+ 0 - 0
drivers/freetype/include/freetype/internal/pshints.h → thirdparty/freetype/include/freetype/internal/pshints.h


+ 0 - 0
drivers/freetype/include/freetype/internal/services/svbdf.h → thirdparty/freetype/include/freetype/internal/services/svbdf.h


+ 0 - 0
drivers/freetype/include/freetype/internal/services/svcid.h → thirdparty/freetype/include/freetype/internal/services/svcid.h


+ 0 - 0
drivers/freetype/include/freetype/internal/services/svfntfmt.h → thirdparty/freetype/include/freetype/internal/services/svfntfmt.h


+ 0 - 0
drivers/freetype/include/freetype/internal/services/svgldict.h → thirdparty/freetype/include/freetype/internal/services/svgldict.h


Some files were not shown because too many files changed in this diff