Merge branch 'master' into Harmony
This commit is contained in:
commit
b5a29cce2f
|
@ -1,2 +1,3 @@
|
|||
config.mk
|
||||
objs/vc2010/
|
||||
build
|
||||
|
|
1
.mailmap
1
.mailmap
|
@ -6,3 +6,4 @@ Suzuki, Toshiya (鈴木俊哉) <mpsuzuki@hiroshima-u.ac.jp> <sssa@flavor1.ipc.hi
|
|||
Suzuki, Toshiya (鈴木俊哉) <mpsuzuki@hiroshima-u.ac.jp> sssa <sssa@IPA2004-mps.local>
|
||||
Suzuki, Toshiya (鈴木俊哉) <mpsuzuki@hiroshima-u.ac.jp> suzuki toshiya <mpsuzuki@hiroshima-u.ac.jp>
|
||||
Ben Wagner <bungeman@gmail.com> Bungeman <bungeman@gmail.com>
|
||||
Ewald Hew (Hew Yih Shiuan 丘毅宣) <ewaldhew@gmail.com>
|
||||
|
|
399
CMakeLists.txt
399
CMakeLists.txt
|
@ -1,6 +1,6 @@
|
|||
# CMakeLists.txt
|
||||
#
|
||||
# Copyright 2013-2017 by
|
||||
# Copyright 2013-2018 by
|
||||
# David Turner, Robert Wilhelm, and Werner Lemberg.
|
||||
#
|
||||
# Written originally by John Cary <cary@txcorp.com>
|
||||
|
@ -12,35 +12,40 @@
|
|||
# fully.
|
||||
#
|
||||
#
|
||||
# As a preliminary, create a compilation directory and change into it, for
|
||||
# example
|
||||
# The following will 1. create a build directory and 2. change into it and
|
||||
# call cmake to configure the build with default parameters as a static
|
||||
# library.
|
||||
#
|
||||
# mkdir ~/freetype2.compiled
|
||||
# cd ~/freetype2.compiled
|
||||
#
|
||||
# Now you can say
|
||||
#
|
||||
# cmake <path-to-freetype2-src-dir>
|
||||
#
|
||||
# to create a Makefile that builds a static version of the library.
|
||||
# cmake -E make_directory build
|
||||
# cmake -E chdir build cmake ..
|
||||
#
|
||||
# For a dynamic library, use
|
||||
#
|
||||
# cmake <path-to-freetype2-src-dir> -D BUILD_SHARED_LIBS:BOOL=true
|
||||
# cmake -E chdir build cmake -D BUILD_SHARED_LIBS:BOOL=true ..
|
||||
#
|
||||
# For a framework on OS X, use
|
||||
#
|
||||
# cmake <path-to-freetype2-src-dir> -D BUILD_FRAMEWORK:BOOL=true -G Xcode
|
||||
#
|
||||
# instead.
|
||||
# cmake -E chdir build cmake -G Xcode -D BUILD_FRAMEWORK:BOOL=true ..
|
||||
#
|
||||
# For an iOS static library, use
|
||||
#
|
||||
# cmake -D IOS_PLATFORM=OS -G Xcode <path-to-freetype2-src-dir>
|
||||
# cmake -E chdir build cmake -G Xcode -D IOS_PLATFORM=OS ..
|
||||
#
|
||||
# or
|
||||
#
|
||||
# cmake -D IOS_PLATFORM=SIMULATOR -G Xcode <path-to-freetype2-src-dir>
|
||||
# cmake -E chdir build cmake -G Xcode -D IOS_PLATFORM=SIMULATOR ..
|
||||
#
|
||||
# Finally, build the project with:
|
||||
#
|
||||
# cmake --build build
|
||||
#
|
||||
# Install it with
|
||||
#
|
||||
# (sudo) cmake --build build --target install
|
||||
#
|
||||
# A binary distribution can be made with
|
||||
#
|
||||
# cmake --build build --config Release --target package
|
||||
#
|
||||
# Please refer to the cmake manual for further options, in particular, how
|
||||
# to modify compilation and linking parameters.
|
||||
|
@ -59,28 +64,33 @@
|
|||
# . `CMakeLists.txt' is provided as-is since it is normally not used by the
|
||||
# developer team.
|
||||
#
|
||||
# . If you want to disable the automatic generation of the distribution
|
||||
# targets, add the `-D FREETYPE_NO_DIST=true' command line argument.
|
||||
#
|
||||
# . Set the `WITH_ZLIB', `WITH_BZip2', `WITH_PNG', and `WITH_HarfBuzz'
|
||||
# CMake variables to `ON' or `OFF' to force or skip using a dependency.
|
||||
# . Set the `FT_WITH_ZLIB', `FT_WITH_BZIP2', `FT_WITH_PNG', and
|
||||
# `FT_WITH_HARFBUZZ' CMake variables to `ON' to force using a dependency.
|
||||
# Leave a variable undefined (which is the default) to use the dependency
|
||||
# only if it is available. Example:
|
||||
# only if it is available. Set `CMAKE_DISABLE_FIND_PACKAGE_HarfBuzz=TRUE' to
|
||||
# disable a dependency completely (CMake package name, so `BZip2' instead of
|
||||
# `BZIP2'). Example:
|
||||
#
|
||||
# cmake ... -DWITH_ZLIB=ON -DWITH_HarfBuzz=OFF ...
|
||||
# cmake -DFT_WITH_ZLIB=ON -DCMAKE_DISABLE_FIND_PACKAGE_HarfBuzz=TRUE [...]
|
||||
#
|
||||
# . Installation of FreeType can be controlled with the CMake variables
|
||||
# `SKIP_INSTALL_HEADERS', `SKIP_INSTALL_LIBRARIES', and `SKIP_INSTALL_ALL'
|
||||
# (this is compatible with the same CMake variables in zlib's CMake
|
||||
# support).
|
||||
|
||||
# FreeType explicitly marks the API to be exported and relies on the compiler
|
||||
# to hide all other symbols. CMake supports a C_VISBILITY_PRESET property
|
||||
# starting with 2.8.12.
|
||||
cmake_minimum_required(VERSION 2.8.12)
|
||||
|
||||
cmake_minimum_required(VERSION 2.6)
|
||||
|
||||
if (NOT CMAKE_VERSION VERSION_LESS 3.3)
|
||||
# Allow symbol visibility settings also on static libraries. CMake < 3.3
|
||||
# only sets the propery on a shared library build.
|
||||
cmake_policy(SET CMP0063 NEW)
|
||||
endif ()
|
||||
|
||||
include(CheckIncludeFile)
|
||||
|
||||
|
||||
# CMAKE_TOOLCHAIN_FILE must be set before `project' is called, which
|
||||
# configures the base build environment and references the toolchain file
|
||||
if (APPLE)
|
||||
|
@ -116,30 +126,47 @@ else ()
|
|||
endif ()
|
||||
|
||||
|
||||
project(freetype)
|
||||
project(freetype C)
|
||||
|
||||
set(VERSION_MAJOR "2")
|
||||
set(VERSION_MINOR "9")
|
||||
set(VERSION_PATCH "0")
|
||||
|
||||
# SOVERSION scheme: CURRENT.AGE.REVISION
|
||||
# If there was an incompatible interface change:
|
||||
# Increment CURRENT. Set AGE and REVISION to 0
|
||||
# If there was a compatible interface change:
|
||||
# Increment AGE. Set REVISION to 0
|
||||
# If the source code was changed, but there were no interface changes:
|
||||
# Increment REVISION.
|
||||
set(LIBRARY_VERSION "6.16.0")
|
||||
set(LIBRARY_SOVERSION "6")
|
||||
|
||||
# These options mean "require x and complain if not found". They'll get
|
||||
# optionally found anyway. Use `-DCMAKE_DISABLE_FIND_PACKAGE_x=TRUE` to disable
|
||||
# searching for a packge entirely (x is the CMake package name, so "BZip2"
|
||||
# instead of "BZIP2").
|
||||
option(FT_WITH_ZLIB "Use system zlib instead of internal library." OFF)
|
||||
option(FT_WITH_BZIP2 "Support bzip2 compressed fonts." OFF)
|
||||
option(FT_WITH_PNG "Support PNG compressed OpenType embedded bitmaps." OFF)
|
||||
option(FT_WITH_HARFBUZZ "Improve auto-hinting of OpenType fonts." OFF)
|
||||
|
||||
if (WIN32 AND NOT MINGW AND BUILD_SHARED_LIBS)
|
||||
message(FATAL_ERROR "Building shared libraries on Windows needs MinGW")
|
||||
endif ()
|
||||
|
||||
# Disallow in-source builds
|
||||
if ("${PROJECT_BINARY_DIR}" STREQUAL "${PROJECT_SOURCE_DIR}")
|
||||
message(FATAL_ERROR
|
||||
"
|
||||
In-source builds are not permitted! Make a separate folder for"
|
||||
" building, e.g.,"
|
||||
"
|
||||
mkdir build; cd build; cmake .."
|
||||
"
|
||||
Before that, remove the files created by this failed run with"
|
||||
"
|
||||
rm -rf CMakeCache.txt CMakeFiles")
|
||||
"In-source builds are not permitted! Make a separate folder for"
|
||||
" building, e.g.,\n"
|
||||
" cmake -E make_directory build\n"
|
||||
" cmake -E chdir build cmake ..\n"
|
||||
"Before that, remove the files created by this failed run with\n"
|
||||
" cmake -E remove CMakeCache.txt\n"
|
||||
" cmake -E remove_directory CMakeFiles")
|
||||
endif ()
|
||||
|
||||
|
||||
# Add local cmake modules
|
||||
set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} ${PROJECT_SOURCE_DIR}/builds/cmake)
|
||||
list(APPEND CMAKE_MODULE_PATH ${PROJECT_SOURCE_DIR}/builds/cmake)
|
||||
|
||||
|
||||
if (BUILD_FRAMEWORK)
|
||||
|
@ -152,45 +179,32 @@ if (BUILD_FRAMEWORK)
|
|||
endif ()
|
||||
|
||||
|
||||
set(VERSION_MAJOR "2")
|
||||
set(VERSION_MINOR "7")
|
||||
set(VERSION_PATCH "1")
|
||||
|
||||
set(PROJECT_VERSION ${VERSION_MAJOR}.${VERSION_MINOR}.${VERSION_PATCH})
|
||||
set(SHARED_LIBRARY_VERSION ${VERSION_MAJOR}.${VERSION_MINOR})
|
||||
|
||||
|
||||
# Compiler definitions for building the library
|
||||
add_definitions(-DFT2_BUILD_LIBRARY)
|
||||
|
||||
|
||||
# Find dependencies
|
||||
foreach (d ZLIB BZip2 PNG HarfBuzz)
|
||||
string(TOUPPER "${d}" D)
|
||||
if (FT_WITH_HARFBUZZ)
|
||||
find_package(HarfBuzz 1.3.0 REQUIRED)
|
||||
else ()
|
||||
find_package(HarfBuzz 1.3.0)
|
||||
endif ()
|
||||
|
||||
if (DEFINED WITH_${d} OR DEFINED WITH_${D})
|
||||
if (WITH_${d} OR WITH_${D})
|
||||
find_package(${d} QUIET REQUIRED)
|
||||
endif ()
|
||||
else ()
|
||||
find_package(${d} QUIET)
|
||||
endif ()
|
||||
if (FT_WITH_PNG)
|
||||
find_package(PNG REQUIRED)
|
||||
else ()
|
||||
find_package(PNG)
|
||||
endif ()
|
||||
|
||||
if (${d}_FOUND OR ${D}_FOUND)
|
||||
message(STATUS "Building with ${d}")
|
||||
endif ()
|
||||
endforeach ()
|
||||
|
||||
|
||||
message(STATUS
|
||||
"Creating directory ${PROJECT_BINARY_DIR}/include/freetype/config")
|
||||
file(MAKE_DIRECTORY "${PROJECT_BINARY_DIR}/include/freetype/config")
|
||||
if (FT_WITH_ZLIB)
|
||||
find_package(ZLIB REQUIRED)
|
||||
else ()
|
||||
find_package(ZLIB)
|
||||
endif ()
|
||||
|
||||
if (FT_WITH_BZIP2)
|
||||
find_package(BZip2 REQUIRED)
|
||||
else ()
|
||||
find_package(BZip2)
|
||||
endif ()
|
||||
|
||||
# Create the configuration file
|
||||
message(STATUS
|
||||
"Creating file ${PROJECT_BINARY_DIR}/include/freetype/config/ftconfig.h")
|
||||
|
||||
if (UNIX)
|
||||
check_include_file("unistd.h" HAVE_UNISTD_H)
|
||||
check_include_file("fcntl.h" HAVE_FCNTL_H)
|
||||
|
@ -200,38 +214,27 @@ if (UNIX)
|
|||
FTCONFIG_H)
|
||||
if (HAVE_UNISTD_H)
|
||||
string(REGEX REPLACE
|
||||
"#undef +(HAVE_UNISTD_H)" "#define \\1"
|
||||
"#undef +(HAVE_UNISTD_H)" "#define \\1 1"
|
||||
FTCONFIG_H "${FTCONFIG_H}")
|
||||
endif ()
|
||||
if (HAVE_FCNTL_H)
|
||||
string(REGEX REPLACE
|
||||
"#undef +(HAVE_FCNTL_H)" "#define \\1"
|
||||
"#undef +(HAVE_FCNTL_H)" "#define \\1 1"
|
||||
FTCONFIG_H "${FTCONFIG_H}")
|
||||
endif ()
|
||||
if (HAVE_STDINT_H)
|
||||
string(REGEX REPLACE
|
||||
"#undef +(HAVE_STDINT_H)" "#define \\1"
|
||||
"#undef +(HAVE_STDINT_H)" "#define \\1 1"
|
||||
FTCONFIG_H "${FTCONFIG_H}")
|
||||
endif ()
|
||||
string(REPLACE "/undef " "#undef "
|
||||
FTCONFIG_H "${FTCONFIG_H}")
|
||||
file(WRITE "${PROJECT_BINARY_DIR}/include/freetype/config/ftconfig.h-new"
|
||||
"${FTCONFIG_H}")
|
||||
else ()
|
||||
file(READ "${PROJECT_SOURCE_DIR}/include/freetype/config/ftconfig.h"
|
||||
FTCONFIG_H)
|
||||
file(WRITE "${PROJECT_BINARY_DIR}/include/freetype/config/ftconfig.h-new"
|
||||
file(WRITE "${PROJECT_BINARY_DIR}/include/freetype/config/ftconfig.h"
|
||||
"${FTCONFIG_H}")
|
||||
endif ()
|
||||
execute_process(COMMAND ${CMAKE_COMMAND} -E copy_if_different
|
||||
"${PROJECT_BINARY_DIR}/include/freetype/config/ftconfig.h-new"
|
||||
"${PROJECT_BINARY_DIR}/include/freetype/config/ftconfig.h")
|
||||
|
||||
|
||||
# Create the options file
|
||||
message(STATUS
|
||||
"Creating file ${PROJECT_BINARY_DIR}/include/freetype/config/ftoption.h")
|
||||
|
||||
file(READ "${PROJECT_SOURCE_DIR}/include/freetype/config/ftoption.h"
|
||||
FTOPTION_H)
|
||||
if (ZLIB_FOUND)
|
||||
|
@ -254,16 +257,8 @@ if (HARFBUZZ_FOUND)
|
|||
"/\\* +(#define +FT_CONFIG_OPTION_USE_HARFBUZZ) +\\*/" "\\1"
|
||||
FTOPTION_H "${FTOPTION_H}")
|
||||
endif ()
|
||||
file(WRITE "${PROJECT_BINARY_DIR}/include/freetype/config/ftoption.h-new"
|
||||
file(WRITE "${PROJECT_BINARY_DIR}/include/freetype/config/ftoption.h"
|
||||
"${FTOPTION_H}")
|
||||
execute_process(COMMAND ${CMAKE_COMMAND} -E copy_if_different
|
||||
"${PROJECT_BINARY_DIR}/include/freetype/config/ftoption.h-new"
|
||||
"${PROJECT_BINARY_DIR}/include/freetype/config/ftoption.h")
|
||||
|
||||
|
||||
# Specify library include directories
|
||||
include_directories("${PROJECT_SOURCE_DIR}/include")
|
||||
include_directories(BEFORE "${PROJECT_BINARY_DIR}/include")
|
||||
|
||||
|
||||
file(GLOB PUBLIC_HEADERS "include/ft2build.h" "include/freetype/*.h")
|
||||
|
@ -278,13 +273,11 @@ set(BASE_SRCS
|
|||
src/base/ftbdf.c
|
||||
src/base/ftbitmap.c
|
||||
src/base/ftcid.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
|
||||
|
@ -316,22 +309,24 @@ set(BASE_SRCS
|
|||
)
|
||||
|
||||
if (WIN32)
|
||||
set(BASE_SRCS ${BASE_SRCS} builds/windows/ftdebug.c)
|
||||
enable_language(RC)
|
||||
list(APPEND BASE_SRCS builds/windows/ftdebug.c
|
||||
src/base/ftver.rc)
|
||||
elseif (WINCE)
|
||||
set(BASE_SRCS ${BASE_SRCS} builds/wince/ftdebug.c)
|
||||
list(APPEND BASE_SRCS builds/wince/ftdebug.c)
|
||||
else ()
|
||||
set(BASE_SRCS ${BASE_SRCS} src/base/ftdebug.c)
|
||||
list(APPEND BASE_SRCS src/base/ftdebug.c)
|
||||
endif ()
|
||||
|
||||
|
||||
if (BUILD_FRAMEWORK)
|
||||
set(BASE_SRCS
|
||||
${BASE_SRCS}
|
||||
builds/mac/freetype-Info.plist
|
||||
)
|
||||
list(APPEND BASE_SRCS builds/mac/freetype-Info.plist)
|
||||
endif ()
|
||||
|
||||
set(CMAKE_DEBUG_POSTFIX d)
|
||||
|
||||
if (NOT DISABLE_FORCE_DEBUG_POSTFIX)
|
||||
set(CMAKE_DEBUG_POSTFIX d)
|
||||
endif()
|
||||
|
||||
|
||||
add_library(freetype
|
||||
${PUBLIC_HEADERS}
|
||||
|
@ -340,15 +335,35 @@ add_library(freetype
|
|||
${BASE_SRCS}
|
||||
)
|
||||
|
||||
set_target_properties(
|
||||
freetype PROPERTIES
|
||||
C_VISIBILITY_PRESET hidden)
|
||||
|
||||
target_compile_definitions(
|
||||
freetype PRIVATE FT2_BUILD_LIBRARY)
|
||||
|
||||
if (WIN32)
|
||||
target_compile_definitions(
|
||||
freetype PRIVATE _CRT_SECURE_NO_WARNINGS _CRT_NONSTDC_NO_WARNINGS)
|
||||
endif ()
|
||||
|
||||
if (BUILD_SHARED_LIBS)
|
||||
set_target_properties(freetype PROPERTIES
|
||||
VERSION ${PROJECT_VERSION}
|
||||
SOVERSION ${SHARED_LIBRARY_VERSION}
|
||||
COMPILE_DEFINITIONS freetype_EXPORTS
|
||||
)
|
||||
VERSION ${LIBRARY_VERSION}
|
||||
SOVERSION ${LIBRARY_SOVERSION})
|
||||
endif ()
|
||||
|
||||
target_include_directories(
|
||||
freetype BEFORE # Pick up ftconfig.h and ftoption.h generated above.
|
||||
PRIVATE "${PROJECT_BINARY_DIR}/include")
|
||||
|
||||
target_include_directories(
|
||||
freetype
|
||||
PRIVATE "${PROJECT_SOURCE_DIR}/include")
|
||||
|
||||
target_include_directories(
|
||||
freetype
|
||||
PUBLIC $<INSTALL_INTERFACE:include/freetype2>)
|
||||
|
||||
if (BUILD_FRAMEWORK)
|
||||
set_property(SOURCE ${PUBLIC_CONFIG_HEADERS}
|
||||
|
@ -362,91 +377,121 @@ if (BUILD_FRAMEWORK)
|
|||
)
|
||||
endif ()
|
||||
|
||||
if (NOT CMAKE_VERSION VERSION_LESS 2.8.12)
|
||||
target_include_directories(freetype
|
||||
PUBLIC $<INSTALL_INTERFACE:include/freetype2>)
|
||||
endif ()
|
||||
|
||||
if (CMAKE_VERSION VERSION_LESS 2.8.12)
|
||||
set(MAYBE_PRIVATE "")
|
||||
else ()
|
||||
set(MAYBE_PRIVATE "PRIVATE")
|
||||
endif ()
|
||||
set(PKG_CONFIG_REQUIRED_PRIVATE "")
|
||||
|
||||
if (ZLIB_FOUND)
|
||||
target_link_libraries(freetype ${MAYBE_PRIVATE} ${ZLIB_LIBRARIES})
|
||||
include_directories(${ZLIB_INCLUDE_DIRS})
|
||||
target_link_libraries(freetype PRIVATE ${ZLIB_LIBRARIES})
|
||||
target_include_directories(freetype PRIVATE ${ZLIB_INCLUDE_DIRS})
|
||||
list(APPEND PKG_CONFIG_REQUIRED_PRIVATE zlib)
|
||||
endif ()
|
||||
if (BZIP2_FOUND)
|
||||
target_link_libraries(freetype ${MAYBE_PRIVATE} ${BZIP2_LIBRARIES})
|
||||
include_directories(${BZIP2_INCLUDE_DIR}) # not BZIP2_INCLUDE_DIRS
|
||||
target_link_libraries(freetype PRIVATE ${BZIP2_LIBRARIES})
|
||||
target_include_directories(freetype PRIVATE ${BZIP2_INCLUDE_DIR}) # not BZIP2_INCLUDE_DIRS
|
||||
list(APPEND PKG_CONFIG_REQUIRED_PRIVATE bzip2)
|
||||
endif ()
|
||||
if (PNG_FOUND)
|
||||
add_definitions(${PNG_DEFINITIONS})
|
||||
target_link_libraries(freetype ${MAYBE_PRIVATE} ${PNG_LIBRARIES})
|
||||
include_directories(${PNG_INCLUDE_DIRS})
|
||||
target_link_libraries(freetype PRIVATE ${PNG_LIBRARIES})
|
||||
target_compile_definitions(freetype PRIVATE ${PNG_DEFINITIONS})
|
||||
target_include_directories(freetype PRIVATE ${PNG_INCLUDE_DIRS})
|
||||
list(APPEND PKG_CONFIG_REQUIRED_PRIVATE libpng)
|
||||
endif ()
|
||||
if (HARFBUZZ_FOUND)
|
||||
target_link_libraries(freetype ${MAYBE_PRIVATE} ${HARFBUZZ_LIBRARIES})
|
||||
include_directories(${HARFBUZZ_INCLUDE_DIRS})
|
||||
target_link_libraries(freetype PRIVATE ${HARFBUZZ_LIBRARIES})
|
||||
target_include_directories(freetype PRIVATE ${HARFBUZZ_INCLUDE_DIRS})
|
||||
list(APPEND PKG_CONFIG_REQUIRED_PRIVATE harfbuzz)
|
||||
endif ()
|
||||
|
||||
|
||||
# Installations
|
||||
# Note the trailing slash in the argument to the `DIRECTORY' directive
|
||||
# Installation
|
||||
include(GNUInstallDirs)
|
||||
|
||||
if (NOT SKIP_INSTALL_HEADERS AND NOT SKIP_INSTALL_ALL)
|
||||
install(DIRECTORY ${PROJECT_SOURCE_DIR}/include/
|
||||
DESTINATION include/freetype2
|
||||
PATTERN "internal" EXCLUDE
|
||||
PATTERN "ftconfig.h" EXCLUDE
|
||||
PATTERN "ftoption.h" EXCLUDE
|
||||
)
|
||||
install(FILES
|
||||
${PROJECT_BINARY_DIR}/include/freetype/config/ftconfig.h
|
||||
${PROJECT_BINARY_DIR}/include/freetype/config/ftoption.h
|
||||
DESTINATION include/freetype2/freetype/config
|
||||
)
|
||||
install(
|
||||
# Note the trailing slash in the argument to `DIRECTORY'!
|
||||
DIRECTORY ${PROJECT_SOURCE_DIR}/include/
|
||||
DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/freetype2
|
||||
COMPONENT headers
|
||||
PATTERN "internal" EXCLUDE
|
||||
PATTERN "ftconfig.h" EXCLUDE
|
||||
PATTERN "ftoption.h" EXCLUDE)
|
||||
install(
|
||||
FILES ${PROJECT_BINARY_DIR}/include/freetype/config/ftconfig.h
|
||||
${PROJECT_BINARY_DIR}/include/freetype/config/ftoption.h
|
||||
DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/freetype2/freetype/config
|
||||
COMPONENT headers)
|
||||
endif ()
|
||||
|
||||
if (NOT SKIP_INSTALL_LIBRARIES AND NOT SKIP_INSTALL_ALL)
|
||||
install(TARGETS freetype
|
||||
# Generate the pkg-config file
|
||||
if (UNIX)
|
||||
file(READ ${PROJECT_SOURCE_DIR}/builds/unix/freetype2.in FREETYPE2_PC_IN)
|
||||
|
||||
string(REPLACE ";" ", " PKG_CONFIG_REQUIRED_PRIVATE "${PKG_CONFIG_REQUIRED_PRIVATE}")
|
||||
|
||||
string(REPLACE "%prefix%" ${CMAKE_INSTALL_PREFIX}
|
||||
FREETYPE2_PC_IN ${FREETYPE2_PC_IN})
|
||||
string(REPLACE "%exec_prefix%" "\${prefix}"
|
||||
FREETYPE2_PC_IN ${FREETYPE2_PC_IN})
|
||||
string(REPLACE "%libdir%" "\${prefix}/${CMAKE_INSTALL_LIBDIR}"
|
||||
FREETYPE2_PC_IN ${FREETYPE2_PC_IN})
|
||||
string(REPLACE "%includedir%" "\${prefix}/${CMAKE_INSTALL_INCLUDEDIR}"
|
||||
FREETYPE2_PC_IN ${FREETYPE2_PC_IN})
|
||||
string(REPLACE "%ft_version%" "${VERSION_MAJOR}.${VERSION_MINOR}.${VERSION_PATCH}"
|
||||
FREETYPE2_PC_IN ${FREETYPE2_PC_IN})
|
||||
string(REPLACE "%REQUIRES_PRIVATE%" "${PKG_CONFIG_REQUIRED_PRIVATE}"
|
||||
FREETYPE2_PC_IN ${FREETYPE2_PC_IN})
|
||||
string(REPLACE "%LIBS_PRIVATE%" "" # All libs support pkg-config
|
||||
FREETYPE2_PC_IN ${FREETYPE2_PC_IN})
|
||||
|
||||
file(WRITE ${PROJECT_BINARY_DIR}/freetype2.pc ${FREETYPE2_PC_IN})
|
||||
|
||||
install(
|
||||
FILES ${PROJECT_BINARY_DIR}/freetype2.pc
|
||||
DESTINATION ${CMAKE_INSTALL_LIBDIR}/pkgconfig
|
||||
COMPONENT pkgconfig)
|
||||
endif ()
|
||||
|
||||
install(
|
||||
TARGETS freetype
|
||||
EXPORT freetype-targets
|
||||
LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}
|
||||
ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR}
|
||||
FRAMEWORK DESTINATION Library/Frameworks
|
||||
COMPONENT libraries)
|
||||
install(
|
||||
EXPORT freetype-targets
|
||||
RUNTIME DESTINATION bin
|
||||
LIBRARY DESTINATION lib
|
||||
ARCHIVE DESTINATION lib
|
||||
FRAMEWORK DESTINATION Library/Frameworks
|
||||
)
|
||||
install(EXPORT freetype-targets
|
||||
DESTINATION lib/cmake/freetype
|
||||
FILE freetype-config.cmake
|
||||
)
|
||||
DESTINATION ${CMAKE_INSTALL_LIBDIR}/cmake/freetype
|
||||
FILE freetype-config.cmake
|
||||
COMPONENT headers)
|
||||
endif ()
|
||||
|
||||
|
||||
# Packaging
|
||||
# CPack version numbers for release tarball name.
|
||||
set(CPACK_PACKAGE_NAME ${CMAKE_PROJECT_NAME})
|
||||
set(CPACK_PACKAGE_DESCRIPTION_SUMMARY "The FreeType font rendering library.")
|
||||
set(CPACK_PACKAGE_DESCRIPTION_FILE "${CMAKE_CURRENT_SOURCE_DIR}/README")
|
||||
set(CPACK_RESOURCE_FILE_LICENSE "${CMAKE_CURRENT_SOURCE_DIR}/docs/LICENSE.TXT")
|
||||
|
||||
set(CPACK_PACKAGE_VERSION_MAJOR ${VERSION_MAJOR})
|
||||
set(CPACK_PACKAGE_VERSION_MINOR ${VERSION_MINOR})
|
||||
set(CPACK_PACKAGE_VERSION_PATCH ${VERSION_PATCH}})
|
||||
if (NOT DEFINED CPACK_PACKAGE_DESCRIPTION_SUMMARY)
|
||||
set(CPACK_PACKAGE_DESCRIPTION_SUMMARY "${CMAKE_PROJECT_NAME}")
|
||||
endif ()
|
||||
if (NOT DEFINED CPACK_SOURCE_PACKAGE_FILE_NAME)
|
||||
set(CPACK_SOURCE_PACKAGE_FILE_NAME
|
||||
"${CMAKE_PROJECT_NAME}-${PROJECT_VERSION}-r${PROJECT_REV}"
|
||||
CACHE INTERNAL "tarball basename"
|
||||
)
|
||||
endif ()
|
||||
set(CPACK_SOURCE_GENERATOR TGZ)
|
||||
set(CPACK_SOURCE_IGNORE_FILES
|
||||
"/CVS/;/.svn/;.swp$;.#;/#;/build/;/serial/;/ser/;/parallel/;/par/;~;/preconfig.out;/autom4te.cache/;/.config")
|
||||
set(CPACK_GENERATOR TGZ)
|
||||
set(CPACK_PACKAGE_VERSION_PATCH ${VERSION_PATCH})
|
||||
set(CPACK_PACKAGE_VERSION "${CPACK_PACKAGE_VERSION_MAJOR}.${CPACK_PACKAGE_VERSION_MINOR}.${CPACK_PACKAGE_VERSION_PATCH}")
|
||||
|
||||
if (WIN32)
|
||||
set(CPACK_GENERATOR ZIP)
|
||||
else()
|
||||
set(CPACK_GENERATOR TGZ)
|
||||
endif()
|
||||
|
||||
set(CPACK_COMPONENT_LIBRARIES_DISPLAY_NAME "Libraries")
|
||||
set(CPACK_COMPONENT_HEADERS_DISPLAY_NAME "C/C++ Headers")
|
||||
set(CPACK_COMPONENT_LIBRARIES_DESCRIPTION
|
||||
"Library used to build programs which use FreeType")
|
||||
set(CPACK_COMPONENT_HEADERS_DESCRIPTION
|
||||
"C/C++ header files for use with FreeType")
|
||||
set(CPACK_COMPONENT_HEADERS_DEPENDS libraries)
|
||||
set(CPACK_COMPONENT_LIBRARIES_GROUP "Development")
|
||||
set(CPACK_COMPONENT_HEADERS_GROUP "Development")
|
||||
|
||||
include(CPack)
|
||||
|
||||
|
||||
# Add `make dist' target if FREETYPE_DIST is set (which is the default)
|
||||
if (NOT DEFINED FREETYPE_NO_DIST)
|
||||
add_custom_target(dist COMMAND ${CMAKE_MAKE_PROGRAM} package_source)
|
||||
endif ()
|
||||
|
||||
# eof
|
||||
|
|
|
@ -1338,7 +1338,7 @@
|
|||
(cff_compute_bias): Use `U' for constant.
|
||||
* src/cid/cidload.c (cid_decrypt): Ditto.
|
||||
* src/psaux/psobjs.c (T1_Decrypt): Ditto.
|
||||
* src/psaux/t1decode.c (T1_Decoder_Parse_CharStrings): Ditto.
|
||||
* src/psaux/t1decode.c (T1_Decoder_Parse_Charstrings): Ditto.
|
||||
* src/sfnt/ttload.c (TT_Load_Kern): Remove unused `version'
|
||||
variable.
|
||||
* src/sfnt/ttsbit.c (TT_Load_SBit_Image): Remove unused `top'
|
||||
|
@ -1524,7 +1524,7 @@
|
|||
|
||||
* src/base/ftcalc.c (FT_DivFix): Fixed a bug in the 64-bit code that
|
||||
created incorrect scale factors!
|
||||
(FT_Round_Fix, FT_CeilFix, FT_FloorFix): Minor improvements.
|
||||
(FT_RoundFix, FT_CeilFix, FT_FloorFix): Minor improvements.
|
||||
|
||||
2001-05-12 Werner Lemberg <wl@gnu.org>
|
||||
|
||||
|
@ -2597,7 +2597,7 @@
|
|||
|
||||
----------------------------------------------------------------------------
|
||||
|
||||
Copyright 2000-2017 by
|
||||
Copyright 2000-2018 by
|
||||
David Turner, Robert Wilhelm, and Werner Lemberg.
|
||||
|
||||
This file is part of the FreeType project, and may only be used, modified,
|
||||
|
|
45
ChangeLog.21
45
ChangeLog.21
|
@ -617,7 +617,7 @@
|
|||
`ft_get_adobe_glyph_index', a new function defined in `pstables.h'.
|
||||
(ps_get_macintosh_name, ps_get_standard_strings): Updated.
|
||||
|
||||
* src/base/ftobjs.c (FT_Set_Char_Sizes): Handle fractional sizes
|
||||
* src/base/ftobjs.c (FT_Set_Char_Size): Handle fractional sizes
|
||||
more carefully. This fixes Savannah bug #12263.
|
||||
|
||||
2005-03-06 David Turner <david@freetype.org>
|
||||
|
@ -1819,7 +1819,7 @@
|
|||
2004-08-11 Detlef Würkner <TetiSoft@apg.lahn.de>
|
||||
|
||||
* src/base/ftrfork.c (FT_Raccess_Guess)
|
||||
[!FT_CONFIG_OPTION_GUESSING_EMBEDDED_FORK]: Remove compiler
|
||||
[!FT_CONFIG_OPTION_GUESSING_EMBEDDED_RFORK]: Remove compiler
|
||||
warnings.
|
||||
|
||||
2004-08-06 Adam Piotrowski <st_intel@poczta.onet.pl>
|
||||
|
@ -2101,7 +2101,7 @@
|
|||
|
||||
2004-06-08 David Turner <david@freetype.org>
|
||||
|
||||
* include/freetype/freetype.h (FT_GlyphMetrics): Move `lsb_delta'
|
||||
* include/freetype/freetype.h (FT_Glyph_Metrics): Move `lsb_delta'
|
||||
and `rsb_delta' elements to...
|
||||
(FT_GlyphSlotRec): Here to retain binary compatibility with older
|
||||
FreeType versions.
|
||||
|
@ -2864,7 +2864,7 @@
|
|||
(psh_blues_snap_stem): Don't use blue_shift but blue_threshold.
|
||||
|
||||
* src/pshinter/pshalgo.c (PSH_STRONG_THRESHOLD_MAXIMUM): New macro.
|
||||
(psh_glyph_find_string_points): Use PSH_STRONG_THRESHOLD_MAXIMUM.
|
||||
(psh_glyph_find_strong_points): Use PSH_STRONG_THRESHOLD_MAXIMUM.
|
||||
(psh_glyph_find_blue_points): New function. Needed for fonts like
|
||||
p052003l.pfb (URW Palladio L Roman) which have flex curves at the
|
||||
base line within blue zones, but the flex curves aren't covered by
|
||||
|
@ -3361,7 +3361,7 @@
|
|||
|
||||
* src/base/ftstroke.c: Include FT_INTERNAL_OBJECTS_H.
|
||||
(FT_Outline_GetOutsideBorder): Inverse result.
|
||||
(FT_Stroker_Rewind, FT_Glyph_Stroke, FT_GlyphStrokeBorder): New
|
||||
(FT_Stroker_Rewind, FT_Glyph_Stroke, FT_Glyph_StrokeBorder): New
|
||||
functions.
|
||||
(FT_Stroker_EndSubPath): Close path if needed.
|
||||
(FT_Stroker_Set, FT_Stroker_ParseOutline): Use FT_Stroker_Rewind.
|
||||
|
@ -3493,8 +3493,8 @@
|
|||
2003-12-23 David Turner <david@freetype.org>
|
||||
|
||||
* include/freetype/internal/ftobjs.h (FT_PAD_FLOOR, FT_PAD_ROUND,
|
||||
FT_PAD_CEIL, FT_PIX_FLOOR, FT_PIX_ROUND, FT_CEIL): New macros. They
|
||||
are used to avoid compiler warnings with very pedantic compilers.
|
||||
FT_PAD_CEIL, FT_PIX_FLOOR, FT_PIX_ROUND, FT_PIX_CEIL): New macros.
|
||||
They are used to avoid compiler warnings with very pedantic compilers.
|
||||
Note that `(x) & -64' causes a warning if (x) is not signed. Use
|
||||
`(x) & ~63' instead!
|
||||
Updated all related code.
|
||||
|
@ -4231,7 +4231,7 @@
|
|||
(t42_parse_encoding): Use `ft_isdigit'.
|
||||
|
||||
|
||||
* src/base/ftmm.c (ft_face_get_mm_service): Return FT_Err_OK if
|
||||
* src/base/ftmm.c (ft_face_get_mm_service): Return FT_Err_Ok if
|
||||
success.
|
||||
|
||||
2003-10-05 Werner Lemberg <wl@gnu.org>
|
||||
|
@ -4749,8 +4749,7 @@
|
|||
* include/freetype/ttunpat.h: Fixing documentation comment.
|
||||
|
||||
* include/freetype/config/ftoption.h, devel/ftoption.h
|
||||
(TT_CONFIG_OPTION_OPTION_COMPILE_UNPATENTED_HINTING): Replaced
|
||||
with...
|
||||
(TT_CONFIG_OPTION_COMPILE_UNPATENTED_HINTING): Replaced with...
|
||||
(TT_CONFIG_OPTION_UNPATENTED_HINTING): This. Updated all users.
|
||||
(TT_CONFIG_OPTION_FORCE_UNPATENTED_HINTING): Removed.
|
||||
|
||||
|
@ -5024,7 +5023,7 @@
|
|||
drivers.
|
||||
|
||||
* src/base/ftobjs.c (FT_Set_Char_Size): Remove redundant code.
|
||||
(FT_Set_Pixel_Size): Assign value to `metrics' after validation of
|
||||
(FT_Set_Pixel_Sizes): Assign value to `metrics' after validation of
|
||||
arguments.
|
||||
|
||||
2003-06-20 Werner Lemberg <wl@gnu.org>
|
||||
|
@ -5200,7 +5199,7 @@
|
|||
* src/cid/cidload.c (cid_load_keyword): Handle
|
||||
T1_FIELD_LOCATION_BBOX.
|
||||
(parse_font_bbox): Commented out.
|
||||
(cid_field_record): Comment out element for parsing FontBBox.
|
||||
(cid_field_records): Comment out element for parsing FontBBox.
|
||||
|
||||
* src/type42/t42parse.c (t42_parse_font_bbox): Commented out.
|
||||
(t42_keywords): Handle FontBBox with T1_FIELD_BBOX, not with
|
||||
|
@ -5916,7 +5915,7 @@
|
|||
2003-04-23 Werner Lemberg <wl@gnu.org>
|
||||
|
||||
* src/pfr/pfrload.c (pfr_extra_item_load_font_id): Use FT_PtrDist
|
||||
instead of FT_Uint for `len'.
|
||||
instead of FT_UInt for `len'.
|
||||
|
||||
2003-04-22 Werner Lemberg <wl@gnu.org>
|
||||
|
||||
|
@ -6550,7 +6549,7 @@
|
|||
* src/cache/ftcsbits.c (ftc_sbit_node_load): Fixed a small bug that
|
||||
caused problems with embedded bitmaps.
|
||||
|
||||
* src/otlayout/otlayout.h, src/otlyaout/otlconf.h,
|
||||
* src/otlayout/otlayout.h, src/otlayout/otlconf.h,
|
||||
src/otlayout/otlgsub.c, src/otlayout/otlgsub.h,
|
||||
src/otlayout/otlparse.c, src/otlayout/otlparse.h,
|
||||
src/otlayout/otlutils.h: Updating the OpenType Layout code, adding
|
||||
|
@ -6996,7 +6995,7 @@
|
|||
|
||||
2002-09-08 David Turner <david@freetype.org>
|
||||
|
||||
Various updates to correctly support sub-pixel rendering.
|
||||
Various updates to correctly support subpixel rendering.
|
||||
|
||||
* include/freetype/config/ftmodule.h: Add two renderers for LCD.
|
||||
|
||||
|
@ -7376,7 +7375,7 @@
|
|||
|
||||
* src/pcf/pcfdriver.c (PCF_Glyph_Load): Fix computation of
|
||||
horiBearingX.
|
||||
* src/bdf/bdfdrivr.c (BDF_GlyphLoad): Fix computation of
|
||||
* src/bdf/bdfdrivr.c (BDF_Glyph_Load): Fix computation of
|
||||
horiBearingY.
|
||||
|
||||
2002-08-16 George Williams <gww@silcom.com>
|
||||
|
@ -7603,7 +7602,7 @@
|
|||
|
||||
* src/cid/cidriver.c (Cid_Get_Char_Index, Cid_Get_Next_Char):
|
||||
Removed.
|
||||
(t1_cid_driver_class): Updated.
|
||||
(t1cid_driver_class): Updated.
|
||||
* src/truetype/ttdriver.c (tt_driver_class): Updated.
|
||||
* src/type1/t1driver.c (Get_Char_Index, Get_Next_Char): Removed
|
||||
(t1_driver_class): Updated.
|
||||
|
@ -7698,7 +7697,7 @@
|
|||
CFF_Done_SubFont -> cff_subfont_done
|
||||
CFF_Load_Font -> cff_font_load
|
||||
CFF_Done_Font -> cff_font_done
|
||||
CFF_Size_Get_Global_Funcs -> cff_size_get_global_funcs
|
||||
CFF_Size_Get_Globals_Funcs -> cff_size_get_globals_funcs
|
||||
CFF_Size_Done -> cff_size_done
|
||||
CFF_Size_Init -> cff_size_init
|
||||
CFF_Size_Reset -> cff_size_reset
|
||||
|
@ -9063,7 +9062,7 @@
|
|||
FT_Glyph_Name_Requester => FT_Face_GetGlyphNameFunc
|
||||
FT_Name_Index_Requester => FT_Face_GetGlyphNameIndexFunc
|
||||
|
||||
* src/base/ftapi.c: New file. It contains backwards compatibility
|
||||
* src/base/ftapi.c: New file. It contains backward compatibility
|
||||
functions.
|
||||
|
||||
* include/freetype/internal/psaux.h, src/cid/cidload.c,
|
||||
|
@ -9106,7 +9105,7 @@
|
|||
FT_Realloc_Debug, FT_Free_Debug): Fix compiler warnings.
|
||||
* src/base/ftcalc.c (FT_MulFix): Ditto.
|
||||
* src/cff/cffdrivr.c (cff_get_name_index): Ditto.
|
||||
* src/cff/cffobjs.c (CFF_Size_Get_Global_Funcs, CFF_Size_Init,
|
||||
* src/cff/cffobjs.c (CFF_Size_Get_Globals_Funcs, CFF_Size_Init,
|
||||
CFF_GlyphSlot_Init): Ditto.
|
||||
* src/cid/cidobjs.c (CID_GlyphSlot_Init,
|
||||
CID_Size_Get_Globals_Funcs): Ditto.
|
||||
|
@ -9247,7 +9246,7 @@
|
|||
{
|
||||
} PS_StructRec, *PS_Struct;
|
||||
|
||||
typedef PS_StructRec T1_Struct; /* backwards-compatibility */
|
||||
typedef PS_StructRec T1_Struct; /* backward compatibility */
|
||||
|
||||
Hence, we increase the coherency of the source code by effectively
|
||||
using the `Rec' prefix for structure types.
|
||||
|
@ -9384,7 +9383,7 @@
|
|||
* src/pcf/pcfread.c (pcf_seek_to_table_type): Ditto.
|
||||
* src/sfnt/sfdriver.c (get_sfnt_postscript_name): Ditto.
|
||||
(pcf_get_bitmaps): The same for `sizebitmaps'.
|
||||
* src/psaux/t1decode.c (T1_Decode_Parse_Charstrings): The same for
|
||||
* src/psaux/t1decode.c (T1_Decoder_Parse_Charstrings): The same for
|
||||
`orig_y'.
|
||||
(t1operator_seac): Comment out more dead code.
|
||||
* src/pshinter/pshalgo2.c (ps2_hints_apply): Add `DEBUG_HINTER'
|
||||
|
@ -9423,7 +9422,7 @@
|
|||
|
||||
----------------------------------------------------------------------------
|
||||
|
||||
Copyright 2002-2017 by
|
||||
Copyright 2002-2018 by
|
||||
David Turner, Robert Wilhelm, and Werner Lemberg.
|
||||
|
||||
This file is part of the FreeType project, and may only be used, modified,
|
||||
|
|
16
ChangeLog.22
16
ChangeLog.22
|
@ -189,7 +189,7 @@
|
|||
|
||||
* src/base/ftdbgmem.c (_ft_debug_file, _ft_debug_lineno)
|
||||
[FT_DEBUG_MEMORY]: New global variables, replacing...
|
||||
(FT_MemTable_Rec) [FT_DEBUG_MEMORY]: Remove `filename' and
|
||||
(FT_MemTableRec) [FT_DEBUG_MEMORY]: Remove `filename' and
|
||||
`line_no'. Update all callers.
|
||||
(ft_mem_debug_alloc) [FT_DEBUG_MEMORY]: Avoid possible integer
|
||||
overflow.
|
||||
|
@ -494,7 +494,7 @@
|
|||
FTC_MruList_Init, FTC_MruList_Reset, FTC_MruList_Done,
|
||||
FTC_MruList_New, FTC_MruList_Remove, FTC_MruList_RemoveSelection):
|
||||
Declare as FT_LOCAL_DEF.
|
||||
(FTC_MruListFind, FTC_MruList_Lookup) [!FTC_INLINE]: Compile
|
||||
(FTC_MruList_Find, FTC_MruList_Lookup) [!FTC_INLINE]: Compile
|
||||
conditionally.
|
||||
Declare as FT_LOCAL_DEF.
|
||||
|
||||
|
@ -605,14 +605,14 @@
|
|||
|
||||
* docs/release: Minor additions and clarifications.
|
||||
|
||||
* docs/CHANGES: Updated to reflect many fixes for backwards
|
||||
* docs/CHANGES: Updated to reflect many fixes for backward
|
||||
compatibility. Still incomplete.
|
||||
|
||||
2006-02-26 David Turner <david@freetype.org>
|
||||
|
||||
* src/base/ftobjs.c (ft_recompute_scaled_metrics): Re-enable
|
||||
conservative rounding of metrics to avoid breaking clients like
|
||||
Pango (see http://bugzilla.gnome.org/show_bug.cgi?id=327852).
|
||||
Pango (see https://bugzilla.gnome.org/show_bug.cgi?id=327852).
|
||||
|
||||
2006-02-25 Werner Lemberg <wl@gnu.org>
|
||||
|
||||
|
@ -814,7 +814,7 @@
|
|||
* include/freetype/ftcache.h (FTC_IMAGE_TYPE_COMPARE,
|
||||
FTC_IMAGE_TYPE_HASH), src/cache/ftcbasic.c (FTC_OldFontRec,
|
||||
FTC_OldImageDescRec, FTC_ImageCache_Lookup, FTC_Image_Cache_New,
|
||||
FTC_OldImage_Desc, FTC_OLD_IMAGE_FORMAT, ftc_old_image_xxx,
|
||||
FTC_OldImageDesc, FTC_OLD_IMAGE_FORMAT, ftc_old_image_xxx,
|
||||
ftc_image_type_from_old_desc, FTC_Image_Cache_Lookup,
|
||||
FTC_SBitCache_Lookup, FTC_SBit_Cache_New, FTC_SBit_Cache_Lookup)
|
||||
[FT_CONFIG_OPTION_OLD_INTERNALS]: Try to revive old functions of the
|
||||
|
@ -2318,7 +2318,7 @@
|
|||
|
||||
Further information on the SING Glyphlet format can be found at:
|
||||
|
||||
http://www.adobe.com/products/indesign/sing_gaiji.html
|
||||
https://www.adobe.com/content/dam/acom/en/devnet/font/pdfs/5148.SING_Tutorial.pdf
|
||||
|
||||
* include/freetype/tttags.h (TTAG_SING, TTAG_META): New macros for
|
||||
the OpenType tables `SING' and `META'. These two tables are used in
|
||||
|
@ -2787,7 +2787,7 @@
|
|||
2005-06-15 Kirill Smelkov <kirr@mns.spb.ru>
|
||||
|
||||
The next release will be 2.2.0, so don't worry about source code
|
||||
backwards compatibility.
|
||||
backward compatibility.
|
||||
|
||||
* include/freetype/ftimage.h (FT_Outline_MoveToFunc,
|
||||
FT_Outline_LineToFunc, FT_Outline_ConicToFunc,
|
||||
|
@ -2821,7 +2821,7 @@
|
|||
|
||||
----------------------------------------------------------------------------
|
||||
|
||||
Copyright 2005-2017 by
|
||||
Copyright 2005-2018 by
|
||||
David Turner, Robert Wilhelm, and Werner Lemberg.
|
||||
|
||||
This file is part of the FreeType project, and may only be used, modified,
|
||||
|
|
72
ChangeLog.23
72
ChangeLog.23
|
@ -43,7 +43,7 @@
|
|||
* src/base/ftoutln.c (FT_Outline_New_Internal): The length of
|
||||
FT_Outline->points[] should be numPoints, not 2 * numPoints.
|
||||
Found by Paul Messmer, see
|
||||
http://lists.gnu.org/archive/html/freetype-devel/2010-02/msg00003.html
|
||||
https://lists.gnu.org/archive/html/freetype-devel/2010-02/msg00003.html
|
||||
|
||||
2010-02-10 Ken Sharp <ken.sharp@artifex.com>
|
||||
|
||||
|
@ -108,7 +108,7 @@
|
|||
Preferred family names should be used for legacy systems that
|
||||
can hold only a few faces (<= 4) for a family name. Suggested by
|
||||
Andreas Heinrich.
|
||||
http://lists.gnu.org/archive/html/freetype/2010-01/msg00001.html
|
||||
https://lists.gnu.org/archive/html/freetype/2010-01/msg00001.html
|
||||
|
||||
* include/freetype/ftsnames.h (FT_PARAM_TAG_IGNORE_PREFERRED_FAMILY,
|
||||
FT_PARAM_TAG_IGNORE_PREFERRED_SUBFAMILY): Define.
|
||||
|
@ -631,7 +631,7 @@
|
|||
The issue of incompatible cast between unsigned long and void*
|
||||
on LLP64 platform is reported by NightStrike from MinGW-Win64
|
||||
project. See
|
||||
http://lists.gnu.org/archive/html/freetype/2009-09/msg00000.html
|
||||
https://lists.gnu.org/archive/html/freetype/2009-09/msg00000.html
|
||||
|
||||
* src/bdf/bdf.h: The type of hashnode->data is changed from
|
||||
void* to size_t.
|
||||
|
@ -657,7 +657,7 @@
|
|||
On LLP64 platform, the conversion from pointer to FT_Fixed need
|
||||
to drop higher 32-bit. Explicit casts are required. Reported by
|
||||
NightStrike from MinGW-w64 project. See
|
||||
http://lists.gnu.org/archive/html/freetype/2009-09/msg00000.html
|
||||
https://lists.gnu.org/archive/html/freetype/2009-09/msg00000.html
|
||||
|
||||
* src/cff/cffgload.c: Convert the pointers to FT_Fixed explicitly.
|
||||
|
||||
|
@ -864,7 +864,7 @@
|
|||
LP64 systems: Higher bits are not used.
|
||||
16-bit systems: Drop can occur.
|
||||
See
|
||||
http://lists.gnu.org/archive/html/freetype-devel/2008-12/msg00065.html
|
||||
https://lists.gnu.org/archive/html/freetype-devel/2008-12/msg00065.html
|
||||
These functions will be refined to take FT_ULong flags in
|
||||
next bump with incompatible API change.
|
||||
|
||||
|
@ -929,7 +929,7 @@
|
|||
type1: Fix a data type mismatching with its source.
|
||||
|
||||
* include/freetype/internal/t1types.h: The type of
|
||||
T1_Face->buildchar is matched with T1_Decorder->top.
|
||||
T1_Face->buildchar is matched with T1_Decoder->top.
|
||||
|
||||
2009-07-31 suzuki toshiya <mpsuzuki@hiroshima-u.ac.jp>
|
||||
|
||||
|
@ -975,8 +975,8 @@
|
|||
psaux: Fix a data type mismatching with its source.
|
||||
|
||||
* include/freetype/internal/psaux.h: The type of
|
||||
T1_DecorderRec.buildchar is matched with
|
||||
T1_DecorderRec.top.
|
||||
T1_DecoderRec.buildchar is matched with
|
||||
T1_DecoderRec.top.
|
||||
|
||||
2009-07-31 suzuki toshiya <mpsuzuki@hiroshima-u.ac.jp>
|
||||
|
||||
|
@ -1765,7 +1765,7 @@
|
|||
ftgzip.c by FT2 are enabled by default. To use
|
||||
zlib zcalloc() & zfree(), define USE_ZLIB_ZCALLOC.
|
||||
See discussion:
|
||||
http://lists.gnu.org/archive/html/freetype-devel/2009-02/msg00000.html
|
||||
https://lists.gnu.org/archive/html/freetype-devel/2009-02/msg00000.html
|
||||
|
||||
2009-07-31 suzuki toshiya <mpsuzuki@hiroshima-u.ac.jp>
|
||||
|
||||
|
@ -1904,7 +1904,7 @@
|
|||
2009-07-15 suzuki toshiya <mpsuzuki@hiroshima-u.ac.jp>
|
||||
|
||||
Borland C++ compiler patch proposed by Mirco Babin.
|
||||
http://lists.gnu.org/archive/html/freetype/2009-07/msg00016.html.
|
||||
https://lists.gnu.org/archive/html/freetype/2009-07/msg00016.html.
|
||||
|
||||
* builds/exports.mk: Delete unused flags, CCexe_{CFLAGS,LDFLAGS}.
|
||||
Fix APINAMES_C and APINAMES_EXE pathnames to reflect the platform
|
||||
|
@ -1929,7 +1929,7 @@
|
|||
* src/tools/chktrcmp.py: A script to check trace_XXXX macros
|
||||
that are used in C source but undefined in fttrace.h, or
|
||||
defined in fttrace.h but unused in C sources. See
|
||||
http://lists.gnu.org/archive/html/freetype-devel/2009-07/msg00013.html.
|
||||
https://lists.gnu.org/archive/html/freetype-devel/2009-07/msg00013.html.
|
||||
* docs/DEBUG: Mention on chktrcmp.py.
|
||||
* docs/release: Ditto.
|
||||
|
||||
|
@ -1961,7 +1961,7 @@
|
|||
|
||||
* include/freetype/internal/fttrace.h: Add FT_TRACE_DEF( t1afm )
|
||||
and FT_TRACE_DEF( ttbdf ). See
|
||||
http://lists.gnu.org/archive/html/freetype-devel/2009-07/msg00013.html
|
||||
https://lists.gnu.org/archive/html/freetype-devel/2009-07/msg00013.html
|
||||
|
||||
2009-07-09 suzuki toshiya <mpsuzuki@hiroshima-u.ac.jp>
|
||||
|
||||
|
@ -1975,8 +1975,8 @@
|
|||
|
||||
Prevent the overflows by a glyph with too many points or contours.
|
||||
The bug is reported by Boris Letocha <b.letocha@gmc.net>. See
|
||||
http://lists.gnu.org/archive/html/freetype-devel/2009-06/msg00031.html
|
||||
http://lists.gnu.org/archive/html/freetype-devel/2009-07/msg00002.html
|
||||
https://lists.gnu.org/archive/html/freetype-devel/2009-06/msg00031.html
|
||||
https://lists.gnu.org/archive/html/freetype-devel/2009-07/msg00002.html
|
||||
|
||||
* include/freetype/ftimage.h (FT_OUTLINE_CONTOURS_MAX,
|
||||
FT_OUTLINE_POINTS_MAX): New macros to declare the maximum
|
||||
|
@ -2001,7 +2001,7 @@
|
|||
2009-06-28 suzuki toshiya <mpsuzuki@hiroshima-u.ac.jp>
|
||||
|
||||
ftpatent: Fix a bug by wrong usage of service->table_info().
|
||||
http://lists.gnu.org/archive/html/freetype-devel/2008-12/msg00039.html
|
||||
https://lists.gnu.org/archive/html/freetype-devel/2008-12/msg00039.html
|
||||
|
||||
* include/freetype/internal/services/svsfnt.h: Extend
|
||||
FT_SFNT_TableInfoFunc() to take new argument to obtain the offset
|
||||
|
@ -2069,7 +2069,7 @@
|
|||
|
||||
* builds/unix/configure.raw: Fix a bug in sed script to extract
|
||||
native suffix for binary executables, patch by Peter Breitenlohner.
|
||||
http://lists.gnu.org/archive/html/freetype-devel/2009-04/msg00036.html
|
||||
https://lists.gnu.org/archive/html/freetype-devel/2009-04/msg00036.html
|
||||
|
||||
2009-06-26 Werner Lemberg <wl@gnu.org>
|
||||
|
||||
|
@ -2125,7 +2125,7 @@
|
|||
code unconditionally.
|
||||
Add support for random numbers and update remaining code
|
||||
accordingly; this should work now.
|
||||
(t1_operator_seac): Updated.
|
||||
(t1operator_seac): Updated.
|
||||
* src/psaux/pshrec.c: Include FT_INTERNAL_CALC_H.
|
||||
(ps_hints_t1stem3, t1_hints_stem): Updated.
|
||||
|
||||
|
@ -2594,14 +2594,14 @@
|
|||
Position Independent Code (PIC) support in smooth renderer.
|
||||
|
||||
* src/smooth/ftsmooth.h declare ft_smooth_renderer_class,
|
||||
ft_smooth_lcd_renderer_class and ft_smooth_lcd_v_renderer_class
|
||||
ft_smooth_lcd_renderer_class and ft_smooth_lcdv_renderer_class
|
||||
using macros from ftrender.h,
|
||||
when FT_CONFIG_OPTION_PIC is defined create and destroy
|
||||
functions will be declared.
|
||||
* src/smooth/ftsmooth.c when FT_CONFIG_OPTION_PIC is defined
|
||||
the following structs:
|
||||
ft_smooth_renderer_class, ft_smooth_lcd_renderer_class
|
||||
and ft_smooth_lcd_v_renderer_class
|
||||
and ft_smooth_lcdv_renderer_class
|
||||
will have functions to init or create and destroy them
|
||||
instead of being allocated in the global scope.
|
||||
And macros will be used from ftspic.h in order to access
|
||||
|
@ -3469,8 +3469,8 @@
|
|||
faces includes broken face which FT_Done_Face() cannot free,
|
||||
FT_Done_Library() retries FT_Done_Face() and it can fall into
|
||||
an endless loop. See the discussion:
|
||||
http://lists.gnu.org/archive/html/freetype-devel/2008-09/msg00047.html
|
||||
http://lists.gnu.org/archive/html/freetype-devel/2008-10/msg00000.html
|
||||
https://lists.gnu.org/archive/html/freetype-devel/2008-09/msg00047.html
|
||||
https://lists.gnu.org/archive/html/freetype-devel/2008-10/msg00000.html
|
||||
|
||||
2009-01-07 Werner Lemberg <wl@gnu.org>
|
||||
|
||||
|
@ -3492,7 +3492,7 @@
|
|||
* builds/unix/configure.raw: Don't call AC_CANONICAL_BUILD and
|
||||
AC_CANONICAL_TARGET and use $host_os only. A nice explanation for
|
||||
this change can be found at
|
||||
http://blog.flameeyes.eu/s/canonical-target.
|
||||
https://blog.flameeyes.eu/s/canonical-target.
|
||||
|
||||
From Savannah patch #6712.
|
||||
|
||||
|
@ -4516,7 +4516,7 @@
|
|||
recommends to add the option only to CFLAGS, LDFLAGS should include
|
||||
it because libfreetype.la is built with -no-undefined. This fixes a
|
||||
bug reported by Ryan Schmidt in MacPorts,
|
||||
http://trac.macports.org/ticket/15331.
|
||||
https://trac.macports.org/ticket/15331.
|
||||
|
||||
2008-06-21 Werner Lemberg <wl@gnu.org>
|
||||
|
||||
|
@ -4861,7 +4861,7 @@
|
|||
2008-04-14 Werner Lemberg <wl@gnu.org>
|
||||
|
||||
* src/pcf/pcfdrivr.c (PCF_Face_Init): Protect call to
|
||||
`FT_Stream_OpenLZW' with `FT_CONFIG_OPTION_USE_LZ'. From Savannah
|
||||
`FT_Stream_OpenLZW' with `FT_CONFIG_OPTION_USE_LZW'. From Savannah
|
||||
bug #22909.
|
||||
|
||||
2008-04-13 Werner Lemberg <wl@gnu.org>
|
||||
|
@ -5243,7 +5243,7 @@
|
|||
functions related to cmap type 14 support to the
|
||||
`FT_Object_ActionName' scheme:
|
||||
|
||||
FT_Get_Char_Variant_index -> FT_Face_GetCharVariantIndex
|
||||
FT_Get_Char_Variant_Index -> FT_Face_GetCharVariantIndex
|
||||
FT_Get_Char_Variant_IsDefault -> FT_Face_GetCharVariantIsDefault
|
||||
FT_Get_Variant_Selectors -> FT_Face_GetVariantSelectors
|
||||
FT_Get_Variants_Of_Char -> FT_Face_GetVariantsOfChar
|
||||
|
@ -5530,7 +5530,7 @@
|
|||
* src/truetype/ttinterp.c (Ins_IUP): Add missing variable
|
||||
initialization.
|
||||
|
||||
* src/autofit/aflatin.c (af_latin_metric_init_blues): Get rid of an
|
||||
* src/autofit/aflatin.c (af_latin_metrics_init_blues): Get rid of an
|
||||
infinite loop in the case of degenerate fonts.
|
||||
|
||||
2007-06-26 Rahul Bhalerao <b.rahul.pm@gmail.com>
|
||||
|
@ -6187,13 +6187,13 @@
|
|||
* builds/unix/ftsystem.c (FT_Stream_Open): Temporary fix to prevent
|
||||
32bit unsigned long overflow by 64bit filesize on LP64 platform, as
|
||||
proposed by Sean McBride:
|
||||
http://lists.gnu.org/archive/html/freetype-devel/2007-03/msg00032.html
|
||||
https://lists.gnu.org/archive/html/freetype-devel/2007-03/msg00032.html
|
||||
|
||||
2007-03-22 suzuki toshiya <mpsuzuki@hiroshima-u.ac.jp>
|
||||
|
||||
* builds/unix/ftconfig.in: Suppress SGI compiler's warning against
|
||||
setjmp, proposed by Sean McBride:
|
||||
http://lists.gnu.org/archive/html/freetype-devel/2007-03/msg00032.html
|
||||
https://lists.gnu.org/archive/html/freetype-devel/2007-03/msg00032.html
|
||||
|
||||
2007-03-19 suzuki toshiya <mpsuzuki@hiroshima-u.ac.jp>
|
||||
|
||||
|
@ -6852,7 +6852,7 @@
|
|||
|
||||
* include/freetype/internal/services/svotval.h: Add `volatile' to
|
||||
sync with the modification by Jens Claudius on 2006-08-22; cf.
|
||||
http://cvs.savannah.gnu.org/viewcvs/freetype/freetype2/src/otvalid/otvmod.c?r1=1.4&r2=1.5
|
||||
https://cvs.savannah.gnu.org/viewcvs/freetype/freetype2/src/otvalid/otvmod.c?r1=1.4&r2=1.5
|
||||
|
||||
2006-12-15 suzuki toshiya <mpsuzuki@hiroshima-u.ac.jp>
|
||||
|
||||
|
@ -6876,7 +6876,7 @@
|
|||
|
||||
* src/base/ftobjs.c: Improvement of resource fork handler for
|
||||
POSIX, cf.
|
||||
http://lists.gnu.org/archive/html/freetype-devel/2006-10/msg00025.html
|
||||
https://lists.gnu.org/archive/html/freetype-devel/2006-10/msg00025.html
|
||||
(Mac_Read_sfnt_Resource): Count only `sfnt' resource of suitcase font
|
||||
format or .dfont, to simulate the face index number counted by ftmac.c.
|
||||
(IsMacResource): Return the number of scalable faces correctly.
|
||||
|
@ -7023,7 +7023,7 @@
|
|||
(_ft_lcd_filter_fir): This.
|
||||
Update parameters.
|
||||
(_ft_lcd_filter_legacy) [USE_LEGACY]: New filter function.
|
||||
(FT_Library_Set_LcdFilter): Update parameters.
|
||||
(FT_Library_SetLcdFilter): Update parameters.
|
||||
Handle new filter modes.
|
||||
|
||||
* include/internal/ftobjs.h: Include FT_LCD_FILTER_H.
|
||||
|
@ -7524,7 +7524,7 @@
|
|||
|
||||
`ft_validator_run' wrapping `setjmp' can cause a crash, as found by
|
||||
Jens:
|
||||
http://lists.gnu.org/archive/html/freetype-devel/2006-08/msg00004.htm.
|
||||
https://lists.gnu.org/archive/html/freetype-devel/2006-08/msg00004.htm.
|
||||
|
||||
* src/otvalid/otvmod.c: Replace `ft_validator_run' by `ft_setjmp'.
|
||||
It reverts the change introduced on 2005-08-20.
|
||||
|
@ -7721,7 +7721,7 @@
|
|||
2006-06-24 Eugeniy Meshcheryakov <eugen@univ.kiev.ua>
|
||||
|
||||
Fix two hinting bugs as reported in
|
||||
http://lists.gnu.org/archive/html/freetype-devel/2006-06/msg00057.html.
|
||||
https://lists.gnu.org/archive/html/freetype-devel/2006-06/msg00057.html.
|
||||
|
||||
* include/freetype/internal/tttypes.h (TT_GlyphZoneRec): Add
|
||||
`first_point' member.
|
||||
|
@ -7761,7 +7761,7 @@
|
|||
should return `FT_Err_Unimplemented_Feature' if validation service
|
||||
is unavailable (disabled in `modules.cfg'). It is originally
|
||||
suggested by David Turner, cf.
|
||||
http://lists.gnu.org/archive/html/freetype-devel/2005-11/msg00078.html
|
||||
https://lists.gnu.org/archive/html/freetype-devel/2005-11/msg00078.html
|
||||
|
||||
* src/base/ftgxval.c (FT_TrueTypeGX_Validate): Return
|
||||
FT_Err_Unimplemented_Feature if TrueTypeGX validation service is
|
||||
|
@ -7857,7 +7857,7 @@
|
|||
2006-05-18 Werner Lemberg <wl@gnu.org>
|
||||
|
||||
* src/truetype/ttgload.c (TT_Load_Composite_Glyph)
|
||||
[FT_CONFIG_OPTION_BYTECODE_INTERPRETER]: Make it compilable again.
|
||||
[TT_CONFIG_OPTION_BYTECODE_INTERPRETER]: Make it compilable again.
|
||||
|
||||
2006-05-17 David Turner <david@freetype.org>
|
||||
|
||||
|
@ -7932,7 +7932,7 @@
|
|||
|
||||
----------------------------------------------------------------------------
|
||||
|
||||
Copyright 2006-2017 by
|
||||
Copyright 2006-2018 by
|
||||
David Turner, Robert Wilhelm, and Werner Lemberg.
|
||||
|
||||
This file is part of the FreeType project, and may only be used, modified,
|
||||
|
|
76
ChangeLog.24
76
ChangeLog.24
|
@ -335,7 +335,7 @@
|
|||
|
||||
* include/freetype/ftmoderr.h: Fix commit from 2013-03-11.
|
||||
|
||||
The previous version was not backwards compatible. Reported by
|
||||
The previous version was not backward compatible. Reported by
|
||||
Behdad.
|
||||
|
||||
2013-03-14 Werner Lemberg <wl@gnu.org>
|
||||
|
@ -744,7 +744,7 @@
|
|||
|
||||
2013-01-16 David 'Digit' Turner <digit@google.com>
|
||||
|
||||
[truetype] Improve sub-pixel code.
|
||||
[truetype] Improve subpixel code.
|
||||
|
||||
This patches fixes many issues with the ttsubpix implementation.
|
||||
|
||||
|
@ -1860,10 +1860,10 @@
|
|||
Fix `checking if gcc static flag -static works' test.
|
||||
|
||||
On my linux build tree, I receive yes answer in every package I
|
||||
build except freetype for this test checking if gcc static flag
|
||||
build except FreeType for this test checking if gcc static flag
|
||||
`-static' works
|
||||
|
||||
On freetype, no is received, unless bzip2 and zlib are disabled using
|
||||
In FreeType, no is received, unless bzip2 and zlib are disabled using
|
||||
|
||||
./configure --without-bzip2 --without-zlib
|
||||
|
||||
|
@ -1977,7 +1977,7 @@
|
|||
Most of the code is based on the ClearType whitepaper written by
|
||||
Greg Hitchcock
|
||||
|
||||
http://www.microsoft.com/typography/cleartype/truetypecleartype.aspx
|
||||
https://www.microsoft.com/typography/cleartype/truetypecleartype.aspx
|
||||
|
||||
which gives a detailed overview of the necessary changes to the
|
||||
Microsoft rasterizer so that older fonts are supported. However, a
|
||||
|
@ -2103,7 +2103,7 @@
|
|||
NEC FA family dated in 1996 have different checksum.
|
||||
Reported by Johnson Y. Yan <yinsen_yan@foxitsoftware.com>; see
|
||||
|
||||
http://lists.gnu.org/archive/html/freetype-devel/2012-06/msg00023.html
|
||||
https://lists.gnu.org/archive/html/freetype-devel/2012-06/msg00023.html
|
||||
|
||||
* src/truetype/ttobjs.c (tt_check_trickyness_sfnt_ids): 4 sets
|
||||
of fpgm & prep table checksums for FA-Gothic, FA-Minchou,
|
||||
|
@ -2117,7 +2117,7 @@
|
|||
|
||||
Problem reported by jola <hans-jochen.lau@lhsystems.com>; see
|
||||
|
||||
http://lists.gnu.org/archive/html/freetype-devel/2012-05/msg00036.html
|
||||
https://lists.gnu.org/archive/html/freetype-devel/2012-05/msg00036.html
|
||||
|
||||
* src/raster/ftraster.c (SMulDiv_No_Round): New macro.
|
||||
(Line_Up): Use it.
|
||||
|
@ -2603,7 +2603,7 @@
|
|||
|
||||
See discussion starting at
|
||||
|
||||
http://lists.gnu.org/archive/html/freetype-devel/2012-01/msg00037.html
|
||||
https://lists.gnu.org/archive/html/freetype-devel/2012-01/msg00037.html
|
||||
|
||||
* src/smooth/ftgrays.c: s/TBand/gray_TBand/.
|
||||
* src/raster/ftraster.c: s/TBand/black_TBand/.
|
||||
|
@ -2616,7 +2616,7 @@
|
|||
`outline.flags' so that this information is preserved. See
|
||||
discussion starting at
|
||||
|
||||
http://lists.gnu.org/archive/html/freetype-devel/2012-02/msg00046.html
|
||||
https://lists.gnu.org/archive/html/freetype-devel/2012-02/msg00046.html
|
||||
|
||||
2012-02-11 Werner Lemberg <wl@gnu.org>
|
||||
|
||||
|
@ -2677,7 +2677,7 @@
|
|||
[raccess] Modify for PIC build.
|
||||
|
||||
Based on the patch provided by Erik Dahlstrom <ed@opera.com>,
|
||||
http://lists.gnu.org/archive/html/freetype-devel/2012-01/msg00010.html
|
||||
https://lists.gnu.org/archive/html/freetype-devel/2012-01/msg00010.html
|
||||
|
||||
Also `raccess_guess_table[]' and `raccess_rule_by_darwin_vfs()'
|
||||
are renamed with `ft_' suffixes.
|
||||
|
@ -2941,10 +2941,10 @@
|
|||
|
||||
[type42] Remove casts.
|
||||
|
||||
* src/type42/t42driver.c (t42_driver_class): Remove all casts and
|
||||
* src/type42/t42drivr.c (t42_driver_class): Remove all casts and
|
||||
update affected functions.
|
||||
|
||||
* src/type42/t42objs.c, src/type42/t42objs.h: Updated for t42driver
|
||||
* src/type42/t42objs.c, src/type42/t42objs.h: Updated for t42 driver
|
||||
changes.
|
||||
|
||||
2011-11-30 Werner Lemberg <wl@gnu.org>
|
||||
|
@ -3127,7 +3127,7 @@
|
|||
|
||||
According to
|
||||
|
||||
http://www.gnu.org/prep/maintain/html_node/Copyright-Notices.html
|
||||
https://www.gnu.org/prep/maintain/html_node/Copyright-Notices.html
|
||||
|
||||
this should be mentioned explicitly.
|
||||
|
||||
|
@ -3456,7 +3456,7 @@
|
|||
|
||||
See
|
||||
|
||||
http://lists.gnu.org/archive/html/freetype-devel/2011-07/msg00049.html
|
||||
https://lists.gnu.org/archive/html/freetype-devel/2011-07/msg00049.html
|
||||
|
||||
for some comparison images.
|
||||
|
||||
|
@ -3556,7 +3556,7 @@
|
|||
|
||||
See
|
||||
|
||||
http://lists.gnu.org/archive/html/freetype-devel/2011-07/msg00001.html
|
||||
https://lists.gnu.org/archive/html/freetype-devel/2011-07/msg00001.html
|
||||
|
||||
for example documents. The FreeType stroker now produces results
|
||||
very similar to that produced by GhostScript and Distiller for these
|
||||
|
@ -4005,9 +4005,9 @@
|
|||
aligned, bluezones for CJK Ideographs are calculated from
|
||||
sample glyphs. At present, vertical bluezones (bluezones
|
||||
to align vertical stems) are disabled by default. For detail, see
|
||||
http://lists.gnu.org/archive/html/freetype-devel/2011-04/msg00070.html
|
||||
http://lists.gnu.org/archive/html/freetype-devel/2011-04/msg00092.html
|
||||
http://lists.gnu.org/archive/html/freetype-devel/2011-05/msg00001.html
|
||||
https://lists.gnu.org/archive/html/freetype-devel/2011-04/msg00070.html
|
||||
https://lists.gnu.org/archive/html/freetype-devel/2011-04/msg00092.html
|
||||
https://lists.gnu.org/archive/html/freetype-devel/2011-05/msg00001.html
|
||||
|
||||
* include/freetype/internal/fttrace.h: New trace component `afcjk'.
|
||||
* src/autofit/afcjk.h (AF_CJK{Blue,Axis,Metric}Rec): Add CJK version
|
||||
|
@ -4029,7 +4029,7 @@
|
|||
af_latin_hints_compute_blue_edges.
|
||||
(af_cjk_metrics_init_blues): New function, CJK version of
|
||||
af_latin_metrics_init_blues.
|
||||
(af_cjk_hints_edges): Add code to align the edge stems to blue zones.
|
||||
(af_cjk_hint_edges): Add code to align the edge stems to blue zones.
|
||||
|
||||
* src/autofit/afindic.c (af_indic_metrics_init): Take AF_CJKMetric
|
||||
instead of AF_LatinMetric, and initialize as af_cjk_metrics_init.
|
||||
|
@ -4075,8 +4075,8 @@
|
|||
the TrueType font header. Some bad PDF generators write
|
||||
wrong values. For details see examples and benchmark tests
|
||||
of the latency by recalculation:
|
||||
http://lists.gnu.org/archive/html/freetype-devel/2011-04/msg00091.html
|
||||
http://lists.gnu.org/archive/html/freetype-devel/2011-04/msg00096.html
|
||||
https://lists.gnu.org/archive/html/freetype-devel/2011-04/msg00091.html
|
||||
https://lists.gnu.org/archive/html/freetype-devel/2011-04/msg00096.html
|
||||
|
||||
2011-04-30 suzuki toshiya <mpsuzuki@hiroshima-u.ac.jp>
|
||||
|
||||
|
@ -4109,7 +4109,7 @@
|
|||
Because some PDF generators mangle the family name badly,
|
||||
the trickyness check by the checksum should be invoked always.
|
||||
For sample PDF, see
|
||||
http://lists.gnu.org/archive/html/freetype-devel/2011-04/msg00073.html
|
||||
https://lists.gnu.org/archive/html/freetype-devel/2011-04/msg00073.html
|
||||
|
||||
* src/truetype/ttobjs.c (tt_check_trickyness): Even when
|
||||
tt_check_trickyness_family() finds no trickyness,
|
||||
|
@ -4146,8 +4146,8 @@
|
|||
When there are too many stems to preserve their gaps in the
|
||||
rasterization of CJK Ideographs at a low resolution, blur the
|
||||
stems instead of showing clumped stems. See
|
||||
http://lists.gnu.org/archive/html/freetype-devel/2011-02/msg00011.html
|
||||
http://lists.gnu.org/archive/html/freetype-devel/2011-04/msg00046.html
|
||||
https://lists.gnu.org/archive/html/freetype-devel/2011-02/msg00011.html
|
||||
https://lists.gnu.org/archive/html/freetype-devel/2011-04/msg00046.html
|
||||
for details.
|
||||
|
||||
* src/autofit/afcjk.c (af_cjk_hint_edges): Store the position of
|
||||
|
@ -4343,7 +4343,7 @@
|
|||
[cache] Fix an off-by-one bug in `FTC_Manager_RemoveFaceID'.
|
||||
Found by <ychen1392001@yahoo.com.cn>, see detail in
|
||||
|
||||
http://lists.gnu.org/archive/html/freetype/2011-01/msg00023.html
|
||||
https://lists.gnu.org/archive/html/freetype/2011-01/msg00023.html
|
||||
|
||||
* src/cache/ftccache.c (FTC_Cache_RemoveFaceID): Check the node
|
||||
buckets[cache->p + cache->mask] too.
|
||||
|
@ -4464,7 +4464,7 @@
|
|||
Johnson Y. Yan. The bug report by Qt developers is
|
||||
considered too.
|
||||
|
||||
http://bugreports.qt.nokia.com/browse/QTBUG-6521
|
||||
https://bugreports.qt.io/browse/QTBUG-6521
|
||||
|
||||
2011-01-15 Werner Lemberg <wl@gnu.org>
|
||||
|
||||
|
@ -4923,7 +4923,7 @@
|
|||
Partially undo change from 2010-10-15 by using ONE_PIXEL/4; this has
|
||||
been tested with demo images sent to the mailing list. See
|
||||
|
||||
http://lists.gnu.org/archive/html/freetype-devel/2010-10/msg00055.html
|
||||
https://lists.gnu.org/archive/html/freetype-devel/2010-10/msg00055.html
|
||||
|
||||
and later mails in this thread.
|
||||
|
||||
|
@ -4943,7 +4943,7 @@
|
|||
Problem reported by Tom Bishop <wenlin@wenlin.com>; see
|
||||
thread starting with
|
||||
|
||||
http://lists.gnu.org/archive/html/freetype/2010-10/msg00049.html
|
||||
https://lists.gnu.org/archive/html/freetype/2010-10/msg00049.html
|
||||
|
||||
* src/raster/ftraster.c (Line_Up): Replace FMulDiv with SMulDiv
|
||||
since the involved multiplication exceeds 32 bits.
|
||||
|
@ -5007,7 +5007,7 @@
|
|||
normal clients.
|
||||
|
||||
For the history of these macros, see the investigation:
|
||||
http://lists.gnu.org/archive/html/freetype/2010-10/msg00022.html
|
||||
https://lists.gnu.org/archive/html/freetype/2010-10/msg00022.html
|
||||
|
||||
2010-10-24 suzuki toshiya <mpsuzuki@hiroshima-u.ac.jp>
|
||||
|
||||
|
@ -5054,7 +5054,7 @@
|
|||
by Darwin VFS are skipped. It reduces the warnings of the
|
||||
deprecated resource fork access method by recent Darwin kernel.
|
||||
Fix MacPorts ticket #18859:
|
||||
http://trac.macports.org/ticket/18859
|
||||
https://trac.macports.org/ticket/18859
|
||||
|
||||
* src/base/ftobjs.c (load_face_in_embedded_rfork):
|
||||
When `FT_Stream_New' returns FT_Err_Cannot_Open_Stream, it
|
||||
|
@ -5182,7 +5182,7 @@
|
|||
[smooth] Fix splitting of cubics for negative values.
|
||||
|
||||
Reported by Róbert Márki <gsmiko@gmail.com>; see
|
||||
http://lists.gnu.org/archive/html/freetype/2010-09/msg00019.html.
|
||||
https://lists.gnu.org/archive/html/freetype/2010-09/msg00019.html.
|
||||
|
||||
* src/smooth/ftgrays.c (gray_render_cubic): Fix thinko.
|
||||
|
||||
|
@ -5349,7 +5349,7 @@
|
|||
Ignore the environmental setting of LIBTOOL.
|
||||
Patch is suggested by Adrian Bunk, to prevent unexpected
|
||||
reflection of environmental LIBTOOL. See:
|
||||
http://savannah.nongnu.org/patch/?7290
|
||||
https://savannah.nongnu.org/patch/?7290
|
||||
|
||||
* builds/unix/unix-cc.in: LIBTOOL is unconditionally set to
|
||||
$(FT_LIBTOOL_DIR)/libtool. FT_LIBTOOL_DIR is set to $(BUILD_DIR)
|
||||
|
@ -5406,8 +5406,8 @@
|
|||
for nameless fonts is safer for PDFs including embedded Chinese
|
||||
fonts. Written by David Bevan, see:
|
||||
|
||||
http://lists.gnu.org/archive/html/freetype-devel/2010-08/msg00021.html
|
||||
http://lists.freedesktop.org/archives/poppler/2010-August/006310.html
|
||||
https://lists.gnu.org/archive/html/freetype-devel/2010-08/msg00021.html
|
||||
https://lists.freedesktop.org/archives/poppler/2010-August/006310.html
|
||||
|
||||
* src/truetype/ttobjs.c (tt_check_trickyness): If a NULL pointer by
|
||||
nameless font is given, TRUE is returned to enable hinting.
|
||||
|
@ -5968,7 +5968,7 @@
|
|||
|
||||
* src/smooth/ftgrays.c (gray_render_cubic): Fix algorithm.
|
||||
The previous version was too aggressive, as demonstrated in
|
||||
http://lists.gnu.org/archive/html/freetype-devel/2010-06/msg00020.html.
|
||||
https://lists.gnu.org/archive/html/freetype-devel/2010-06/msg00020.html.
|
||||
|
||||
2010-06-24 Werner Lemberg <wl@gnu.org>
|
||||
|
||||
|
@ -6065,7 +6065,7 @@
|
|||
simplified algorithm to find out whether the spline can be replaced
|
||||
with two straight lines. See this thread for more:
|
||||
|
||||
http://lists.gnu.org/archive/html/freetype-devel/2010-06/msg00000.html
|
||||
https://lists.gnu.org/archive/html/freetype-devel/2010-06/msg00000.html
|
||||
|
||||
2010-06-09 Werner Lemberg <wl@gnu.org>
|
||||
|
||||
|
@ -6220,7 +6220,7 @@
|
|||
Add new function `FT_Library_SetLcdFilterWeights'.
|
||||
|
||||
This is based on code written by Lifter
|
||||
<http://unixforum.org/index.php?showuser=11691>. It fixes
|
||||
<https://unixforum.org/index.php?showuser=11691>. It fixes
|
||||
FreeDesktop bug #27386.
|
||||
|
||||
* src/base/ftlcdfil.c (FT_Library_SetLcdFilterWeights): New
|
||||
|
@ -6344,7 +6344,7 @@
|
|||
|
||||
----------------------------------------------------------------------------
|
||||
|
||||
Copyright 2010-2017 by
|
||||
Copyright 2010-2018 by
|
||||
David Turner, Robert Wilhelm, and Werner Lemberg.
|
||||
|
||||
This file is part of the FreeType project, and may only be used, modified,
|
||||
|
|
22
ChangeLog.25
22
ChangeLog.25
|
@ -112,8 +112,8 @@
|
|||
Original patch is designed by Werner Lemberg. Extra part
|
||||
for otvalid and gxvalid are added by suzuki toshiya, see
|
||||
discussion:
|
||||
http://lists.nongnu.org/archive/html/freetype-devel/2014-12/msg00002.html
|
||||
http://lists.nongnu.org/archive/html/freetype-devel/2014-12/msg00007.html
|
||||
https://lists.nongnu.org/archive/html/freetype-devel/2014-12/msg00002.html
|
||||
https://lists.nongnu.org/archive/html/freetype-devel/2014-12/msg00007.html
|
||||
|
||||
* include/internal/ftvalid.h: Introduce FT_THROW() in FT_INVALID_().
|
||||
* src/gxvalid/gxvcommn.h: Ditto.
|
||||
|
@ -144,7 +144,7 @@
|
|||
for Borland's bug tracker entry.
|
||||
|
||||
Reported by Yuliana Zigangirova <zigangirova@inbox.ru>,
|
||||
http://lists.gnu.org/archive/html/freetype-devel/2014-04/msg00001.html.
|
||||
https://lists.gnu.org/archive/html/freetype-devel/2014-04/msg00001.html.
|
||||
|
||||
* include/internal/ftvalid.h (FT_ValidatorRec), src/smooth/ftgrays.c
|
||||
(gray_TWorker_): Move `ft_jmp_buf' field to be the first element.
|
||||
|
@ -244,7 +244,7 @@
|
|||
|
||||
All public FreeType enumeration and flag values are uppercase...
|
||||
|
||||
* include/tttables.h (FT_Sfnt_Tag): Implement it. For backwards
|
||||
* include/tttables.h (FT_Sfnt_Tag): Implement it. For backward
|
||||
compatibility, retain the old values as macros.
|
||||
|
||||
* src/base/ftfstype.c (FT_Get_FSType_Flags), src/sfnt/sfdriver.c
|
||||
|
@ -2116,7 +2116,7 @@
|
|||
builds/unix/unix-def.in (freetype-config, freetype2.pc): Handle
|
||||
HarfBuzz.
|
||||
|
||||
* docs/INSTALL.UNIX: Document interdependency of Freetype with
|
||||
* docs/INSTALL.UNIX: Document interdependency of FreeType with
|
||||
HarfBuzz.
|
||||
|
||||
2014-02-28 Alexei Podtelezhnikov <apodtele@gmail.com>
|
||||
|
@ -2669,8 +2669,8 @@
|
|||
with Carbon framework is incompatible with that by FreeType 2
|
||||
without Carbon framework.) Found by Khaled Hosny and Hin-Tak Leung.
|
||||
|
||||
http://lists.gnu.org/archive/html/freetype-devel/2013-02/msg00035.html
|
||||
http://lists.gnu.org/archive/html/freetype-devel/2013-12/msg00027.html
|
||||
https://lists.gnu.org/archive/html/freetype-devel/2013-02/msg00035.html
|
||||
https://lists.gnu.org/archive/html/freetype-devel/2013-12/msg00027.html
|
||||
|
||||
* src/base/ftrfork.c (FT_Raccess_Get_DataOffsets): Add a switch
|
||||
`sort_by_res_id' to control the fragmented resource ordering.
|
||||
|
@ -3181,7 +3181,7 @@
|
|||
|
||||
Problem reported by Hin-Tak Leung <htl10@users.sourceforge.net>; see
|
||||
|
||||
http://lists.nongnu.org/archive/html/freetype-devel/2013-08/msg00005.html
|
||||
https://lists.nongnu.org/archive/html/freetype-devel/2013-08/msg00005.html
|
||||
|
||||
for details.
|
||||
|
||||
|
@ -3556,7 +3556,7 @@
|
|||
|
||||
Suggested by Akira Tagoh, see
|
||||
|
||||
http://lists.gnu.org/archive/html/freetype/2013-09/msg00030.html
|
||||
https://lists.gnu.org/archive/html/freetype/2013-09/msg00030.html
|
||||
|
||||
* src/bdf/bdfdrivr.c (BDF_Face_Init): Return `Invalid_Argument'
|
||||
error if the font could be opened but non-zero `face_index' is
|
||||
|
@ -4767,7 +4767,7 @@
|
|||
* src/cache/ftcmanag.c (FTC_Manager_Check): Fix cast.
|
||||
* src/cache/ftcmanag.h (FTC_ManagerRec): Ditto.
|
||||
|
||||
* src/cff/cf2arrst.c (cf2_arrstack_setNum_Elements): Use cast.
|
||||
* src/cff/cf2arrst.c (cf2_arrstack_setNumElements): Use cast.
|
||||
* src/cff/cf2ft.c (cf2_freeSeacComponent): Ditto.
|
||||
* src/cff/cffobjs.c (remove_subset_prefix, remove_style): Ditto.
|
||||
|
||||
|
@ -5145,7 +5145,7 @@
|
|||
|
||||
----------------------------------------------------------------------------
|
||||
|
||||
Copyright 2013-2017 by
|
||||
Copyright 2013-2018 by
|
||||
David Turner, Robert Wilhelm, and Werner Lemberg.
|
||||
|
||||
This file is part of the FreeType project, and may only be used, modified,
|
||||
|
|
36
ChangeLog.26
36
ChangeLog.26
|
@ -563,26 +563,26 @@
|
|||
* src/truetype/ttinterp.c (SUBPIXEL_HINTING): Replaced by...
|
||||
(NO_SUBPIXEL_HINTING, SUBPIXEL_HINTING_INFINALITY,
|
||||
SUBPIXEL_HINTING_MINIMAL): ...new macros.
|
||||
(Direct_Move, Direct_Move_X, Direct_Move_Y): Handle backwards
|
||||
(Direct_Move, Direct_Move_X, Direct_Move_Y): Handle backward
|
||||
compatibility.
|
||||
Updated.
|
||||
(Ins_RS, Ins_FDEF, Ins_ENDF, Ins_CALL, Ins_LOOPCALL, Ins_MD):
|
||||
Updated.
|
||||
(Ins_INSTCTRL): Handle native ClearType mode flag.
|
||||
Updated.
|
||||
(Ins_FLIPPT, Ins_FLIPRGON, Ins_FLIPRGOFF): Handle backwards
|
||||
(Ins_FLIPPT, Ins_FLIPRGON, Ins_FLIPRGOFF): Handle backward
|
||||
compatibility.
|
||||
(Move_Zp2_Point): Ditto.
|
||||
(Ins_SHP): Updated.
|
||||
(Ins_SHPIX): Handle backwards compatibility.
|
||||
(Ins_SHPIX): Handle backward compatibility.
|
||||
Updated.
|
||||
(Ins_MSIRP, Ins_MDAP, Ins_MIAP, Ins_MDRP, Ins_MIRP): Updated.
|
||||
(Ins_ALIGNRP): Updated.
|
||||
(Ins_IUP, Ins_DELTAP): Handle backwards compatibility.
|
||||
(Ins_IUP, Ins_DELTAP): Handle backward compatibility.
|
||||
Updated.
|
||||
(Ins_GETINFO): Handle v38 flags.
|
||||
Updated.
|
||||
(TT_RunIns): Handle backwards compatibility mode.
|
||||
(TT_RunIns): Handle backward compatibility mode.
|
||||
Updated.
|
||||
|
||||
2016-05-17 Nikolaus Waxweiler <madigens@gmail.com>
|
||||
|
@ -606,16 +606,16 @@
|
|||
|
||||
* src/truetype/ttinterp.h (TT_ExecContextRec): Define new fields
|
||||
`subpixel_hinting_lean', `vertical_lcd_lean',
|
||||
`backwards_compatibility', `iupx_called', iupy_called', and
|
||||
`backward_compatibility', `iupx_called', iupy_called', and
|
||||
`grayscale_cleartype' for new hinting mode.
|
||||
|
||||
* src/truetype/ttdriver.c (tt_property_set): Handle v38 and v40
|
||||
interpreters conditionally.
|
||||
|
||||
* src/truetype/ttgload.c (TT_Hint_Glyph): Save phantom points unless
|
||||
in v38 backwards compatibility mode.
|
||||
in v38 backward compatibility mode.
|
||||
Updated.
|
||||
(compute_glyph_metrics): Add v38 backwards compatibility mode
|
||||
(compute_glyph_metrics): Add v38 backward compatibility mode
|
||||
constraint for adjusting advance widths.
|
||||
Updated.
|
||||
(tt_loader_init): Handle new flags `subpixel_hinting_lean',
|
||||
|
@ -663,7 +663,7 @@
|
|||
The previous fix for #46372 misunderstood a composite glyph referring
|
||||
same component twice as a recursive reference. See the discussion
|
||||
|
||||
http://lists.gnu.org/archive/html/freetype/2016-05/msg00000.html
|
||||
https://lists.gnu.org/archive/html/freetype/2016-05/msg00000.html
|
||||
|
||||
Thanks to Khaled Hosny for finding this issue.
|
||||
|
||||
|
@ -788,7 +788,7 @@
|
|||
proper blue zones can't be defined. However, there is already a
|
||||
proposal submitted to Unicode; see
|
||||
|
||||
http://www.unicode.org/L2/L2016/16034-n4707-georgian.pdf
|
||||
https://www.unicode.org/L2/L2016/16034-n4707-georgian.pdf
|
||||
|
||||
Additionally, due to historical reasons, Unicode treats Khutsuri as
|
||||
the same script as Mkhedruli, and so does OpenType. However, since
|
||||
|
@ -1482,7 +1482,7 @@
|
|||
|
||||
Still handle `__FTERRORS_H__'.
|
||||
|
||||
We need this for backwards compatibility.
|
||||
We need this for backward compatibility.
|
||||
|
||||
Problem reported by John Emmas <johne53@tiscali.co.uk>.
|
||||
|
||||
|
@ -2478,7 +2478,7 @@
|
|||
|
||||
Problem reported by David Capello <davidcapello@gmail.com>; see
|
||||
|
||||
http://lists.nongnu.org/archive/html/freetype-devel/2015-10/msg00108.html
|
||||
https://lists.nongnu.org/archive/html/freetype-devel/2015-10/msg00108.html
|
||||
|
||||
for details.
|
||||
|
||||
|
@ -3813,7 +3813,7 @@
|
|||
|
||||
See
|
||||
|
||||
http://lists.nongnu.org/archive/html/freetype-devel/2015-07/msg00008.html
|
||||
https://lists.nongnu.org/archive/html/freetype-devel/2015-07/msg00008.html
|
||||
|
||||
for a rationale.
|
||||
|
||||
|
@ -3932,7 +3932,7 @@
|
|||
|
||||
This change is a result of a discussion thread on freetype-devel
|
||||
|
||||
http://lists.nongnu.org/archive/html/freetype-devel/2015-06/msg00041.html
|
||||
https://lists.nongnu.org/archive/html/freetype-devel/2015-06/msg00041.html
|
||||
|
||||
Re-introduce the `freetype2' subdirectory for all FreeType header
|
||||
files after installation, and rename the `freetype2' subdirectory in
|
||||
|
@ -4114,7 +4114,7 @@
|
|||
|
||||
Problem reported by Grissiom <chaos.proton@gmail.com>; in
|
||||
|
||||
http://lists.nongnu.org/archive/html/freetype/2015-05/msg00013.html
|
||||
https://lists.nongnu.org/archive/html/freetype/2015-05/msg00013.html
|
||||
|
||||
there is an example code to trigger the bug.
|
||||
|
||||
|
@ -4222,7 +4222,7 @@
|
|||
|
||||
[truetype] Support selector index 3 of the INSTCTRL instruction.
|
||||
|
||||
This flag activates `native ClearType hinting', disabling backwards
|
||||
This flag activates `native ClearType hinting', disabling backward
|
||||
compatibility mode as described in Greg Hitchcocks whitepaper. In
|
||||
other words, it enables unrestricted functionality of all TrueType
|
||||
instructions in ClearType.
|
||||
|
@ -4292,7 +4292,7 @@
|
|||
|
||||
This follows the OpenType 1.7 specification. See
|
||||
|
||||
http://tug.org/pipermail/tex-live/2015-April/036634.html
|
||||
https://tug.org/pipermail/tex-live/2015-April/036634.html
|
||||
|
||||
for a discussion.
|
||||
|
||||
|
@ -5695,7 +5695,7 @@
|
|||
|
||||
----------------------------------------------------------------------------
|
||||
|
||||
Copyright 2015-2017 by
|
||||
Copyright 2015-2018 by
|
||||
David Turner, Robert Wilhelm, and Werner Lemberg.
|
||||
|
||||
This file is part of the FreeType project, and may only be used, modified,
|
||||
|
|
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
4
Jamfile
4
Jamfile
|
@ -1,6 +1,6 @@
|
|||
# FreeType 2 top Jamfile.
|
||||
#
|
||||
# Copyright 2001-2017 by
|
||||
# Copyright 2001-2018 by
|
||||
# David Turner, Robert Wilhelm, and Werner Lemberg.
|
||||
#
|
||||
# This file is part of the FreeType project, and may only be used, modified,
|
||||
|
@ -210,7 +210,7 @@ actions RefDoc
|
|||
{
|
||||
python $(FT2_SRC)/tools/docmaker/docmaker.py
|
||||
--prefix=ft2
|
||||
--title=FreeType-2.7.1
|
||||
--title=FreeType-2.9
|
||||
--output=$(DOC_DIR)
|
||||
$(FT2_INCLUDE)/freetype/*.h
|
||||
$(FT2_INCLUDE)/freetype/config/*.h
|
||||
|
|
2
Jamrules
2
Jamrules
|
@ -1,6 +1,6 @@
|
|||
# FreeType 2 JamRules.
|
||||
#
|
||||
# Copyright 2001-2017 by
|
||||
# Copyright 2001-2018 by
|
||||
# David Turner, Robert Wilhelm, and Werner Lemberg.
|
||||
#
|
||||
# This file is part of the FreeType project, and may only be used, modified,
|
||||
|
|
2
Makefile
2
Makefile
|
@ -3,7 +3,7 @@
|
|||
#
|
||||
|
||||
|
||||
# Copyright 1996-2017 by
|
||||
# Copyright 1996-2018 by
|
||||
# David Turner, Robert Wilhelm, and Werner Lemberg.
|
||||
#
|
||||
# This file is part of the FreeType project, and may only be used, modified,
|
||||
|
|
20
README
20
README
|
@ -1,7 +1,7 @@
|
|||
FreeType 2.7.1
|
||||
==============
|
||||
FreeType 2.9
|
||||
============
|
||||
|
||||
Homepage: http://www.freetype.org
|
||||
Homepage: https://www.freetype.org
|
||||
|
||||
FreeType is a freely available software library to render fonts.
|
||||
|
||||
|
@ -20,17 +20,17 @@
|
|||
documentation is available as a separate package from our sites. Go
|
||||
to
|
||||
|
||||
http://download.savannah.gnu.org/releases/freetype/
|
||||
https://download.savannah.gnu.org/releases/freetype/
|
||||
|
||||
and download one of the following files.
|
||||
|
||||
freetype-doc-2.7.1.tar.bz2
|
||||
freetype-doc-2.7.1.tar.gz
|
||||
ftdoc271.zip
|
||||
freetype-doc-2.9.tar.bz2
|
||||
freetype-doc-2.9.tar.gz
|
||||
ftdoc29.zip
|
||||
|
||||
To view the documentation online, go to
|
||||
|
||||
http://www.freetype.org/freetype2/documentation.html
|
||||
https://www.freetype.org/freetype2/documentation.html
|
||||
|
||||
|
||||
Mailing Lists
|
||||
|
@ -46,7 +46,7 @@
|
|||
|
||||
The lists are moderated; see
|
||||
|
||||
http://www.freetype.org/contact.html
|
||||
https://www.freetype.org/contact.html
|
||||
|
||||
how to subscribe.
|
||||
|
||||
|
@ -71,7 +71,7 @@
|
|||
|
||||
----------------------------------------------------------------------
|
||||
|
||||
Copyright 2006-2017 by
|
||||
Copyright 2006-2018 by
|
||||
David Turner, Robert Wilhelm, and Werner Lemberg.
|
||||
|
||||
This file is part of the FreeType project, and may only be used,
|
||||
|
|
|
@ -37,7 +37,7 @@ repository.
|
|||
|
||||
----------------------------------------------------------------------
|
||||
|
||||
Copyright 2005-2017 by
|
||||
Copyright 2005-2018 by
|
||||
David Turner, Robert Wilhelm, and Werner Lemberg.
|
||||
|
||||
This file is part of the FreeType project, and may only be used,
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#!/bin/sh
|
||||
|
||||
# Copyright 2005-2017 by
|
||||
# Copyright 2005-2018 by
|
||||
# David Turner, Robert Wilhelm, and Werner Lemberg.
|
||||
#
|
||||
# This file is part of the FreeType project, and may only be used, modified,
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
|
||||
README for the builds/amiga subdirectory.
|
||||
|
||||
Copyright 2005-2017 by
|
||||
Copyright 2005-2018 by
|
||||
Werner Lemberg and Detlef Würkner.
|
||||
|
||||
This file is part of the FreeType project, and may only be used, modified,
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
/* */
|
||||
/* Amiga-specific configuration file (specification only). */
|
||||
/* */
|
||||
/* Copyright 2005-2017 by */
|
||||
/* Copyright 2005-2018 by */
|
||||
/* Werner Lemberg and Detlef Würkner. */
|
||||
/* */
|
||||
/* This file is part of the FreeType project, and may only be used, */
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
/* */
|
||||
/* Amiga-specific FreeType module selection. */
|
||||
/* */
|
||||
/* Copyright 2005-2017 by */
|
||||
/* Copyright 2005-2018 by */
|
||||
/* Werner Lemberg and Detlef Würkner. */
|
||||
/* */
|
||||
/* This file is part of the FreeType project, and may only be used, */
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
#
|
||||
|
||||
|
||||
# Copyright 2005-2017 by
|
||||
# Copyright 2005-2018 by
|
||||
# Werner Lemberg and Detlef Würkner.
|
||||
#
|
||||
# This file is part of the FreeType project, and may only be used, modified,
|
||||
|
@ -96,9 +96,6 @@ ftbitmap.ppc.o: $(FTSRC)/base/ftbitmap.c
|
|||
ftcid.ppc.o: $(FTSRC)/base/ftcid.c
|
||||
$(CC) -c $(CFLAGS) -o $@ $<
|
||||
|
||||
ftfntfmt.ppc.o: $(FTSRC)/base/ftfntfmt.c
|
||||
$(CC) -c $(CFLAGS) -o $@ $<
|
||||
|
||||
ftfstype.ppc.o: $(FTSRC)/base/ftfstype.c
|
||||
$(CC) -c $(CFLAGS) -o $@ $<
|
||||
|
||||
|
@ -111,9 +108,6 @@ ftglyph.ppc.o: $(FTSRC)/base/ftglyph.c
|
|||
ftgxval.ppc.o: $(FTSRC)/base/ftgxval.c
|
||||
$(CC) -c $(CFLAGS) -o $@ $<
|
||||
|
||||
ftlcdfil.ppc.o: $(FTSRC)/base/ftlcdfil.c
|
||||
$(CC) -c $(CFLAGS) -o $@ $<
|
||||
|
||||
ftmm.ppc.o: $(FTSRC)/base/ftmm.c
|
||||
$(CC) -c $(CFLAGS) -o $@ $<
|
||||
|
||||
|
@ -270,8 +264,8 @@ otvalid.ppc.o: $(FTSRC)/otvalid/otvalid.c
|
|||
$(CC) -c $(CFLAGS) -o $@ $<
|
||||
|
||||
BASEPPC = ftbase.ppc.o ftbbox.ppc.o ftbdf.ppc.o ftbitmap.ppc.o ftcid.ppc.o \
|
||||
ftfntfmt.ppc.oftfstype.ppc.o ftgasp.ppc.o ftglyph.ppc.o \
|
||||
ftgxval.ppc.o ftlcdfil.ppc.o ftmm.ppc.o ftotval.ppc.o \
|
||||
oftfstype.ppc.o ftgasp.ppc.o ftglyph.ppc.o \
|
||||
ftgxval.ppc.o ftmm.ppc.o ftotval.ppc.o \
|
||||
ftpatent.ppc.o ftpfr.ppc.o ftstroke.ppc.o ftsynth.ppc.o \
|
||||
fttype1.ppc.o ftwinfnt.ppc.o
|
||||
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
#
|
||||
|
||||
|
||||
# Copyright 2005-2017 by
|
||||
# Copyright 2005-2018 by
|
||||
# Werner Lemberg and Detlef Würkner.
|
||||
#
|
||||
# This file is part of the FreeType project, and may only be used, modified,
|
||||
|
@ -99,9 +99,6 @@ ftdebug.ppc.o: FT:src/base/ftdebug.c
|
|||
ftdebugpure.ppc.o: src/base/ftdebug.c
|
||||
$(CC) -c $(CFLAGS) -o $@ src/base/ftdebug.c
|
||||
|
||||
ftfntfmt.ppc.o: FT:src/base/ftfntfmt.c
|
||||
$(CC) -c $(CFLAGS) -o $@ /FT/src/base/ftfntfmt.c
|
||||
|
||||
ftfstype.ppc.o: FT:src/base/ftfstype.c
|
||||
$(CC) -c $(CFLAGS) -o $@ /FT/src/base/ftfstype.c
|
||||
|
||||
|
@ -114,9 +111,6 @@ ftglyph.ppc.o: FT:src/base/ftglyph.c
|
|||
ftgxval.ppc.o: FT:src/base/ftgxval.c
|
||||
$(CC) -c $(CFLAGS) -o $@ /FT/src/base/ftgxval.c
|
||||
|
||||
ftlcdfil.ppc.o: FT:src/base/ftlcdfil.c
|
||||
$(CC) -c $(CFLAGS) -o $@ /FT/src/base/ftlcdfil.c
|
||||
|
||||
ftmm.ppc.o: FT:src/base/ftmm.c
|
||||
$(CC) -c $(CFLAGS) -o $@ /FT/src/base/ftmm.c
|
||||
|
||||
|
@ -274,8 +268,8 @@ otvalid.ppc.o: FT:src/otvalid/otvalid.c
|
|||
$(CC) -c $(CFLAGS) -o $@ /FT/src/otvalid/otvalid.c
|
||||
|
||||
BASE = ftbase.ppc.o ftbbox.ppc.o ftbdf.ppc.o ftbitmap.ppc.o ftcid.ppc.o \
|
||||
ftfntfmt.ppc.o ftfstype.ppc.o ftgasp.ppc.o ftglyph.ppc.o \
|
||||
ftgxval.ppc.o ftlcdfil.ppc.o ftmm.ppc.o ftotval.ppc.o \
|
||||
ftfstype.ppc.o ftgasp.ppc.o ftglyph.ppc.o \
|
||||
ftgxval.ppc.o ftmm.ppc.o ftotval.ppc.o \
|
||||
ftpatent.ppc.o ftpfr.ppc.o ftstroke.ppc.o ftsynth.ppc.o \
|
||||
fttype1.ppc.o ftwinfnt.ppc.o
|
||||
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
#
|
||||
|
||||
|
||||
# Copyright 2005-2017 by
|
||||
# Copyright 2005-2018 by
|
||||
# Werner Lemberg and Detlef Würkner.
|
||||
#
|
||||
# This file is part of the FreeType project, and may only be used, modified,
|
||||
|
@ -42,8 +42,8 @@
|
|||
# (and either ftdebug.o or ftdebugpure.o if you enabled FT_DEBUG_LEVEL_ERROR or
|
||||
# FT_DEBUG_LEVEL_TRACE in include/freetype/config/ftoption.h).
|
||||
|
||||
OBJBASE = ftbase.o ftbbox.o ftbdf.o ftbitmap.o ftcid.o ftfntfmt.o ftfstype.o \
|
||||
ftgasp.o ftglyph.o ftgxval.o ftlcdfil.o ftmm.o ftotval.o \
|
||||
OBJBASE = ftbase.o ftbbox.o ftbdf.o ftbitmap.o ftcid.o ftfstype.o \
|
||||
ftgasp.o ftglyph.o ftgxval.o ftmm.o ftotval.o \
|
||||
ftpatent.o ftpfr.o ftstroke.o ftsynth.o fttype1.o ftwinfnt.o
|
||||
|
||||
OBJSYSTEM = ftsystem.o ftsystempure.o
|
||||
|
@ -133,8 +133,6 @@ ftbitmap.o: $(CORE)base/ftbitmap.c
|
|||
sc $(SCFLAGS) objname=$@ $<
|
||||
ftcid.o: $(CORE)base/ftcid.c
|
||||
sc $(SCFLAGS) objname=$@ $<
|
||||
ftfntfmt.o: $(CORE)base/ftfntfmt.c
|
||||
sc $(SCFLAGS) objname=$@ $<
|
||||
ftfstype.o: $(CORE)base/ftfstype.c
|
||||
sc $(SCFLAGS) objname=$@ $<
|
||||
ftgasp.o: $(CORE)base/ftgasp.c
|
||||
|
@ -143,8 +141,6 @@ ftglyph.o: $(CORE)base/ftglyph.c
|
|||
sc $(SCFLAGS) objname=$@ $<
|
||||
ftgxval.o: $(CORE)base/ftgxval.c
|
||||
sc $(SCFLAGS) objname=$@ $<
|
||||
ftlcdfil.o: $(CORE)base/ftlcdfil.c
|
||||
sc $(SCFLAGS) objname=$@ $<
|
||||
ftmm.o: $(CORE)base/ftmm.c
|
||||
sc $(SCFLAGS) objname=$@ $<
|
||||
ftotval.o: $(CORE)base/ftotval.c
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
/* */
|
||||
/* Debugging and logging component for amiga (body). */
|
||||
/* */
|
||||
/* Copyright 1996-2017 by */
|
||||
/* Copyright 1996-2018 by */
|
||||
/* David Turner, Robert Wilhelm, Werner Lemberg and Detlef Würkner. */
|
||||
/* */
|
||||
/* This file is part of the FreeType project, and may only be used, */
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
/* */
|
||||
/* Amiga-specific FreeType low-level system interface (body). */
|
||||
/* */
|
||||
/* Copyright 1996-2017 by */
|
||||
/* Copyright 1996-2018 by */
|
||||
/* David Turner, Robert Wilhelm, Werner Lemberg and Detlef Würkner. */
|
||||
/* */
|
||||
/* This file is part of the FreeType project, and may only be used, */
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
#
|
||||
|
||||
|
||||
# Copyright 1996-2017 by
|
||||
# Copyright 1996-2018 by
|
||||
# David Turner, Robert Wilhelm, and Werner Lemberg.
|
||||
#
|
||||
# This file is part of the FreeType project, and may only be used, modified,
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
#
|
||||
|
||||
|
||||
# Copyright 1996-2017 by
|
||||
# Copyright 1996-2018 by
|
||||
# David Turner, Robert Wilhelm, and Werner Lemberg.
|
||||
#
|
||||
# This file is part of the FreeType project, and may only be used, modified,
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
#
|
||||
|
||||
|
||||
# Copyright 1996-2017 by
|
||||
# Copyright 1996-2018 by
|
||||
# David Turner, Robert Wilhelm, and Werner Lemberg.
|
||||
#
|
||||
# This file is part of the FreeType project, and may only be used, modified,
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
# FreeType 2 configuration rules for a BeOS system
|
||||
#
|
||||
|
||||
# Copyright 1996-2017 by
|
||||
# Copyright 1996-2018 by
|
||||
# David Turner, Robert Wilhelm, and Werner Lemberg.
|
||||
#
|
||||
# This file is part of the FreeType project, and may only be used, modified,
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
#
|
||||
|
||||
|
||||
# Copyright 1996-2017 by
|
||||
# Copyright 1996-2018 by
|
||||
# David Turner, Robert Wilhelm, and Werner Lemberg.
|
||||
#
|
||||
# This file is part of the FreeType project, and may only be used, modified,
|
||||
|
|
|
@ -31,42 +31,51 @@
|
|||
# HARFBUZZ_LIBRARIES - containg the HarfBuzz library
|
||||
|
||||
include(FindPkgConfig)
|
||||
pkg_check_modules(PC_HARFBUZZ QUIET harfbuzz)
|
||||
|
||||
pkg_check_modules(PC_HARFBUZZ harfbuzz>=0.9.7)
|
||||
|
||||
find_path(HARFBUZZ_INCLUDE_DIRS NAMES hb.h
|
||||
HINTS ${PC_HARFBUZZ_INCLUDE_DIRS} ${PC_HARFBUZZ_INCLUDEDIR}
|
||||
find_path(HARFBUZZ_INCLUDE_DIRS
|
||||
NAMES hb.h
|
||||
HINTS ${PC_HARFBUZZ_INCLUDEDIR}
|
||||
${PC_HARFBUZZ_INCLUDE_DIRS}
|
||||
PATH_SUFFIXES harfbuzz
|
||||
)
|
||||
|
||||
find_library(HARFBUZZ_LIBRARIES NAMES harfbuzz
|
||||
HINTS ${PC_HARFBUZZ_LIBRARY_DIRS} ${PC_HARFBUZZ_LIBDIR}
|
||||
HINTS ${PC_HARFBUZZ_LIBDIR}
|
||||
${PC_HARFBUZZ_LIBRARY_DIRS}
|
||||
)
|
||||
|
||||
# HarfBuzz 0.9.18 split ICU support into a separate harfbuzz-icu library.
|
||||
if ("${PC_HARFBUZZ_VERSION}" VERSION_GREATER "0.9.17")
|
||||
if (HarfBuzz_FIND_REQUIRED)
|
||||
set(_HARFBUZZ_REQUIRED REQUIRED)
|
||||
else ()
|
||||
set(_HARFBUZZ_REQUIRED "")
|
||||
if (HARFBUZZ_INCLUDE_DIRS)
|
||||
if (EXISTS "${HARFBUZZ_INCLUDE_DIRS}/hb-version.h")
|
||||
file(READ "${HARFBUZZ_INCLUDE_DIRS}/hb-version.h" _harfbuzz_version_content)
|
||||
|
||||
string(REGEX MATCH "#define +HB_VERSION_STRING +\"([0-9]+\\.[0-9]+\\.[0-9]+)\"" _dummy "${_harfbuzz_version_content}")
|
||||
set(HARFBUZZ_VERSION "${CMAKE_MATCH_1}")
|
||||
endif ()
|
||||
pkg_check_modules(PC_HARFBUZZ_ICU harfbuzz-icu>=0.9.18 ${_HARFBUZZ_REQUIRED})
|
||||
find_library(HARFBUZZ_ICU_LIBRARIES NAMES harfbuzz-icu
|
||||
HINTS ${PC_HARFBUZZ_ICU_LIBRARY_DIRS} ${PC_HARFBUZZ_ICU_LIBDIR}
|
||||
)
|
||||
if (HARFBUZZ_ICU_LIBRARIES)
|
||||
list(APPEND HARFBUZZ_LIBRARIES "${HARFBUZZ_ICU_LIBRARIES}")
|
||||
endif ()
|
||||
set(_HARFBUZZ_EXTRA_REQUIRED_VAR "HARFBUZZ_ICU_LIBRARIES")
|
||||
else ()
|
||||
set(_HARFBUZZ_EXTRA_REQUIRED_VAR "")
|
||||
endif ()
|
||||
|
||||
if ("${harfbuzz_FIND_VERSION}" VERSION_GREATER "${HARFBUZZ_VERSION}")
|
||||
message(FATAL_ERROR "Required version (" ${harfbuzz_FIND_VERSION} ") is higher than found version (" ${HARFBUZZ_VERSION} ")")
|
||||
endif ()
|
||||
|
||||
include(FindPackageHandleStandardArgs)
|
||||
FIND_PACKAGE_HANDLE_STANDARD_ARGS(HarfBuzz DEFAULT_MSG HARFBUZZ_INCLUDE_DIRS
|
||||
HARFBUZZ_LIBRARIES ${_HARFBUZZ_EXTRA_REQUIRED_VAR})
|
||||
FIND_PACKAGE_HANDLE_STANDARD_ARGS(
|
||||
harfbuzz
|
||||
REQUIRED_VARS HARFBUZZ_INCLUDE_DIRS HARFBUZZ_LIBRARIES
|
||||
VERSION_VAR HARFBUZZ_VERSION)
|
||||
|
||||
mark_as_advanced(
|
||||
HARFBUZZ_ICU_LIBRARIES
|
||||
HARFBUZZ_INCLUDE_DIRS
|
||||
HARFBUZZ_LIBRARIES
|
||||
)
|
||||
|
||||
# Allows easy linking as in
|
||||
# target_link_libraries(freetype PRIVATE Harfbuzz::Harfbuzz)
|
||||
if (NOT CMAKE_VERSION VERSION_LESS 3.1)
|
||||
if (HARFBUZZ_FOUND AND NOT TARGET Harfbuzz::Harfbuzz)
|
||||
add_library(Harfbuzz::Harfbuzz INTERFACE IMPORTED)
|
||||
set_target_properties(
|
||||
Harfbuzz::Harfbuzz PROPERTIES
|
||||
INTERFACE_INCLUDE_DIRECTORIES "${HARFBUZZ_INCLUDE_DIRS}")
|
||||
endif ()
|
||||
endif ()
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
# iOS.cmake
|
||||
#
|
||||
# Copyright 2014-2017 by
|
||||
# Copyright 2014-2018 by
|
||||
# David Turner, Robert Wilhelm, and Werner Lemberg.
|
||||
#
|
||||
# Written by David Wimsey <david@wimsey.us>
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#!/bin/sh -e
|
||||
|
||||
# Copyright 2015-2017 by
|
||||
# Copyright 2015-2018 by
|
||||
# David Turner, Robert Wilhelm, and Werner Lemberg.
|
||||
#
|
||||
# This file is part of the FreeType project, and may only be used, modified,
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
#
|
||||
|
||||
|
||||
# Copyright 1996-2017 by
|
||||
# Copyright 1996-2018 by
|
||||
# David Turner, Robert Wilhelm, and Werner Lemberg.
|
||||
#
|
||||
# This file is part of the FreeType project, and may only be used, modified,
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
#
|
||||
|
||||
|
||||
# Copyright 1996-2017 by
|
||||
# Copyright 1996-2018 by
|
||||
# David Turner, Robert Wilhelm, and Werner Lemberg.
|
||||
#
|
||||
# This file is part of the FreeType project, and may only be used, modified,
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
#
|
||||
|
||||
|
||||
# Copyright 1996-2017 by
|
||||
# Copyright 1996-2018 by
|
||||
# David Turner, Robert Wilhelm, and Werner Lemberg.
|
||||
#
|
||||
# This file is part of the FreeType project, and may only be used, modified,
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
#
|
||||
|
||||
|
||||
# Copyright 2003-2017 by
|
||||
# Copyright 2003-2018 by
|
||||
# David Turner, Robert Wilhelm, and Werner Lemberg.
|
||||
#
|
||||
# This file is part of the FreeType project, and may only be used, modified,
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
#
|
||||
|
||||
|
||||
# Copyright 1996-2017 by
|
||||
# Copyright 1996-2018 by
|
||||
# David Turner, Robert Wilhelm, and Werner Lemberg.
|
||||
#
|
||||
# This file is part of the FreeType project, and may only be used, modified,
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
#
|
||||
|
||||
|
||||
# Copyright 1996-2017 by
|
||||
# Copyright 1996-2018 by
|
||||
# David Turner, Robert Wilhelm, and Werner Lemberg.
|
||||
#
|
||||
# This file is part of the FreeType project, and may only be used, modified,
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
#
|
||||
|
||||
|
||||
# Copyright 1996-2017 by
|
||||
# Copyright 1996-2018 by
|
||||
# David Turner, Robert Wilhelm, and Werner Lemberg.
|
||||
#
|
||||
# This file is part of the FreeType project, and may only be used, modified,
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
#
|
||||
|
||||
|
||||
# Copyright 1996-2017 by
|
||||
# Copyright 1996-2018 by
|
||||
# David Turner, Robert Wilhelm, and Werner Lemberg.
|
||||
#
|
||||
# This file is part of the FreeType project, and may only be used, modified,
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
#
|
||||
|
||||
|
||||
# Copyright 1996-2017 by
|
||||
# Copyright 1996-2018 by
|
||||
# David Turner, Robert Wilhelm, and Werner Lemberg.
|
||||
#
|
||||
# This file is part of the FreeType project, and may only be used, modified,
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
#
|
||||
|
||||
|
||||
# Copyright 1996-2017 by
|
||||
# Copyright 1996-2018 by
|
||||
# David Turner, Robert Wilhelm, and Werner Lemberg.
|
||||
#
|
||||
# This file is part of the FreeType project, and may only be used, modified,
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
#
|
||||
|
||||
|
||||
# Copyright 1996-2017 by
|
||||
# Copyright 1996-2018 by
|
||||
# David Turner, Robert Wilhelm, and Werner Lemberg.
|
||||
#
|
||||
# This file is part of the FreeType project, and may only be used, modified,
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
#
|
||||
|
||||
|
||||
# Copyright 1996-2017 by
|
||||
# Copyright 1996-2018 by
|
||||
# David Turner, Robert Wilhelm, and Werner Lemberg.
|
||||
#
|
||||
# This file is part of the FreeType project, and may only be used, modified,
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
#
|
||||
|
||||
|
||||
# Copyright 1996-2017 by
|
||||
# Copyright 1996-2018 by
|
||||
# David Turner, Robert Wilhelm, and Werner Lemberg.
|
||||
#
|
||||
# This file is part of the FreeType project, and may only be used, modified,
|
||||
|
@ -101,54 +101,28 @@ ifndef CONFIG_FILE
|
|||
.PHONY: setup
|
||||
endif
|
||||
|
||||
# The following targets are equivalent, with the exception that they use
|
||||
# a slightly different syntax for the `echo' command.
|
||||
# Flash out and copy rules.
|
||||
#
|
||||
# std_setup: defined for most (i.e. Unix-like) platforms
|
||||
# dos_setup: defined for Dos-ish platforms like Dos, Windows & OS/2
|
||||
#
|
||||
.PHONY: std_setup dos_setup
|
||||
.PHONY: std_setup
|
||||
|
||||
std_setup:
|
||||
@echo ""
|
||||
@echo "$(PROJECT_TITLE) build system -- automatic system detection"
|
||||
@echo ""
|
||||
@echo "The following settings are used:"
|
||||
@echo ""
|
||||
@echo " platform $(PLATFORM)"
|
||||
@echo " compiler $(CC)"
|
||||
@echo " configuration directory $(BUILD_DIR)"
|
||||
@echo " configuration rules $(CONFIG_RULES)"
|
||||
@echo ""
|
||||
@echo "If this does not correspond to your system or settings please remove the file"
|
||||
@echo "\`$(CONFIG_MK)' from this directory then read the INSTALL file for help."
|
||||
@echo ""
|
||||
@echo "Otherwise, simply type \`$(MAKE)' again to build the library,"
|
||||
@echo "or \`$(MAKE) refdoc' to build the API reference (this needs python >= 2.6)."
|
||||
@echo ""
|
||||
@$(COPY) $(CONFIG_RULES) $(CONFIG_MK)
|
||||
|
||||
|
||||
# Special case for Dos, Windows, OS/2, where echo "" doesn't work correctly!
|
||||
#
|
||||
dos_setup:
|
||||
@type builds$(SEP)newline
|
||||
@echo $(PROJECT_TITLE) build system -- automatic system detection
|
||||
@type builds$(SEP)newline
|
||||
@echo The following settings are used:
|
||||
@type builds$(SEP)newline
|
||||
@echo platformÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿ$(PLATFORM)
|
||||
@echo compilerÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿ$(CC)
|
||||
@echo configuration directoryÿÿÿÿÿÿ$(subst /,$(SEP),$(BUILD_DIR))
|
||||
@echo configuration rulesÿÿÿÿÿÿÿÿÿÿ$(subst /,$(SEP),$(CONFIG_RULES))
|
||||
@type builds$(SEP)newline
|
||||
@echo If this does not correspond to your system or settings please remove the file
|
||||
@echo '$(CONFIG_MK)' from this directory then read the INSTALL file for help.
|
||||
@type builds$(SEP)newline
|
||||
@echo Otherwise, simply type 'make' again to build the library.
|
||||
@echo or 'make refdoc' to build the API reference (this needs python >= 2.6).
|
||||
@type builds$(SEP)newline
|
||||
@$(COPY) $(subst /,$(SEP),$(CONFIG_RULES) $(CONFIG_MK)) > nul
|
||||
$(info )
|
||||
$(info $(PROJECT_TITLE) build system -- automatic system detection)
|
||||
$(info )
|
||||
$(info The following settings are used:)
|
||||
$(info )
|
||||
$(info $(empty) platform $(PLATFORM))
|
||||
$(info $(empty) compiler $(CC))
|
||||
$(info $(empty) configuration directory $(subst /,$(SEP),$(BUILD_DIR)))
|
||||
$(info $(empty) configuration rules $(subst /,$(SEP),$(CONFIG_RULES)))
|
||||
$(info )
|
||||
$(info If this does not correspond to your system or settings please remove the file)
|
||||
$(info `$(CONFIG_MK)' from this directory then read the INSTALL file for help.)
|
||||
$(info )
|
||||
$(info Otherwise, simply type `$(MAKE)' again to build the library,)
|
||||
$(info or `$(MAKE) refdoc' to build the API reference (this needs python >= 2.6).)
|
||||
$(info )
|
||||
@$(COPY) $(subst /,$(SEP),$(CONFIG_RULES) $(CONFIG_MK))
|
||||
|
||||
|
||||
# EOF
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
#
|
||||
|
||||
|
||||
# Copyright 1996-2017 by
|
||||
# Copyright 1996-2018 by
|
||||
# David Turner, Robert Wilhelm, and Werner Lemberg.
|
||||
#
|
||||
# This file is part of the FreeType project, and may only be used, modified,
|
||||
|
@ -133,7 +133,7 @@ ifeq ($(PLATFORM),dos)
|
|||
COPY := copy
|
||||
endif # test NT
|
||||
|
||||
setup: dos_setup
|
||||
setup: std_setup
|
||||
endif
|
||||
|
||||
endif # test PLATFORM dos
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
#
|
||||
|
||||
|
||||
# Copyright 1996-2017 by
|
||||
# Copyright 1996-2018 by
|
||||
# David Turner, Robert Wilhelm, and Werner Lemberg.
|
||||
#
|
||||
# This file is part of the FreeType project, and may only be used, modified,
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
#
|
||||
|
||||
|
||||
# Copyright 2003-2017 by
|
||||
# Copyright 2003-2018 by
|
||||
# David Turner, Robert Wilhelm, and Werner Lemberg.
|
||||
#
|
||||
# This file is part of the FreeType project, and may only be used, modified,
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
#
|
||||
|
||||
|
||||
# Copyright 1996-2017 by
|
||||
# Copyright 1996-2018 by
|
||||
# David Turner, Robert Wilhelm, and Werner Lemberg.
|
||||
#
|
||||
# This file is part of the FreeType project, and may only be used, modified,
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
#
|
||||
|
||||
|
||||
# Copyright 2003-2017 by
|
||||
# Copyright 2003-2018 by
|
||||
# David Turner, Robert Wilhelm, and Werner Lemberg.
|
||||
#
|
||||
# This file is part of the FreeType project, and may only be used, modified,
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
#
|
||||
|
||||
|
||||
# Copyright 2005-2017 by
|
||||
# Copyright 2005-2018 by
|
||||
# David Turner, Robert Wilhelm, and Werner Lemberg.
|
||||
#
|
||||
# This file is part of the FreeType project, and may only be used, modified,
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
#
|
||||
|
||||
|
||||
# Copyright 1996-2017 by
|
||||
# Copyright 1996-2018 by
|
||||
# David Turner, Robert Wilhelm, and Werner Lemberg.
|
||||
#
|
||||
# This file is part of the FreeType project, and may only be used, modified,
|
||||
|
@ -153,6 +153,9 @@ endif
|
|||
ifneq ($(wildcard $(OBJ_DIR)/ftoption.h),)
|
||||
FTOPTION_H := $(OBJ_DIR)/ftoption.h
|
||||
FTOPTION_FLAG := $DFT_CONFIG_OPTIONS_H="<ftoption.h>"
|
||||
else ifneq ($(wildcard $(BUILD_DIR)/ftoption.h),)
|
||||
FTOPTION_H := $(BUILD_DIR)/ftoption.h
|
||||
FTOPTION_FLAG := $DFT_CONFIG_OPTIONS_H="<ftoption.h>"
|
||||
endif
|
||||
|
||||
# `CPPFLAGS' might be specified by the user in the environment.
|
||||
|
@ -245,6 +248,22 @@ $(FTINIT_OBJ): $(FTINIT_SRC) $(FREETYPE_H)
|
|||
$(FT_COMPILE) $T$(subst /,$(COMPILER_SEP),$@ $<)
|
||||
|
||||
|
||||
# ftver component
|
||||
#
|
||||
# The VERSIONINFO resource `ftver.rc' contains version and copyright
|
||||
# to be compiled by windres and tagged into DLL usually.
|
||||
#
|
||||
ifneq ($(RC),)
|
||||
FTVER_SRC := $(BASE_DIR)/ftver.rc
|
||||
FTVER_OBJ := $(OBJ_DIR)/ftver.$O
|
||||
|
||||
OBJECTS_LIST += $(FTVER_OBJ)
|
||||
|
||||
$(FTVER_OBJ): $(FTVER_SRC)
|
||||
$(RC) -o $@ $<
|
||||
endif
|
||||
|
||||
|
||||
# All FreeType library objects.
|
||||
#
|
||||
OBJ_M := $(BASE_OBJ_M) $(BASE_EXT_OBJ) $(DRV_OBJS_M)
|
||||
|
@ -326,10 +345,9 @@ remove_ftmodule_h:
|
|||
|
||||
.PHONY: clean distclean
|
||||
|
||||
# The `config.mk' file must define `clean_freetype' and
|
||||
# `distclean_freetype'. Implementations may use to relay these to either
|
||||
# the `std' or `dos' versions from above, or simply provide their own
|
||||
# implementation.
|
||||
# The `config.mk' file must define `clean_project' and `distclean_project'.
|
||||
# Implementations may use to relay these to either the `std' or `dos'
|
||||
# versions from above, or simply provide their own implementation.
|
||||
#
|
||||
clean: clean_project
|
||||
distclean: distclean_project remove_config_mk remove_ftmodule_h
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
#
|
||||
|
||||
|
||||
# Copyright 1996-2017 by
|
||||
# Copyright 1996-2018 by
|
||||
# David Turner, Robert Wilhelm, and Werner Lemberg.
|
||||
#
|
||||
# This file is part of the FreeType project, and may only be used, modified,
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
#
|
||||
|
||||
|
||||
# Copyright 1996-2017 by
|
||||
# Copyright 1996-2018 by
|
||||
# David Turner, Robert Wilhelm, and Werner Lemberg.
|
||||
#
|
||||
# This file is part of the FreeType project, and may only be used, modified,
|
||||
|
|
|
@ -38,7 +38,6 @@ SrcFiles = \xB6
|
|||
:src:base:ftbdf.c \xB6
|
||||
:src:base:ftbitmap.c \xB6
|
||||
:src:base:ftdebug.c \xB6
|
||||
:src:base:ftfntfmt.c \xB6
|
||||
:src:base:ftfstype.c \xB6
|
||||
:src:base:ftglyph.c \xB6
|
||||
:src:base:ftgxval.c \xB6
|
||||
|
@ -83,7 +82,6 @@ ObjFiles-68K = \xB6
|
|||
"{ObjDir}ftbdf.c.o" \xB6
|
||||
"{ObjDir}ftbitmap.c.o" \xB6
|
||||
"{ObjDir}ftdebug.c.o" \xB6
|
||||
"{ObjDir}ftfntfmt.c.o" \xB6
|
||||
"{ObjDir}ftfstype.c.o" \xB6
|
||||
"{ObjDir}ftglyph.c.o" \xB6
|
||||
"{ObjDir}ftgxval.c.o" \xB6
|
||||
|
@ -161,7 +159,6 @@ FreeType.m68k_cfm.o \xC4\xC4 {ObjFiles-68K} {LibFiles-68K} {\xA5MondoBuild\xA5
|
|||
"{ObjDir}ftbdf.c.o" \xC4 :src:base:ftbdf.c
|
||||
"{ObjDir}ftbitmap.c.o" \xC4 :src:base:ftbitmap.c
|
||||
"{ObjDir}ftdebug.c.o" \xC4 :src:base:ftdebug.c
|
||||
"{ObjDir}ftfntfmt.c.o" \xC4 :src:base:ftfntfmt.c
|
||||
"{ObjDir}ftfstype.c.o" \xC4 :src:base:ftfstype.c
|
||||
"{ObjDir}ftglyph.c.o" \xC4 :src:base:ftglyph.c
|
||||
"{ObjDir}ftgxval.c.o" \xC4 :src:base:ftgxval.c
|
||||
|
|
|
@ -37,7 +37,6 @@ SrcFiles = \xB6
|
|||
:src:base:ftbdf.c \xB6
|
||||
:src:base:ftbitmap.c \xB6
|
||||
:src:base:ftdebug.c \xB6
|
||||
:src:base:ftfntfmt.c \xB6
|
||||
:src:base:ftfstype.c \xB6
|
||||
:src:base:ftglyph.c \xB6
|
||||
:src:base:ftgxval.c \xB6
|
||||
|
@ -82,7 +81,6 @@ ObjFiles-68K = \xB6
|
|||
"{ObjDir}ftbdf.c.o" \xB6
|
||||
"{ObjDir}ftbitmap.c.o" \xB6
|
||||
"{ObjDir}ftdebug.c.o" \xB6
|
||||
"{ObjDir}ftfntfmt.c.o" \xB6
|
||||
"{ObjDir}ftfstype.c.o" \xB6
|
||||
"{ObjDir}ftglyph.c.o" \xB6
|
||||
"{ObjDir}ftgxval.c.o" \xB6
|
||||
|
@ -160,7 +158,6 @@ FreeType.m68k_far.o \xC4\xC4 {ObjFiles-68K} {LibFiles-68K} {\xA5MondoBuild\xA5
|
|||
"{ObjDir}ftbdf.c.o" \xC4 :src:base:ftbdf.c
|
||||
"{ObjDir}ftbitmap.c.o" \xC4 :src:base:ftbitmap.c
|
||||
"{ObjDir}ftdebug.c.o" \xC4 :src:base:ftdebug.c
|
||||
"{ObjDir}ftfntfmt.c.o" \xC4 :src:base:ftfntfmt.c
|
||||
"{ObjDir}ftfstype.c.o" \xC4 :src:base:ftfstype.c
|
||||
"{ObjDir}ftglyph.c.o" \xC4 :src:base:ftglyph.c
|
||||
"{ObjDir}ftgxval.c.o" \xC4 :src:base:ftgxval.c
|
||||
|
|
|
@ -38,7 +38,6 @@ SrcFiles = \xB6
|
|||
:src:base:ftbdf.c \xB6
|
||||
:src:base:ftbitmap.c \xB6
|
||||
:src:base:ftdebug.c \xB6
|
||||
:src:base:ftfntfmt.c \xB6
|
||||
:src:base:ftfstype.c \xB6
|
||||
:src:base:ftglyph.c \xB6
|
||||
:src:base:ftgxval.c \xB6
|
||||
|
@ -83,7 +82,6 @@ ObjFiles-PPC = \xB6
|
|||
"{ObjDir}ftbdf.c.x" \xB6
|
||||
"{ObjDir}ftbitmap.c.x" \xB6
|
||||
"{ObjDir}ftdebug.c.x" \xB6
|
||||
"{ObjDir}ftfntfmt.c.x" \xB6
|
||||
"{ObjDir}ftfstype.c.x" \xB6
|
||||
"{ObjDir}ftglyph.c.x" \xB6
|
||||
"{ObjDir}ftgxval.c.x" \xB6
|
||||
|
@ -164,7 +162,6 @@ FreeType.ppc_carbon.o \xC4\xC4 {ObjFiles-PPC} {LibFiles-PPC} {\xA5MondoBuild\x
|
|||
"{ObjDir}ftbdf.c.x" \xC4 :src:base:ftbdf.c
|
||||
"{ObjDir}ftbitmap.c.x" \xC4 :src:base:ftbitmap.c
|
||||
"{ObjDir}ftdebug.c.x" \xC4 :src:base:ftdebug.c
|
||||
"{ObjDir}ftfntfmt.c.x" \xC4 :src:base:ftfntfmt.c
|
||||
"{ObjDir}ftfstype.c.x" \xC4 :src:base:ftfstype.c
|
||||
"{ObjDir}ftglyph.c.x" \xC4 :src:base:ftglyph.c
|
||||
"{ObjDir}ftgxval.c.x" \xC4 :src:base:ftgxval.c
|
||||
|
|
|
@ -38,7 +38,6 @@ SrcFiles = \xB6
|
|||
:src:base:ftbdf.c \xB6
|
||||
:src:base:ftbitmap.c \xB6
|
||||
:src:base:ftdebug.c \xB6
|
||||
:src:base:ftfntfmt.c \xB6
|
||||
:src:base:ftfstype.c \xB6
|
||||
:src:base:ftglyph.c \xB6
|
||||
:src:base:ftgxval.c \xB6
|
||||
|
@ -83,7 +82,6 @@ ObjFiles-PPC = \xB6
|
|||
"{ObjDir}ftbdf.c.x" \xB6
|
||||
"{ObjDir}ftbitmap.c.x" \xB6
|
||||
"{ObjDir}ftdebug.c.x" \xB6
|
||||
"{ObjDir}ftfntfmt.c.x" \xB6
|
||||
"{ObjDir}ftfstype.c.x" \xB6
|
||||
"{ObjDir}ftglyph.c.x" \xB6
|
||||
"{ObjDir}ftgxval.c.x" \xB6
|
||||
|
@ -164,7 +162,6 @@ FreeType.ppc_classic.o \xC4\xC4 {ObjFiles-PPC} {LibFiles-PPC} {\xA5MondoBuild\
|
|||
"{ObjDir}ftbdf.c.x" \xC4 :src:base:ftbdf.c
|
||||
"{ObjDir}ftbitmap.c.x" \xC4 :src:base:ftbitmap.c
|
||||
"{ObjDir}ftdebug.c.x" \xC4 :src:base:ftdebug.c
|
||||
"{ObjDir}ftfntfmt.c.x" \xC4 :src:base:ftfntfmt.c
|
||||
"{ObjDir}ftfstype.c.x" \xC4 :src:base:ftfstype.c
|
||||
"{ObjDir}ftglyph.c.x" \xC4 :src:base:ftglyph.c
|
||||
"{ObjDir}ftgxval.c.x" \xC4 :src:base:ftgxval.c
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
/* Mac FOND support. Written by just@letterror.com. */
|
||||
/* Heavily Fixed by mpsuzuki, George Williams and Sean McBride */
|
||||
/* */
|
||||
/* Copyright 1996-2017 by */
|
||||
/* Copyright 1996-2018 by */
|
||||
/* Just van Rossum, David Turner, Robert Wilhelm, and Werner Lemberg. */
|
||||
/* */
|
||||
/* This file is part of the FreeType project, and may only be used, */
|
||||
|
@ -1423,7 +1423,7 @@ typedef short ResourceIndex;
|
|||
/* accepts an FSRef instead of a path. */
|
||||
/* */
|
||||
/* This function is deprecated because Carbon data types (FSRef) */
|
||||
/* are not cross-platform, and thus not suitable for the freetype API. */
|
||||
/* are not cross-platform, and thus not suitable for the FreeType API. */
|
||||
FT_EXPORT_DEF( FT_Error )
|
||||
FT_New_Face_From_FSRef( FT_Library library,
|
||||
const FSRef* ref,
|
||||
|
@ -1481,7 +1481,7 @@ typedef short ResourceIndex;
|
|||
/* accepts an FSSpec instead of a path. */
|
||||
/* */
|
||||
/* This function is deprecated because Carbon data types (FSSpec) */
|
||||
/* are not cross-platform, and thus not suitable for the freetype API. */
|
||||
/* are not cross-platform, and thus not suitable for the FreeType API. */
|
||||
FT_EXPORT_DEF( FT_Error )
|
||||
FT_New_Face_From_FSSpec( FT_Library library,
|
||||
const FSSpec* spec,
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
#
|
||||
|
||||
|
||||
# Copyright 1996-2017 by
|
||||
# Copyright 1996-2018 by
|
||||
# David Turner, Robert Wilhelm, and Werner Lemberg.
|
||||
#
|
||||
# This file is part of the FreeType project, and may only be used, modified,
|
||||
|
@ -41,7 +41,7 @@ endif
|
|||
|
||||
define FTMODULE_H_INIT
|
||||
$(REMOVE_MODULE)
|
||||
@-echo Generating modules list in $(FTMODULE_H)...
|
||||
$(info Generating modules list in $(FTMODULE_H)...)
|
||||
$(OPEN_MODULE)/* This is a generated file. */$(CLOSE_MODULE)
|
||||
endef
|
||||
|
||||
|
@ -56,7 +56,7 @@ endef
|
|||
|
||||
define FTMODULE_H_DONE
|
||||
$(OPEN_MODULE)/* EOF */$(CLOSE_MODULE)
|
||||
@echo done.
|
||||
$(info done.)
|
||||
endef
|
||||
|
||||
|
||||
|
|
|
@ -1 +0,0 @@
|
|||
|
|
@ -3,7 +3,7 @@
|
|||
#
|
||||
|
||||
|
||||
# Copyright 1996-2017 by
|
||||
# Copyright 1996-2018 by
|
||||
# David Turner, Robert Wilhelm, and Werner Lemberg.
|
||||
#
|
||||
# This file is part of the FreeType project, and may only be used, modified,
|
||||
|
@ -65,7 +65,7 @@ ifeq ($(PLATFORM),os2)
|
|||
.PHONY: devel
|
||||
endif
|
||||
|
||||
setup: dos_setup
|
||||
setup: std_setup
|
||||
|
||||
endif # test PLATFORM os2
|
||||
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
#
|
||||
|
||||
|
||||
# Copyright 1996-2017 by
|
||||
# Copyright 1996-2018 by
|
||||
# David Turner, Robert Wilhelm, and Werner Lemberg.
|
||||
#
|
||||
# This file is part of the FreeType project, and may only be used, modified,
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
#
|
||||
|
||||
|
||||
# Copyright 1996-2017 by
|
||||
# Copyright 1996-2018 by
|
||||
# David Turner, Robert Wilhelm, and Werner Lemberg.
|
||||
#
|
||||
# This file is part of the FreeType project, and may only be used, modified,
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
#
|
||||
|
||||
|
||||
# Copyright 1996-2017 by
|
||||
# Copyright 1996-2018 by
|
||||
# David Turner, Robert Wilhelm, and Werner Lemberg.
|
||||
#
|
||||
# This file is part of the FreeType project, and may only be used, modified,
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
// FreeType 2 project for the symbian platform
|
||||
//
|
||||
|
||||
// Copyright 2008-2017 by
|
||||
// Copyright 2008-2018 by
|
||||
// David Turner, Robert Wilhelm, and Werner Lemberg.
|
||||
//
|
||||
// This file is part of the FreeType project, and may only be used, modified,
|
||||
|
@ -25,10 +25,14 @@ PRJ_EXPORTS
|
|||
../../include/freetype/config/ftoption.h config/ftoption.h
|
||||
../../include/freetype/config/ftstdlib.h config/ftstdlib.h
|
||||
../../include/freetype/freetype.h freetype.h
|
||||
../../include/freetype/ftadvanc.h ftadvanc.h
|
||||
../../include/freetype/ftautoh.h ftautoh.h
|
||||
../../include/freetype/ftbbox.h ftbbox.h
|
||||
../../include/freetype/ftbdf.h ftbdf.h
|
||||
../../include/freetype/ftbitmap.h ftbitmap.h
|
||||
../../include/freetype/ftbzip2.h ftbzip2.h
|
||||
../../include/freetype/ftcache.h ftcache.h
|
||||
../../include/freetype/ftcffdrv.h ftcffdrv.h
|
||||
../../include/freetype/ftcid.h ftcid.h
|
||||
../../include/freetype/fterrdef.h fterrdef.h
|
||||
../../include/freetype/fterrors.h fterrors.h
|
||||
|
@ -37,7 +41,6 @@ PRJ_EXPORTS
|
|||
../../include/freetype/ftglyph.h ftglyph.h
|
||||
../../include/freetype/ftgxval.h ftgxval.h
|
||||
../../include/freetype/ftgzip.h ftgzip.h
|
||||
../../include/freetype/ftbzip2.h ftbzip2.h
|
||||
../../include/freetype/ftimage.h ftimage.h
|
||||
../../include/freetype/ftincrem.h ftincrem.h
|
||||
../../include/freetype/ftlcdfil.h ftlcdfil.h
|
||||
|
@ -49,6 +52,8 @@ PRJ_EXPORTS
|
|||
../../include/freetype/ftmoderr.h ftmoderr.h
|
||||
../../include/freetype/ftotval.h ftotval.h
|
||||
../../include/freetype/ftoutln.h ftoutln.h
|
||||
../../include/freetype/ftparams.h ftparams.h
|
||||
../../include/freetype/ftpcfdrv.h ftpcfdrv.h
|
||||
../../include/freetype/ftpfr.h ftpfr.h
|
||||
../../include/freetype/ftrender.h ftrender.h
|
||||
../../include/freetype/ftsizes.h ftsizes.h
|
||||
|
@ -56,11 +61,12 @@ PRJ_EXPORTS
|
|||
../../include/freetype/ftstroke.h ftstroke.h
|
||||
../../include/freetype/ftsynth.h ftsynth.h
|
||||
../../include/freetype/ftsystem.h ftsystem.h
|
||||
../../include/freetype/ftt1drv.h ftt1drv.h
|
||||
../../include/freetype/fttrigon.h fttrigon.h
|
||||
../../include/freetype/ftttdrv.h ftttdrv.h
|
||||
../../include/freetype/fttypes.h fttypes.h
|
||||
../../include/freetype/ftwinfnt.h ftwinfnt.h
|
||||
../../include/freetype/t1tables.h t1tables.h
|
||||
../../include/freetype/ttnameid.h ttnameid.h
|
||||
../../include/freetype/tttables.h tttables.h
|
||||
../../include/freetype/tttags.h tttags.h
|
||||
../../include/freetype/ttunpat.h ttunpat.h
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
// FreeType 2 makefile for the symbian platform
|
||||
//
|
||||
|
||||
// Copyright 2008-2017 by
|
||||
// Copyright 2008-2018 by
|
||||
// David Turner, Robert Wilhelm, and Werner Lemberg.
|
||||
//
|
||||
// This file is part of the FreeType project, and may only be used, modified,
|
||||
|
@ -28,13 +28,11 @@ source ftbbox.c
|
|||
source ftbdf.c
|
||||
source ftbitmap.c
|
||||
source ftcid.c
|
||||
source ftfntfmt.c
|
||||
source ftfstype.c
|
||||
source ftgasp.c
|
||||
source ftglyph.c
|
||||
source ftgxval.c
|
||||
source ftinit.c
|
||||
source ftlcdfil.c
|
||||
source ftmm.c
|
||||
source ftotval.c
|
||||
source ftpatent.c
|
||||
|
@ -49,6 +47,10 @@ sourcepath ..\..\src\bdf
|
|||
|
||||
source bdf.c
|
||||
|
||||
sourcepath ..\..\src\bzip2
|
||||
|
||||
source ftbzip2.c
|
||||
|
||||
sourcepath ..\..\src\cache
|
||||
|
||||
source ftcache.c
|
||||
|
@ -65,10 +67,6 @@ sourcepath ..\..\src\gzip
|
|||
|
||||
source ftgzip.c
|
||||
|
||||
sourcepath ..\..\src\bzip2
|
||||
|
||||
source ftbzip2.c
|
||||
|
||||
sourcepath ..\..\src\lzw
|
||||
|
||||
source ftlzw.c
|
||||
|
@ -126,12 +124,12 @@ systeminclude ..\..\include
|
|||
systeminclude \epoc32\include\stdapis
|
||||
userinclude ..\..\src\autofit
|
||||
userinclude ..\..\src\bdf
|
||||
userinclude ..\..\src\bzip2
|
||||
userinclude ..\..\src\cache
|
||||
userinclude ..\..\src\cff
|
||||
userinclude ..\..\src\cid
|
||||
userinclude ..\..\src\gxvalid
|
||||
userinclude ..\..\src\gzip
|
||||
userinclude ..\..\src\bzip2
|
||||
userinclude ..\..\src\lzw
|
||||
userinclude ..\..\src\otvalid
|
||||
userinclude ..\..\src\pcf
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
#
|
||||
|
||||
|
||||
# Copyright 1996-2017 by
|
||||
# Copyright 1996-2018 by
|
||||
# David Turner, Robert Wilhelm, and Werner Lemberg.
|
||||
#
|
||||
# This file is part of the FreeType project, and may only be used, modified,
|
||||
|
@ -172,7 +172,8 @@ include $(TOP_DIR)/builds/modules.mk
|
|||
# get FreeType version string, using a
|
||||
# poor man's `sed' emulation with make's built-in string functions
|
||||
#
|
||||
work := $(strip $(shell $(CAT) $(TOP_DIR)/include/freetype/freetype.h))
|
||||
work := $(strip $(shell $(CAT) \
|
||||
$(subst /,$(SEP),$(TOP_DIR)/include/freetype/freetype.h)))
|
||||
work := $(subst |,x,$(work))
|
||||
work := $(subst $(space),|,$(work))
|
||||
work := $(subst \#define|FREETYPE_MAJOR|,$(space),$(work))
|
||||
|
|
|
@ -10,6 +10,7 @@ configure.ac
|
|||
freetype2.pc
|
||||
freetype-config
|
||||
ftconfig.h
|
||||
ftoption.h
|
||||
install-sh
|
||||
libtool
|
||||
ltmain.sh
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
#
|
||||
# Process this file with autoconf to produce a configure script.
|
||||
#
|
||||
# Copyright 2001-2017 by
|
||||
# Copyright 2001-2018 by
|
||||
# David Turner, Robert Wilhelm, and Werner Lemberg.
|
||||
#
|
||||
# This file is part of the FreeType project, and may only be used, modified,
|
||||
|
@ -17,7 +17,7 @@ AC_CONFIG_SRCDIR([ftconfig.in])
|
|||
|
||||
# Don't forget to update `docs/VERSIONS.TXT'!
|
||||
|
||||
version_info='19:0:13'
|
||||
version_info='22:0:16'
|
||||
AC_SUBST([version_info])
|
||||
ft_version=`echo $version_info | tr : .`
|
||||
AC_SUBST([ft_version])
|
||||
|
@ -37,6 +37,7 @@ AC_SUBST(EXEEXT)
|
|||
PKG_PROG_PKG_CONFIG([0.24])
|
||||
|
||||
LT_INIT(win32-dll)
|
||||
LT_PROG_RC
|
||||
|
||||
|
||||
# checks for native programs to generate building tool
|
||||
|
@ -112,15 +113,13 @@ AC_TYPE_LONG_LONG_INT
|
|||
|
||||
AC_MSG_CHECKING([whether cpp computation of bit length in ftconfig.in works])
|
||||
orig_CPPFLAGS="${CPPFLAGS}"
|
||||
CPPFLAGS="-I${srcdir} -I. ${CPPFLAGS}"
|
||||
CPPFLAGS="-I${srcdir} -I. -I${srcdir}/../../include/freetype/config ${CPPFLAGS}"
|
||||
|
||||
ac_clean_files=
|
||||
for f in ft2build.h ftoption.h ftstdlib.h; do
|
||||
if test ! -f $f; then
|
||||
ac_clean_files="$ac_clean_files $f"
|
||||
touch $f
|
||||
fi
|
||||
done
|
||||
if test ! -f ft2build.h; then
|
||||
ac_clean_files=ft2build.h
|
||||
touch ft2build.h
|
||||
fi
|
||||
|
||||
cat > conftest.c <<\_ACEOF
|
||||
#include <limits.h>
|
||||
|
@ -178,6 +177,15 @@ fi
|
|||
|
||||
CPPFLAGS="${orig_CPPFLAGS}"
|
||||
|
||||
AC_ARG_ENABLE([freetype-config],
|
||||
AS_HELP_STRING([--enable-freetype-config], [install freetype-config]),
|
||||
[case "${enableval}" in
|
||||
yes) enable_freetype_config="TRUE" ;;
|
||||
no) enable_freetype_config="FALSE" ;;
|
||||
*) AC_MSG_ERROR([unknown value '${enableval}' passed with --enable-freetype-config]) ;;
|
||||
esac], [enable_freetype_config="FALSE"])
|
||||
|
||||
AC_SUBST(INSTALL_FT2_CONFIG, [$enable_freetype_config])
|
||||
|
||||
# checks for library functions
|
||||
|
||||
|
@ -275,7 +283,7 @@ if test "x$GCC" = xyes; then
|
|||
}
|
||||
|
||||
])],
|
||||
[AC_MSG_RESULT([ok, add it to XX_ANSIFLAGS])
|
||||
[AC_MSG_RESULT([ok, adding to XX_ANSIFLAGS])
|
||||
XX_ANSIFLAGS="${XX_ANSIFLAGS} ${a}"
|
||||
],
|
||||
[AC_MSG_RESULT([no])])
|
||||
|
@ -300,6 +308,18 @@ AC_SUBST([XX_CFLAGS])
|
|||
AC_SUBST([XX_ANSIFLAGS])
|
||||
|
||||
|
||||
# It is recommended that shared libraries hide symbols except those with
|
||||
# explicit __attribute__((visibility("default"))).
|
||||
#
|
||||
AC_MSG_CHECKING([for -fvisibility=hidden compiler flag])
|
||||
orig_CFLAGS="${CFLAGS}"
|
||||
CFLAGS="${CFLAGS} -fvisibility=hidden"
|
||||
AC_COMPILE_IFELSE([AC_LANG_PROGRAM([],[])],
|
||||
AC_MSG_RESULT(yes),
|
||||
CFLAGS="${orig_CFLAGS}"
|
||||
AC_MSG_RESULT(no))
|
||||
|
||||
|
||||
# All library tests below try `pkg-config' first. If that fails, a function
|
||||
# from the library is tested in the traditional autoconf way (zlib, bzip2),
|
||||
# or a config script is called (libpng).
|
||||
|
@ -476,7 +496,7 @@ AC_ARG_WITH([harfbuzz],
|
|||
|
||||
have_harfbuzz=no
|
||||
if test x"$with_harfbuzz" = xyes -o x"$with_harfbuzz" = xauto; then
|
||||
harfbuzz_pkg="harfbuzz >= 0.9.21"
|
||||
harfbuzz_pkg="harfbuzz >= 1.3.0"
|
||||
have_harfbuzz_pkg=no
|
||||
|
||||
if test x"$HARFBUZZ_CFLAGS" = x -a x"$HARFBUZZ_LIBS" = x; then
|
||||
|
@ -511,6 +531,21 @@ if test x"$with_harfbuzz" = xyes -a "$have_harfbuzz" = no; then
|
|||
fi
|
||||
|
||||
|
||||
# check for librt
|
||||
#
|
||||
# We need `clock_gettime' for the `ftbench' demo program.
|
||||
#
|
||||
# The code is modeled after gnulib's file `clock_time.m4', ignoring
|
||||
# very old Solaris systems.
|
||||
|
||||
LIB_CLOCK_GETTIME=
|
||||
AC_SEARCH_LIBS([clock_gettime],
|
||||
[rt],
|
||||
[test "$ac_cv_search_clock_gettime" = "none required" \
|
||||
|| LIB_CLOCK_GETTIME=$ac_cv_search_clock_gettime])
|
||||
AC_SUBST([LIB_CLOCK_GETTIME])
|
||||
|
||||
|
||||
# Some options handling SDKs/archs in CFLAGS should be copied
|
||||
# to LDFLAGS. Apple TechNote 2137 recommends to include these
|
||||
# options in CFLAGS but not in LDFLAGS.
|
||||
|
@ -977,27 +1012,63 @@ AC_SUBST([build_libtool_libs])
|
|||
# changing LDFLAGS value should only be done after
|
||||
# lt_cv_prog_compiler_static_works test
|
||||
|
||||
if test "$have_zlib" != no; then
|
||||
CFLAGS="$CFLAGS $ZLIB_CFLAGS -DFT_CONFIG_OPTION_SYSTEM_ZLIB"
|
||||
LDFLAGS="$LDFLAGS $ZLIB_LIBS"
|
||||
fi
|
||||
ftoption_set()
|
||||
{
|
||||
regexp="-e \\\"s|.*#.*def.*$1.*|#define $1|\\\""
|
||||
FTOPTION_H_SED="$FTOPTION_H_SED $regexp"
|
||||
}
|
||||
|
||||
ftoption_unset()
|
||||
{
|
||||
regexp="-e \\\"s|.*#.*def.*$1.*|/* #undef $1 */|\\\""
|
||||
FTOPTION_H_SED="$FTOPTION_H_SED $regexp"
|
||||
}
|
||||
|
||||
if test "$have_zlib" != no; then
|
||||
CFLAGS="$CFLAGS $ZLIB_CFLAGS"
|
||||
LDFLAGS="$LDFLAGS $ZLIB_LIBS"
|
||||
ftoption_set FT_CONFIG_OPTION_SYSTEM_ZLIB
|
||||
else
|
||||
ftoption_unset FT_CONFIG_OPTION_SYSTEM_ZLIB
|
||||
fi
|
||||
if test "$have_bzip2" != no; then
|
||||
CFLAGS="$CFLAGS $BZIP2_CFLAGS -DFT_CONFIG_OPTION_USE_BZIP2"
|
||||
CFLAGS="$CFLAGS $BZIP2_CFLAGS"
|
||||
LDFLAGS="$LDFLAGS $BZIP2_LIBS"
|
||||
ftoption_set FT_CONFIG_OPTION_USE_BZIP2
|
||||
else
|
||||
ftoption_unset FT_CONFIG_OPTION_USE_BZIP2
|
||||
fi
|
||||
if test "$have_libpng" != no; then
|
||||
CFLAGS="$CFLAGS $LIBPNG_CFLAGS -DFT_CONFIG_OPTION_USE_PNG"
|
||||
CFLAGS="$CFLAGS $LIBPNG_CFLAGS"
|
||||
LDFLAGS="$LDFLAGS $LIBPNG_LIBS"
|
||||
ftoption_set FT_CONFIG_OPTION_USE_PNG
|
||||
else
|
||||
ftoption_unset FT_CONFIG_OPTION_USE_PNG
|
||||
fi
|
||||
if test "$have_harfbuzz" != no; then
|
||||
CFLAGS="$CFLAGS $HARFBUZZ_CFLAGS -DFT_CONFIG_OPTION_USE_HARFBUZZ"
|
||||
CFLAGS="$CFLAGS $HARFBUZZ_CFLAGS"
|
||||
LDFLAGS="$LDFLAGS $HARFBUZZ_LIBS"
|
||||
ftoption_set FT_CONFIG_OPTION_USE_HARFBUZZ
|
||||
else
|
||||
ftoption_unset FT_CONFIG_OPTION_USE_HARFBUZZ
|
||||
fi
|
||||
|
||||
AC_SUBST([CFLAGS])
|
||||
AC_SUBST([LDFLAGS])
|
||||
|
||||
# We don't want to use a template file for `ftoption.h', since compilation
|
||||
# should work without calling a configure script also. For this reason, we
|
||||
# copy the `include/freetype/config/ftoption.h' file to the `unix/builds'
|
||||
# directory (using a dummy `AC_CONFIG_FILES' call) and apply the just
|
||||
# constructed $FTOPTION_H_SED regexp (using the post-action of
|
||||
# `AC_CONFIG_FILES'); this is also the version that gets installed later on.
|
||||
#
|
||||
AC_CONFIG_FILES([ftoption.h:${srcdir}/../../include/freetype/config/ftoption.h],
|
||||
[mv ftoption.h ftoption.tmp
|
||||
eval "sed $FTOPTION_H_SED < ftoption.tmp > ftoption.h"
|
||||
rm ftoption.tmp],
|
||||
[FTOPTION_H_SED="$FTOPTION_H_SED"])
|
||||
|
||||
# configuration file -- stay in 8.3 limit
|
||||
#
|
||||
# since #undef doesn't survive in configuration header files we replace
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
#
|
||||
|
||||
|
||||
# Copyright 1996-2017 by
|
||||
# Copyright 1996-2018 by
|
||||
# David Turner, Robert Wilhelm, and Werner Lemberg.
|
||||
#
|
||||
# This file is part of the FreeType project, and may only be used, modified,
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#! /bin/sh
|
||||
#
|
||||
# Copyright 2000-2017 by
|
||||
# Copyright 2000-2018 by
|
||||
# David Turner, Robert Wilhelm, and Werner Lemberg.
|
||||
#
|
||||
# This file is part of the FreeType project, and may only be used, modified,
|
||||
|
@ -14,7 +14,7 @@ export LC_ALL
|
|||
|
||||
|
||||
# if `pkg-config' is available, use values from `freetype2.pc'
|
||||
pkg-config --version >/dev/null 2>&1
|
||||
%PKG_CONFIG% --atleast-pkgconfig-version 0.24 >/dev/null 2>&1
|
||||
if test $? -eq 0 ; then
|
||||
# note that option `--variable' is not affected by the
|
||||
# PKG_CONFIG_SYSROOT_DIR environment variable
|
||||
|
@ -23,17 +23,17 @@ if test $? -eq 0 ; then
|
|||
export PKG_CONFIG_SYSROOT_DIR
|
||||
fi
|
||||
|
||||
prefix=`pkg-config --variable prefix freetype2`
|
||||
exec_prefix=`pkg-config --variable exec_prefix freetype2`
|
||||
prefix=`%PKG_CONFIG% --variable prefix freetype2`
|
||||
exec_prefix=`%PKG_CONFIG% --variable exec_prefix freetype2`
|
||||
|
||||
includedir=`pkg-config --variable includedir freetype2`
|
||||
libdir=`pkg-config --variable libdir freetype2`
|
||||
includedir=`%PKG_CONFIG% --variable includedir freetype2`
|
||||
libdir=`%PKG_CONFIG% --variable libdir freetype2`
|
||||
|
||||
version=`pkg-config --modversion freetype2`
|
||||
version=`%PKG_CONFIG% --modversion freetype2`
|
||||
|
||||
cflags=`pkg-config --cflags freetype2`
|
||||
dynamic_libs=`pkg-config --libs freetype2`
|
||||
static_libs=`pkg-config --static --libs freetype2`
|
||||
cflags=`%PKG_CONFIG% --cflags freetype2`
|
||||
dynamic_libs=`%PKG_CONFIG% --libs freetype2`
|
||||
static_libs=`%PKG_CONFIG% --static --libs freetype2`
|
||||
else
|
||||
prefix="%prefix%"
|
||||
exec_prefix="%exec_prefix%"
|
||||
|
|
|
@ -4,7 +4,7 @@ libdir=%libdir%
|
|||
includedir=%includedir%
|
||||
|
||||
Name: FreeType 2
|
||||
URL: http://freetype.org
|
||||
URL: https://freetype.org
|
||||
Description: A free, high-quality, and portable font engine.
|
||||
Version: %ft_version%
|
||||
Requires:
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
# Configure paths for FreeType2
|
||||
# Marcelo Magallon 2001-10-26, based on gtk.m4 by Owen Taylor
|
||||
#
|
||||
# Copyright 2001-2017 by
|
||||
# Copyright 2001-2018 by
|
||||
# David Turner, Robert Wilhelm, and Werner Lemberg.
|
||||
#
|
||||
# This file is part of the FreeType project, and may only be used, modified,
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
## FreeType specific autoconf tests
|
||||
#
|
||||
# Copyright 2002-2017 by
|
||||
# Copyright 2002-2018 by
|
||||
# David Turner, Robert Wilhelm, and Werner Lemberg.
|
||||
#
|
||||
# This file is part of the FreeType project, and may only be used, modified,
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
/* */
|
||||
/* UNIX-specific configuration file (specification only). */
|
||||
/* */
|
||||
/* Copyright 1996-2017 by */
|
||||
/* Copyright 1996-2018 by */
|
||||
/* David Turner, Robert Wilhelm, and Werner Lemberg. */
|
||||
/* */
|
||||
/* This file is part of the FreeType project, and may only be used, */
|
||||
|
@ -365,6 +365,15 @@ FT_BEGIN_HEADER
|
|||
#endif
|
||||
|
||||
|
||||
#ifdef _WIN64
|
||||
/* only 64bit Windows uses the LLP64 data model, i.e., */
|
||||
/* 32bit integers, 64bit pointers */
|
||||
#define FT_UINT_TO_POINTER( x ) (void*)(unsigned __int64)(x)
|
||||
#else
|
||||
#define FT_UINT_TO_POINTER( x ) (void*)(unsigned long)(x)
|
||||
#endif
|
||||
|
||||
|
||||
/*************************************************************************/
|
||||
/* */
|
||||
/* miscellaneous */
|
||||
|
@ -388,6 +397,14 @@ FT_BEGIN_HEADER
|
|||
#endif
|
||||
|
||||
|
||||
/* Use FT_LOCAL and FT_LOCAL_DEF to declare and define, respectively, */
|
||||
/* a function that gets used only within the scope of a module. */
|
||||
/* Normally, both the header and source code files for such a */
|
||||
/* function are within a single module directory. */
|
||||
/* */
|
||||
/* Intra-module arrays should be tagged with FT_LOCAL_ARRAY and */
|
||||
/* FT_LOCAL_ARRAY_DEF. */
|
||||
/* */
|
||||
#ifdef FT_MAKE_OPTION_SINGLE_OBJECT
|
||||
|
||||
#define FT_LOCAL( x ) static x
|
||||
|
@ -409,6 +426,12 @@ FT_BEGIN_HEADER
|
|||
#define FT_LOCAL_ARRAY_DEF( x ) const x
|
||||
|
||||
|
||||
/* Use FT_BASE and FT_BASE_DEF to declare and define, respectively, */
|
||||
/* functions that are used in more than a single module. In the */
|
||||
/* current setup this implies that the declaration is in a header */
|
||||
/* file in the `include/freetype/internal' directory, and the */
|
||||
/* function body is in a file in `src/base'. */
|
||||
/* */
|
||||
#ifndef FT_BASE
|
||||
|
||||
#ifdef __cplusplus
|
||||
|
@ -431,14 +454,63 @@ FT_BEGIN_HEADER
|
|||
#endif /* !FT_BASE_DEF */
|
||||
|
||||
|
||||
/* When compiling FreeType as a DLL or DSO with hidden visibility */
|
||||
/* some systems/compilers need a special attribute in front OR after */
|
||||
/* the return type of function declarations. */
|
||||
/* */
|
||||
/* Two macros are used within the FreeType source code to define */
|
||||
/* exported library functions: FT_EXPORT and FT_EXPORT_DEF. */
|
||||
/* */
|
||||
/* FT_EXPORT( return_type ) */
|
||||
/* */
|
||||
/* is used in a function declaration, as in */
|
||||
/* */
|
||||
/* FT_EXPORT( FT_Error ) */
|
||||
/* FT_Init_FreeType( FT_Library* alibrary ); */
|
||||
/* */
|
||||
/* */
|
||||
/* FT_EXPORT_DEF( return_type ) */
|
||||
/* */
|
||||
/* is used in a function definition, as in */
|
||||
/* */
|
||||
/* FT_EXPORT_DEF( FT_Error ) */
|
||||
/* FT_Init_FreeType( FT_Library* alibrary ) */
|
||||
/* { */
|
||||
/* ... some code ... */
|
||||
/* return FT_Err_Ok; */
|
||||
/* } */
|
||||
/* */
|
||||
/* You can provide your own implementation of FT_EXPORT and */
|
||||
/* FT_EXPORT_DEF here if you want. */
|
||||
/* */
|
||||
/* To export a variable, use FT_EXPORT_VAR. */
|
||||
/* */
|
||||
#ifndef FT_EXPORT
|
||||
|
||||
#ifdef __cplusplus
|
||||
#ifdef FT2_BUILD_LIBRARY
|
||||
|
||||
#if defined( _WIN32 ) && ( defined( _DLL ) || defined( DLL_EXPORT ) )
|
||||
#define FT_EXPORT( x ) __declspec( dllexport ) x
|
||||
#elif defined( __GNUC__ ) && __GNUC__ >= 4
|
||||
#define FT_EXPORT( x ) __attribute__(( visibility( "default" ) )) x
|
||||
#elif defined( __cplusplus )
|
||||
#define FT_EXPORT( x ) extern "C" x
|
||||
#else
|
||||
#define FT_EXPORT( x ) extern x
|
||||
#endif
|
||||
|
||||
#else
|
||||
|
||||
#if defined( FT2_DLLIMPORT )
|
||||
#define FT_EXPORT( x ) __declspec( dllimport ) x
|
||||
#elif defined( __cplusplus )
|
||||
#define FT_EXPORT( x ) extern "C" x
|
||||
#else
|
||||
#define FT_EXPORT( x ) extern x
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
||||
#endif /* !FT_EXPORT */
|
||||
|
||||
|
||||
|
@ -474,7 +546,13 @@ FT_BEGIN_HEADER
|
|||
/* functions which are accessed by (global) function pointers. */
|
||||
/* */
|
||||
/* */
|
||||
/* FT_CALLBACK_DEF is used to _define_ a callback function. */
|
||||
/* FT_CALLBACK_DEF is used to _define_ a callback function, */
|
||||
/* located in the same source code file as the structure that uses */
|
||||
/* it. */
|
||||
/* */
|
||||
/* FT_BASE_CALLBACK and FT_BASE_CALLBACK_DEF are used to declare */
|
||||
/* and define a callback function, respectively, in a similar way */
|
||||
/* as FT_BASE and FT_BASE_DEF work. */
|
||||
/* */
|
||||
/* FT_CALLBACK_TABLE is used to _declare_ a constant variable that */
|
||||
/* contains pointers to callback functions. */
|
||||
|
@ -494,6 +572,16 @@ FT_BEGIN_HEADER
|
|||
#endif
|
||||
#endif /* FT_CALLBACK_DEF */
|
||||
|
||||
#ifndef FT_BASE_CALLBACK
|
||||
#ifdef __cplusplus
|
||||
#define FT_BASE_CALLBACK( x ) extern "C" x
|
||||
#define FT_BASE_CALLBACK_DEF( x ) extern "C" x
|
||||
#else
|
||||
#define FT_BASE_CALLBACK( x ) extern x
|
||||
#define FT_BASE_CALLBACK_DEF( x ) x
|
||||
#endif
|
||||
#endif /* FT_BASE_CALLBACK */
|
||||
|
||||
#ifndef FT_CALLBACK_TABLE
|
||||
#ifdef __cplusplus
|
||||
#define FT_CALLBACK_TABLE extern "C"
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
/* */
|
||||
/* Unix-specific FreeType low-level system interface (body). */
|
||||
/* */
|
||||
/* Copyright 1996-2017 by */
|
||||
/* Copyright 1996-2018 by */
|
||||
/* David Turner, Robert Wilhelm, and Werner Lemberg. */
|
||||
/* */
|
||||
/* This file is part of the FreeType project, and may only be used, */
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
#
|
||||
|
||||
|
||||
# Copyright 1996-2017 by
|
||||
# Copyright 1996-2018 by
|
||||
# David Turner, Robert Wilhelm, and Werner Lemberg.
|
||||
#
|
||||
# This file is part of the FreeType project, and may only be used, modified,
|
||||
|
@ -30,15 +30,20 @@
|
|||
#
|
||||
# We also remove `$(includedir)/ft2build.h' for the same reason.
|
||||
#
|
||||
# Note that some header files get handled twice for simplicity; a special,
|
||||
# configured version overwrites the generic one.
|
||||
#
|
||||
install: $(PROJECT_LIBRARY)
|
||||
-$(DELDIR) $(DESTDIR)$(includedir)/freetype2
|
||||
-$(DELETE) $(DESTDIR)$(includedir)/ft2build.h
|
||||
$(MKINSTALLDIRS) $(DESTDIR)$(libdir) \
|
||||
$(DESTDIR)$(libdir)/pkgconfig \
|
||||
$(DESTDIR)$(includedir)/freetype2/freetype/config \
|
||||
$(DESTDIR)$(bindir) \
|
||||
$(DESTDIR)$(datadir)/aclocal \
|
||||
$(DESTDIR)$(datadir)/aclocal
|
||||
ifeq ($(INSTALL_FT2_CONFIG),TRUE)
|
||||
$(MKINSTALLDIRS) $(DESTDIR)$(bindir) \
|
||||
$(DESTDIR)$(mandir)/man1
|
||||
endif
|
||||
$(LIBTOOL) --mode=install $(INSTALL) \
|
||||
$(PROJECT_LIBRARY) $(DESTDIR)$(libdir)
|
||||
-for P in $(PUBLIC_H) ; do \
|
||||
|
@ -49,20 +54,24 @@ install: $(PROJECT_LIBRARY)
|
|||
$(INSTALL_DATA) \
|
||||
$$P $(DESTDIR)$(includedir)/freetype2/freetype/config ; \
|
||||
done
|
||||
$(INSTALL_DATA) $(TOP_DIR)/include/ft2build.h \
|
||||
$(INSTALL_DATA) $(TOP_DIR)/include/ft2build.h \
|
||||
$(DESTDIR)$(includedir)/freetype2/ft2build.h
|
||||
$(INSTALL_DATA) $(OBJ_BUILD)/ftconfig.h \
|
||||
$(DESTDIR)$(includedir)/freetype2/freetype/config/ftconfig.h
|
||||
$(INSTALL_DATA) $(OBJ_DIR)/ftmodule.h \
|
||||
$(DESTDIR)$(includedir)/freetype2/freetype/config/ftmodule.h
|
||||
$(INSTALL_SCRIPT) -m 755 $(OBJ_BUILD)/freetype-config \
|
||||
$(DESTDIR)$(bindir)/freetype-config
|
||||
$(INSTALL_SCRIPT) -m 644 $(BUILD_DIR)/freetype2.m4 \
|
||||
$(INSTALL_DATA) $(OBJ_BUILD)/ftoption.h \
|
||||
$(DESTDIR)$(includedir)/freetype2/freetype/config/ftoption.h
|
||||
$(INSTALL_SCRIPT) -m 644 $(BUILD_DIR)/freetype2.m4 \
|
||||
$(DESTDIR)$(datadir)/aclocal/freetype2.m4
|
||||
$(INSTALL_SCRIPT) -m 644 $(OBJ_BUILD)/freetype2.pc \
|
||||
$(INSTALL_SCRIPT) -m 644 $(OBJ_BUILD)/freetype2.pc \
|
||||
$(DESTDIR)$(libdir)/pkgconfig/freetype2.pc
|
||||
$(INSTALL_DATA) $(TOP_DIR)/docs/freetype-config.1 \
|
||||
ifeq ($(INSTALL_FT2_CONFIG),TRUE)
|
||||
$(INSTALL_SCRIPT) -m 755 $(OBJ_BUILD)/freetype-config \
|
||||
$(DESTDIR)$(bindir)/freetype-config
|
||||
$(INSTALL_DATA) $(TOP_DIR)/docs/freetype-config.1 \
|
||||
$(DESTDIR)$(mandir)/man1/freetype-config.1
|
||||
endif
|
||||
|
||||
|
||||
uninstall:
|
||||
|
@ -75,7 +84,7 @@ uninstall:
|
|||
|
||||
|
||||
check:
|
||||
@echo There is no validation suite for this package.
|
||||
$(info There is no validation suite for this package.)
|
||||
|
||||
|
||||
.PHONY: clean_project_unix distclean_project_unix
|
||||
|
@ -83,13 +92,11 @@ check:
|
|||
# Unix cleaning and distclean rules.
|
||||
#
|
||||
clean_project_unix:
|
||||
-$(DELETE) $(BASE_OBJECTS) $(OBJ_M) $(OBJ_S)
|
||||
-$(DELETE) $(patsubst %.$O,%.$(SO),$(BASE_OBJECTS) $(OBJ_M) $(OBJ_S)) \
|
||||
$(CLEAN)
|
||||
-$(LIBTOOL) --mode=clean $(RM) $(OBJECTS_LIST)
|
||||
-$(DELETE) $(CLEAN)
|
||||
|
||||
distclean_project_unix: clean_project_unix
|
||||
-$(DELETE) $(PROJECT_LIBRARY)
|
||||
-$(DELDIR) $(OBJ_DIR)/.libs
|
||||
-$(LIBTOOL) --mode=clean $(RM) $(PROJECT_LIBRARY)
|
||||
-$(DELETE) *.orig *~ core *.core $(DISTCLEAN)
|
||||
|
||||
# EOF
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
# FreeType 2 template for Unix-specific compiler definitions
|
||||
#
|
||||
|
||||
# Copyright 1996-2017 by
|
||||
# Copyright 1996-2018 by
|
||||
# David Turner, Robert Wilhelm, and Werner Lemberg.
|
||||
#
|
||||
# This file is part of the FreeType project, and may only be used, modified,
|
||||
|
@ -87,13 +87,20 @@ ANSIFLAGS := @XX_ANSIFLAGS@
|
|||
|
||||
# C compiler to use -- we use libtool!
|
||||
#
|
||||
#
|
||||
CCraw := $(CC)
|
||||
CC := $(LIBTOOL) --mode=compile $(CCraw)
|
||||
|
||||
# Resource compiler to use on Cygwin/MinGW, usually windres.
|
||||
#
|
||||
RCraw := @RC@
|
||||
ifneq ($(RCraw),)
|
||||
RC := $(LIBTOOL) --tag=RC --mode=compile $(RCraw)
|
||||
endif
|
||||
|
||||
# Linker flags.
|
||||
#
|
||||
LDFLAGS := @LDFLAGS@
|
||||
LDFLAGS := @LDFLAGS@
|
||||
LIB_CLOCK_GETTIME := @LIB_CLOCK_GETTIME@ # for ftbench
|
||||
|
||||
|
||||
# export symbols
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
#
|
||||
|
||||
|
||||
# Copyright 1996-2017 by
|
||||
# Copyright 1996-2018 by
|
||||
# David Turner, Robert Wilhelm, and Werner Lemberg.
|
||||
#
|
||||
# This file is part of the FreeType project, and may only be used, modified,
|
||||
|
@ -43,6 +43,7 @@ DISTCLEAN += $(OBJ_BUILD)/config.cache \
|
|||
$(OBJ_BUILD)/unix-def.mk \
|
||||
$(OBJ_BUILD)/unix-cc.mk \
|
||||
$(OBJ_BUILD)/ftconfig.h \
|
||||
$(OBJ_BUILD)/ftoption.h \
|
||||
$(LIBTOOL) \
|
||||
$(OBJ_BUILD)/Makefile
|
||||
|
||||
|
@ -62,6 +63,7 @@ version_info := @version_info@
|
|||
|
||||
# Variables needed for `freetype-config' and `freetype.pc'.
|
||||
#
|
||||
PKG_CONFIG := @PKG_CONFIG@
|
||||
REQUIRES_PRIVATE := @REQUIRES_PRIVATE@
|
||||
LIBS_PRIVATE := @LIBS_PRIVATE@
|
||||
LIBSSTATIC_CONFIG := @LIBSSTATIC_CONFIG@
|
||||
|
@ -102,6 +104,7 @@ NO_OUTPUT := 2> /dev/null
|
|||
$(OBJ_BUILD)/freetype-config: $(TOP_DIR)/builds/unix/freetype-config.in
|
||||
rm -f $@ $@.tmp
|
||||
sed -e 's|%LIBSSTATIC_CONFIG%|$(LIBSSTATIC_CONFIG)|' \
|
||||
-e 's|%PKG_CONFIG%|$(PKG_CONFIG)|' \
|
||||
-e 's|%build_libtool_libs%|$(build_libtool_libs)|' \
|
||||
-e 's|%exec_prefix%|$(exec_prefix)|' \
|
||||
-e 's|%ft_version%|$(ft_version)|' \
|
||||
|
@ -142,6 +145,9 @@ $(OBJ_BUILD)/freetype2.pc: $(TOP_DIR)/builds/unix/freetype2.in
|
|||
chmod a-w $@.tmp
|
||||
mv $@.tmp $@
|
||||
|
||||
# defines whether we should install `freetype-config' or not
|
||||
INSTALL_FT2_CONFIG = @INSTALL_FT2_CONFIG@
|
||||
|
||||
all install: $(OBJ_BUILD)/freetype-config \
|
||||
$(OBJ_BUILD)/freetype2.pc
|
||||
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
#
|
||||
|
||||
|
||||
# Copyright 1996-2017 by
|
||||
# Copyright 1996-2018 by
|
||||
# David Turner, Robert Wilhelm, and Werner Lemberg.
|
||||
#
|
||||
# This file is part of the FreeType project, and may only be used, modified,
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
#
|
||||
|
||||
|
||||
# Copyright 1996-2017 by
|
||||
# Copyright 1996-2018 by
|
||||
# David Turner, Robert Wilhelm, and Werner Lemberg.
|
||||
#
|
||||
# This file is part of the FreeType project, and may only be used, modified,
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
#
|
||||
|
||||
|
||||
# Copyright 1996-2017 by
|
||||
# Copyright 1996-2018 by
|
||||
# David Turner, Robert Wilhelm, and Werner Lemberg.
|
||||
#
|
||||
# This file is part of the FreeType project, and may only be used, modified,
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
#
|
||||
|
||||
|
||||
# Copyright 1996-2017 by
|
||||
# Copyright 1996-2018 by
|
||||
# David Turner, Robert Wilhelm, and Werner Lemberg.
|
||||
#
|
||||
# This file is part of the FreeType project, and may only be used, modified,
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
/* */
|
||||
/* VMS-specific configuration file (specification only). */
|
||||
/* */
|
||||
/* Copyright 1996-2017 by */
|
||||
/* Copyright 1996-2018 by */
|
||||
/* David Turner, Robert Wilhelm, and Werner Lemberg. */
|
||||
/* */
|
||||
/* This file is part of the FreeType project, and may only be used, */
|
||||
|
@ -33,6 +33,7 @@
|
|||
/* */
|
||||
/*************************************************************************/
|
||||
|
||||
|
||||
#ifndef FTCONFIG_H_
|
||||
#define FTCONFIG_H_
|
||||
|
||||
|
@ -209,12 +210,12 @@ FT_BEGIN_HEADER
|
|||
|
||||
#endif
|
||||
|
||||
#if FT_SIZEOF_INT == (32 / FT_CHAR_BIT)
|
||||
#if FT_SIZEOF_INT == 4
|
||||
|
||||
typedef signed int FT_Int32;
|
||||
typedef unsigned int FT_UInt32;
|
||||
|
||||
#elif FT_SIZEOF_LONG == (32 / FT_CHAR_BIT)
|
||||
#elif FT_SIZEOF_LONG == 4
|
||||
|
||||
typedef signed long FT_Int32;
|
||||
typedef unsigned long FT_UInt32;
|
||||
|
@ -225,12 +226,12 @@ FT_BEGIN_HEADER
|
|||
|
||||
|
||||
/* look up an integer type that is at least 32 bits */
|
||||
#if FT_SIZEOF_INT >= (32 / FT_CHAR_BIT)
|
||||
#if FT_SIZEOF_INT >= 4
|
||||
|
||||
typedef int FT_Fast;
|
||||
typedef unsigned int FT_UFast;
|
||||
|
||||
#elif FT_SIZEOF_LONG >= (32 / FT_CHAR_BIT)
|
||||
#elif FT_SIZEOF_LONG >= 4
|
||||
|
||||
typedef long FT_Fast;
|
||||
typedef unsigned long FT_UFast;
|
||||
|
@ -238,15 +239,25 @@ FT_BEGIN_HEADER
|
|||
#endif
|
||||
|
||||
|
||||
/* determine whether we have a 64-bit int type for platforms without */
|
||||
/* Autoconf */
|
||||
#if FT_SIZEOF_LONG == (64 / FT_CHAR_BIT)
|
||||
/* determine whether we have a 64-bit int type */
|
||||
/* (mostly for environments without `autoconf') */
|
||||
#if FT_SIZEOF_LONG == 8
|
||||
|
||||
/* FT_LONG64 must be defined if a 64-bit type is available */
|
||||
#define FT_LONG64
|
||||
#define FT_INT64 long
|
||||
#define FT_UINT64 unsigned long
|
||||
|
||||
/* we handle the LLP64 scheme separately for GCC and clang, */
|
||||
/* suppressing the `long long' warning */
|
||||
#elif ( FT_SIZEOF_LONG == 4 ) && \
|
||||
defined( HAVE_LONG_LONG_INT ) && \
|
||||
defined( __GNUC__ )
|
||||
#pragma GCC diagnostic ignored "-Wlong-long"
|
||||
#define FT_LONG64
|
||||
#define FT_INT64 long long int
|
||||
#define FT_UINT64 unsigned long long int
|
||||
|
||||
/*************************************************************************/
|
||||
/* */
|
||||
/* A 64-bit data type may create compilation problems if you compile */
|
||||
|
@ -298,7 +309,7 @@ FT_BEGIN_HEADER
|
|||
|
||||
#endif /* __STDC_VERSION__ >= 199901L */
|
||||
|
||||
#endif /* FT_SIZEOF_LONG == (64 / FT_CHAR_BIT) */
|
||||
#endif /* FT_SIZEOF_LONG == 8 */
|
||||
|
||||
#ifdef FT_LONG64
|
||||
typedef FT_INT64 FT_Int64;
|
||||
|
@ -306,6 +317,15 @@ FT_BEGIN_HEADER
|
|||
#endif
|
||||
|
||||
|
||||
#ifdef _WIN64
|
||||
/* only 64bit Windows uses the LLP64 data model, i.e., */
|
||||
/* 32bit integers, 64bit pointers */
|
||||
#define FT_UINT_TO_POINTER( x ) (void*)(unsigned __int64)(x)
|
||||
#else
|
||||
#define FT_UINT_TO_POINTER( x ) (void*)(unsigned long)(x)
|
||||
#endif
|
||||
|
||||
|
||||
/*************************************************************************/
|
||||
/* */
|
||||
/* miscellaneous */
|
||||
|
@ -329,6 +349,14 @@ FT_BEGIN_HEADER
|
|||
#endif
|
||||
|
||||
|
||||
/* Use FT_LOCAL and FT_LOCAL_DEF to declare and define, respectively, */
|
||||
/* a function that gets used only within the scope of a module. */
|
||||
/* Normally, both the header and source code files for such a */
|
||||
/* function are within a single module directory. */
|
||||
/* */
|
||||
/* Intra-module arrays should be tagged with FT_LOCAL_ARRAY and */
|
||||
/* FT_LOCAL_ARRAY_DEF. */
|
||||
/* */
|
||||
#ifdef FT_MAKE_OPTION_SINGLE_OBJECT
|
||||
|
||||
#define FT_LOCAL( x ) static x
|
||||
|
@ -350,6 +378,12 @@ FT_BEGIN_HEADER
|
|||
#define FT_LOCAL_ARRAY_DEF( x ) const x
|
||||
|
||||
|
||||
/* Use FT_BASE and FT_BASE_DEF to declare and define, respectively, */
|
||||
/* functions that are used in more than a single module. In the */
|
||||
/* current setup this implies that the declaration is in a header */
|
||||
/* file in the `include/freetype/internal' directory, and the */
|
||||
/* function body is in a file in `src/base'. */
|
||||
/* */
|
||||
#ifndef FT_BASE
|
||||
|
||||
#ifdef __cplusplus
|
||||
|
@ -372,14 +406,63 @@ FT_BEGIN_HEADER
|
|||
#endif /* !FT_BASE_DEF */
|
||||
|
||||
|
||||
/* When compiling FreeType as a DLL or DSO with hidden visibility */
|
||||
/* some systems/compilers need a special attribute in front OR after */
|
||||
/* the return type of function declarations. */
|
||||
/* */
|
||||
/* Two macros are used within the FreeType source code to define */
|
||||
/* exported library functions: FT_EXPORT and FT_EXPORT_DEF. */
|
||||
/* */
|
||||
/* FT_EXPORT( return_type ) */
|
||||
/* */
|
||||
/* is used in a function declaration, as in */
|
||||
/* */
|
||||
/* FT_EXPORT( FT_Error ) */
|
||||
/* FT_Init_FreeType( FT_Library* alibrary ); */
|
||||
/* */
|
||||
/* */
|
||||
/* FT_EXPORT_DEF( return_type ) */
|
||||
/* */
|
||||
/* is used in a function definition, as in */
|
||||
/* */
|
||||
/* FT_EXPORT_DEF( FT_Error ) */
|
||||
/* FT_Init_FreeType( FT_Library* alibrary ) */
|
||||
/* { */
|
||||
/* ... some code ... */
|
||||
/* return FT_Err_Ok; */
|
||||
/* } */
|
||||
/* */
|
||||
/* You can provide your own implementation of FT_EXPORT and */
|
||||
/* FT_EXPORT_DEF here if you want. */
|
||||
/* */
|
||||
/* To export a variable, use FT_EXPORT_VAR. */
|
||||
/* */
|
||||
#ifndef FT_EXPORT
|
||||
|
||||
#ifdef __cplusplus
|
||||
#ifdef FT2_BUILD_LIBRARY
|
||||
|
||||
#if defined( _WIN32 ) && ( defined( _DLL ) || defined( DLL_EXPORT ) )
|
||||
#define FT_EXPORT( x ) __declspec( dllexport ) x
|
||||
#elif defined( __GNUC__ ) && __GNUC__ >= 4
|
||||
#define FT_EXPORT( x ) __attribute__(( visibility( "default" ) )) x
|
||||
#elif defined( __cplusplus )
|
||||
#define FT_EXPORT( x ) extern "C" x
|
||||
#else
|
||||
#define FT_EXPORT( x ) extern x
|
||||
#endif
|
||||
|
||||
#else
|
||||
|
||||
#if defined( FT2_DLLIMPORT )
|
||||
#define FT_EXPORT( x ) __declspec( dllimport ) x
|
||||
#elif defined( __cplusplus )
|
||||
#define FT_EXPORT( x ) extern "C" x
|
||||
#else
|
||||
#define FT_EXPORT( x ) extern x
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
||||
#endif /* !FT_EXPORT */
|
||||
|
||||
|
||||
|
@ -415,7 +498,13 @@ FT_BEGIN_HEADER
|
|||
/* functions which are accessed by (global) function pointers. */
|
||||
/* */
|
||||
/* */
|
||||
/* FT_CALLBACK_DEF is used to _define_ a callback function. */
|
||||
/* FT_CALLBACK_DEF is used to _define_ a callback function, */
|
||||
/* located in the same source code file as the structure that uses */
|
||||
/* it. */
|
||||
/* */
|
||||
/* FT_BASE_CALLBACK and FT_BASE_CALLBACK_DEF are used to declare */
|
||||
/* and define a callback function, respectively, in a similar way */
|
||||
/* as FT_BASE and FT_BASE_DEF work. */
|
||||
/* */
|
||||
/* FT_CALLBACK_TABLE is used to _declare_ a constant variable that */
|
||||
/* contains pointers to callback functions. */
|
||||
|
@ -435,6 +524,16 @@ FT_BEGIN_HEADER
|
|||
#endif
|
||||
#endif /* FT_CALLBACK_DEF */
|
||||
|
||||
#ifndef FT_BASE_CALLBACK
|
||||
#ifdef __cplusplus
|
||||
#define FT_BASE_CALLBACK( x ) extern "C" x
|
||||
#define FT_BASE_CALLBACK_DEF( x ) extern "C" x
|
||||
#else
|
||||
#define FT_BASE_CALLBACK( x ) extern x
|
||||
#define FT_BASE_CALLBACK_DEF( x ) x
|
||||
#endif
|
||||
#endif /* FT_BASE_CALLBACK */
|
||||
|
||||
#ifndef FT_CALLBACK_TABLE
|
||||
#ifdef __cplusplus
|
||||
#define FT_CALLBACK_TABLE extern "C"
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
/* */
|
||||
/* VMS-specific FreeType low-level system interface (body). */
|
||||
/* */
|
||||
/* Copyright 1996-2017 by */
|
||||
/* Copyright 1996-2018 by */
|
||||
/* David Turner, Robert Wilhelm, and Werner Lemberg. */
|
||||
/* */
|
||||
/* This file is part of the FreeType project, and may only be used, */
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
/* */
|
||||
/* Debugging and logging component for WinCE (body). */
|
||||
/* */
|
||||
/* Copyright 1996-2017 by */
|
||||
/* Copyright 1996-2018 by */
|
||||
/* David Turner, Robert Wilhelm, and Werner Lemberg. */
|
||||
/* */
|
||||
/* This file is part of the FreeType project, and may only be used, */
|
||||
|
@ -79,7 +79,7 @@
|
|||
|
||||
|
||||
va_start( ap, fmt );
|
||||
vprintf( fmt, ap );
|
||||
vfprintf( stderr, fmt, ap );
|
||||
/* send the string to the debugger as well */
|
||||
vsprintf( buf, fmt, ap );
|
||||
OutputDebugStringEx( buf );
|
||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -21,14 +21,14 @@ the following targets:
|
|||
<li>PPC/SP WM6 (Windows Mobile 6)</li>
|
||||
</ul>
|
||||
|
||||
It compiles the following libraries from the FreeType 2.7.1 sources:</p>
|
||||
It compiles the following libraries from the FreeType 2.9 sources:</p>
|
||||
|
||||
<ul>
|
||||
<pre>
|
||||
freetype271.lib - release build; single threaded
|
||||
freetype271_D.lib - debug build; single threaded
|
||||
freetype271MT.lib - release build; multi-threaded
|
||||
freetype271MT_D.lib - debug build; multi-threaded</pre>
|
||||
freetype29.lib - release build; single threaded
|
||||
freetype29_D.lib - debug build; single threaded
|
||||
freetype29MT.lib - release build; multi-threaded
|
||||
freetype29MT_D.lib - debug build; multi-threaded</pre>
|
||||
</ul>
|
||||
|
||||
<p>Be sure to extract the files with the Windows (CR+LF) line endings. ZIP
|
||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -21,14 +21,14 @@ the following targets:
|
|||
<li>PPC/SP WM6 (Windows Mobile 6)</li>
|
||||
</ul>
|
||||
|
||||
It compiles the following libraries from the FreeType 2.7.1 sources:</p>
|
||||
It compiles the following libraries from the FreeType 2.9 sources:</p>
|
||||
|
||||
<ul>
|
||||
<pre>
|
||||
freetype271.lib - release build; single threaded
|
||||
freetype271_D.lib - debug build; single threaded
|
||||
freetype271MT.lib - release build; multi-threaded
|
||||
freetype271MT_D.lib - debug build; multi-threaded</pre>
|
||||
freetype29.lib - release build; single threaded
|
||||
freetype29_D.lib - debug build; single threaded
|
||||
freetype29MT.lib - release build; multi-threaded
|
||||
freetype29MT_D.lib - debug build; multi-threaded</pre>
|
||||
</ul>
|
||||
|
||||
<p>Be sure to extract the files with the Windows (CR+LF) line endings. ZIP
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
#
|
||||
|
||||
|
||||
# Copyright 1996-2017 by
|
||||
# Copyright 1996-2018 by
|
||||
# David Turner, Robert Wilhelm, and Werner Lemberg.
|
||||
#
|
||||
# This file is part of the FreeType project, and may only be used, modified,
|
||||
|
@ -77,7 +77,7 @@ ifeq ($(PLATFORM),windows)
|
|||
# So we need to hack.
|
||||
#
|
||||
# Kudos to Eli Zaretskii (DJGPP guru) that helped debug it.
|
||||
# Details are available in threads of the freetype mailing list
|
||||
# Details are available in threads of the FreeType mailing list
|
||||
# (2004-11-11), and then in the devel mailing list (2004-11-20 to -23).
|
||||
#
|
||||
ifeq ($(OS),Windows_NT)
|
||||
|
@ -95,22 +95,22 @@ ifeq ($(PLATFORM),windows)
|
|||
|
||||
ifneq ($(findstring list,$(MAKECMDGOALS)),) # test for the "list" target
|
||||
dump_target_list:
|
||||
@echo ˙
|
||||
@echo $(PROJECT_TITLE) build system -- supported compilers
|
||||
@echo ˙
|
||||
@echo Several command-line compilers are supported on Win32:
|
||||
@echo ˙
|
||||
@echo ˙˙make setup˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙gcc (with Mingw)
|
||||
@echo ˙˙make setup visualc˙˙˙˙˙˙˙˙˙˙˙˙˙Microsoft Visual C++
|
||||
@echo ˙˙make setup bcc32˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙Borland C/C++
|
||||
@echo ˙˙make setup lcc˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙Win32-LCC
|
||||
@echo ˙˙make setup intelc˙˙˙˙˙˙˙˙˙˙˙˙˙˙Intel C/C++
|
||||
@echo ˙
|
||||
$(info )
|
||||
$(info $(PROJECT_TITLE) build system -- supported compilers)
|
||||
$(info )
|
||||
$(info Several command-line compilers are supported on Win32:)
|
||||
$(info )
|
||||
$(info $(empty) make setup gcc (with Mingw))
|
||||
$(info $(empty) make setup visualc Microsoft Visual C++)
|
||||
$(info $(empty) make setup bcc32 Borland C/C++)
|
||||
$(info $(empty) make setup lcc Win32-LCC)
|
||||
$(info $(empty) make setup intelc Intel C/C++)
|
||||
$(info )
|
||||
|
||||
setup: dump_target_list
|
||||
.PHONY: dump_target_list list
|
||||
else
|
||||
setup: dos_setup
|
||||
setup: std_setup
|
||||
endif
|
||||
|
||||
# additionally, we provide hooks for various other compilers
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
/* */
|
||||
/* Debugging and logging component for Win32 (body). */
|
||||
/* */
|
||||
/* Copyright 1996-2017 by */
|
||||
/* Copyright 1996-2018 by */
|
||||
/* David Turner, Robert Wilhelm, and Werner Lemberg. */
|
||||
/* */
|
||||
/* This file is part of the FreeType project, and may only be used, */
|
||||
|
@ -65,7 +65,7 @@
|
|||
|
||||
|
||||
va_start( ap, fmt );
|
||||
vprintf( fmt, ap );
|
||||
vfprintf( stderr, fmt, ap );
|
||||
/* send the string to the debugger as well */
|
||||
vsprintf( buf, fmt, ap );
|
||||
OutputDebugStringA( buf );
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
<Tool Name="VCManagedResourceCompilerTool" />
|
||||
<Tool Name="VCResourceCompilerTool" PreprocessorDefinitions="NDEBUG" Culture="1033" />
|
||||
<Tool Name="VCPreLinkEventTool" />
|
||||
<Tool Name="VCLibrarianTool" OutputFile="..\..\..\objs\win32\vc2005\freetype271.lib" SuppressStartupBanner="true" />
|
||||
<Tool Name="VCLibrarianTool" OutputFile="..\..\..\objs\win32\vc2005\freetype29.lib" SuppressStartupBanner="true" />
|
||||
<Tool Name="VCALinkTool" />
|
||||
<Tool Name="VCXDCMakeTool" />
|
||||
<Tool Name="VCBscMakeTool" />
|
||||
|
@ -33,7 +33,7 @@
|
|||
<Tool Name="VCManagedResourceCompilerTool" />
|
||||
<Tool Name="VCResourceCompilerTool" PreprocessorDefinitions="NDEBUG" Culture="1033" />
|
||||
<Tool Name="VCPreLinkEventTool" />
|
||||
<Tool Name="VCLibrarianTool" OutputFile="..\..\..\objs\win32\vc2005\freetype271MT.lib" SuppressStartupBanner="true" />
|
||||
<Tool Name="VCLibrarianTool" OutputFile="..\..\..\objs\win32\vc2005\freetype29MT.lib" SuppressStartupBanner="true" />
|
||||
<Tool Name="VCALinkTool" />
|
||||
<Tool Name="VCXDCMakeTool" />
|
||||
<Tool Name="VCBscMakeTool" />
|
||||
|
@ -50,7 +50,7 @@
|
|||
<Tool Name="VCManagedResourceCompilerTool" />
|
||||
<Tool Name="VCResourceCompilerTool" PreprocessorDefinitions="NDEBUG" Culture="1033" />
|
||||
<Tool Name="VCPreLinkEventTool" />
|
||||
<Tool Name="VCLibrarianTool" OutputFile="..\..\..\objs\win32\vc2005\freetype271ST.lib" />
|
||||
<Tool Name="VCLibrarianTool" OutputFile="..\..\..\objs\win32\vc2005\freetype29ST.lib" />
|
||||
<Tool Name="VCALinkTool" />
|
||||
<Tool Name="VCXDCMakeTool" />
|
||||
<Tool Name="VCBscMakeTool" />
|
||||
|
@ -67,7 +67,7 @@
|
|||
<Tool Name="VCManagedResourceCompilerTool" />
|
||||
<Tool Name="VCResourceCompilerTool" PreprocessorDefinitions="_DEBUG" Culture="1033" />
|
||||
<Tool Name="VCPreLinkEventTool" />
|
||||
<Tool Name="VCLibrarianTool" OutputFile="..\..\..\objs\win32\vc2005\freetype271_D.lib" SuppressStartupBanner="true" />
|
||||
<Tool Name="VCLibrarianTool" OutputFile="..\..\..\objs\win32\vc2005\freetype29_D.lib" SuppressStartupBanner="true" />
|
||||
<Tool Name="VCALinkTool" />
|
||||
<Tool Name="VCXDCMakeTool" />
|
||||
<Tool Name="VCBscMakeTool" />
|
||||
|
@ -84,7 +84,7 @@
|
|||
<Tool Name="VCManagedResourceCompilerTool" />
|
||||
<Tool Name="VCResourceCompilerTool" PreprocessorDefinitions="_DEBUG" Culture="1033" />
|
||||
<Tool Name="VCPreLinkEventTool" />
|
||||
<Tool Name="VCLibrarianTool" OutputFile="..\..\..\objs\win32\vc2005\freetype271ST_D.lib" SuppressStartupBanner="true" />
|
||||
<Tool Name="VCLibrarianTool" OutputFile="..\..\..\objs\win32\vc2005\freetype29ST_D.lib" SuppressStartupBanner="true" />
|
||||
<Tool Name="VCALinkTool" />
|
||||
<Tool Name="VCXDCMakeTool" />
|
||||
<Tool Name="VCBscMakeTool" />
|
||||
|
@ -101,7 +101,7 @@
|
|||
<Tool Name="VCManagedResourceCompilerTool" />
|
||||
<Tool Name="VCResourceCompilerTool" PreprocessorDefinitions="_DEBUG" Culture="1033" />
|
||||
<Tool Name="VCPreLinkEventTool" />
|
||||
<Tool Name="VCLibrarianTool" OutputFile="..\..\..\objs\win32\vc2005\freetype271MT_D.lib" SuppressStartupBanner="true" />
|
||||
<Tool Name="VCLibrarianTool" OutputFile="..\..\..\objs\win32\vc2005\freetype29MT_D.lib" SuppressStartupBanner="true" />
|
||||
<Tool Name="VCALinkTool" />
|
||||
<Tool Name="VCXDCMakeTool" />
|
||||
<Tool Name="VCBscMakeTool" />
|
||||
|
@ -116,105 +116,18 @@
|
|||
<File RelativePath="..\..\..\src\autofit\autofit.c">
|
||||
</File>
|
||||
<File RelativePath="..\..\..\src\bdf\bdf.c">
|
||||
<FileConfiguration Name="Release|Win32">
|
||||
<Tool Name="VCCLCompilerTool" Optimization="2" AdditionalIncludeDirectories="" PreprocessorDefinitions="" />
|
||||
</FileConfiguration>
|
||||
<FileConfiguration Name="Release Multithreaded|Win32">
|
||||
<Tool Name="VCCLCompilerTool" Optimization="2" AdditionalIncludeDirectories="" PreprocessorDefinitions="" />
|
||||
</FileConfiguration>
|
||||
<FileConfiguration Name="Release Singlethreaded|Win32">
|
||||
<Tool Name="VCCLCompilerTool" Optimization="2" AdditionalIncludeDirectories="" PreprocessorDefinitions="" />
|
||||
</FileConfiguration>
|
||||
<FileConfiguration Name="Debug|Win32">
|
||||
<Tool Name="VCCLCompilerTool" Optimization="0" AdditionalIncludeDirectories="" PreprocessorDefinitions="" BasicRuntimeChecks="3" />
|
||||
</FileConfiguration>
|
||||
<FileConfiguration Name="Debug Singlethreaded|Win32">
|
||||
<Tool Name="VCCLCompilerTool" Optimization="0" AdditionalIncludeDirectories="" PreprocessorDefinitions="" BasicRuntimeChecks="3" />
|
||||
</FileConfiguration>
|
||||
<FileConfiguration Name="Debug Multithreaded|Win32">
|
||||
<Tool Name="VCCLCompilerTool" Optimization="0" AdditionalIncludeDirectories="" PreprocessorDefinitions="" BasicRuntimeChecks="3" />
|
||||
</FileConfiguration>
|
||||
</File>
|
||||
<File RelativePath="..\..\..\src\cff\cff.c">
|
||||
<FileConfiguration Name="Release|Win32">
|
||||
<Tool Name="VCCLCompilerTool" Optimization="2" AdditionalIncludeDirectories="" PreprocessorDefinitions="" />
|
||||
</FileConfiguration>
|
||||
<FileConfiguration Name="Release Multithreaded|Win32">
|
||||
<Tool Name="VCCLCompilerTool" Optimization="2" AdditionalIncludeDirectories="" PreprocessorDefinitions="" />
|
||||
</FileConfiguration>
|
||||
<FileConfiguration Name="Release Singlethreaded|Win32">
|
||||
<Tool Name="VCCLCompilerTool" Optimization="2" AdditionalIncludeDirectories="" PreprocessorDefinitions="" />
|
||||
</FileConfiguration>
|
||||
<FileConfiguration Name="Debug|Win32">
|
||||
<Tool Name="VCCLCompilerTool" Optimization="0" AdditionalIncludeDirectories="" PreprocessorDefinitions="" BasicRuntimeChecks="3" />
|
||||
</FileConfiguration>
|
||||
<FileConfiguration Name="Debug Singlethreaded|Win32">
|
||||
<Tool Name="VCCLCompilerTool" Optimization="0" AdditionalIncludeDirectories="" PreprocessorDefinitions="" BasicRuntimeChecks="3" />
|
||||
</FileConfiguration>
|
||||
<FileConfiguration Name="Debug Multithreaded|Win32">
|
||||
<Tool Name="VCCLCompilerTool" Optimization="0" AdditionalIncludeDirectories="" PreprocessorDefinitions="" BasicRuntimeChecks="3" />
|
||||
</FileConfiguration>
|
||||
</File>
|
||||
<File RelativePath="..\..\..\src\base\ftbase.c">
|
||||
<FileConfiguration Name="Release|Win32">
|
||||
<Tool Name="VCCLCompilerTool" Optimization="2" AdditionalIncludeDirectories="" PreprocessorDefinitions="" />
|
||||
</FileConfiguration>
|
||||
<FileConfiguration Name="Release Multithreaded|Win32">
|
||||
<Tool Name="VCCLCompilerTool" Optimization="2" AdditionalIncludeDirectories="" PreprocessorDefinitions="" />
|
||||
</FileConfiguration>
|
||||
<FileConfiguration Name="Release Singlethreaded|Win32">
|
||||
<Tool Name="VCCLCompilerTool" Optimization="2" AdditionalIncludeDirectories="" PreprocessorDefinitions="" />
|
||||
</FileConfiguration>
|
||||
<FileConfiguration Name="Debug|Win32">
|
||||
<Tool Name="VCCLCompilerTool" Optimization="0" AdditionalIncludeDirectories="" PreprocessorDefinitions="" BasicRuntimeChecks="3" />
|
||||
</FileConfiguration>
|
||||
<FileConfiguration Name="Debug Singlethreaded|Win32">
|
||||
<Tool Name="VCCLCompilerTool" Optimization="0" AdditionalIncludeDirectories="" PreprocessorDefinitions="" BasicRuntimeChecks="3" />
|
||||
</FileConfiguration>
|
||||
<FileConfiguration Name="Debug Multithreaded|Win32">
|
||||
<Tool Name="VCCLCompilerTool" Optimization="0" AdditionalIncludeDirectories="" PreprocessorDefinitions="" BasicRuntimeChecks="3" />
|
||||
</FileConfiguration>
|
||||
</File>
|
||||
<File RelativePath="..\..\..\src\base\ftbitmap.c">
|
||||
</File>
|
||||
<File RelativePath="..\..\..\src\cache\ftcache.c">
|
||||
<FileConfiguration Name="Release|Win32">
|
||||
<Tool Name="VCCLCompilerTool" Optimization="2" AdditionalIncludeDirectories="" PreprocessorDefinitions="" />
|
||||
</FileConfiguration>
|
||||
<FileConfiguration Name="Release Multithreaded|Win32">
|
||||
<Tool Name="VCCLCompilerTool" Optimization="2" AdditionalIncludeDirectories="" PreprocessorDefinitions="" />
|
||||
</FileConfiguration>
|
||||
<FileConfiguration Name="Release Singlethreaded|Win32">
|
||||
<Tool Name="VCCLCompilerTool" Optimization="2" AdditionalIncludeDirectories="" PreprocessorDefinitions="" />
|
||||
</FileConfiguration>
|
||||
<FileConfiguration Name="Debug|Win32">
|
||||
<Tool Name="VCCLCompilerTool" Optimization="0" AdditionalIncludeDirectories="" PreprocessorDefinitions="" BasicRuntimeChecks="3" />
|
||||
</FileConfiguration>
|
||||
<FileConfiguration Name="Debug Singlethreaded|Win32">
|
||||
<Tool Name="VCCLCompilerTool" Optimization="0" AdditionalIncludeDirectories="" PreprocessorDefinitions="" BasicRuntimeChecks="3" />
|
||||
</FileConfiguration>
|
||||
<FileConfiguration Name="Debug Multithreaded|Win32">
|
||||
<Tool Name="VCCLCompilerTool" Optimization="0" AdditionalIncludeDirectories="" PreprocessorDefinitions="" BasicRuntimeChecks="3" />
|
||||
</FileConfiguration>
|
||||
</File>
|
||||
<File RelativePath="..\ftdebug.c">
|
||||
<FileConfiguration Name="Release|Win32">
|
||||
<Tool Name="VCCLCompilerTool" Optimization="2" AdditionalIncludeDirectories="" PreprocessorDefinitions="" DisableLanguageExtensions="false" />
|
||||
</FileConfiguration>
|
||||
<FileConfiguration Name="Release Multithreaded|Win32">
|
||||
<Tool Name="VCCLCompilerTool" Optimization="2" AdditionalIncludeDirectories="" PreprocessorDefinitions="" DisableLanguageExtensions="false" />
|
||||
</FileConfiguration>
|
||||
<FileConfiguration Name="Release Singlethreaded|Win32">
|
||||
<Tool Name="VCCLCompilerTool" Optimization="2" AdditionalIncludeDirectories="" PreprocessorDefinitions="" DisableLanguageExtensions="false" />
|
||||
</FileConfiguration>
|
||||
<FileConfiguration Name="Debug|Win32">
|
||||
<Tool Name="VCCLCompilerTool" Optimization="0" AdditionalIncludeDirectories="" PreprocessorDefinitions="" BasicRuntimeChecks="3" DisableLanguageExtensions="false" />
|
||||
</FileConfiguration>
|
||||
<FileConfiguration Name="Debug Singlethreaded|Win32">
|
||||
<Tool Name="VCCLCompilerTool" Optimization="0" AdditionalIncludeDirectories="" PreprocessorDefinitions="" BasicRuntimeChecks="3" DisableLanguageExtensions="false" />
|
||||
</FileConfiguration>
|
||||
<FileConfiguration Name="Debug Multithreaded|Win32">
|
||||
<Tool Name="VCCLCompilerTool" Optimization="0" AdditionalIncludeDirectories="" PreprocessorDefinitions="" BasicRuntimeChecks="3" DisableLanguageExtensions="false" />
|
||||
<FileConfiguration>
|
||||
<Tool Name="VCCLCompilerTool" DisableLanguageExtensions="false" />
|
||||
</FileConfiguration>
|
||||
</File>
|
||||
<File RelativePath="..\..\..\src\base\ftfstype.c">
|
||||
|
@ -222,151 +135,27 @@
|
|||
<File RelativePath="..\..\..\src\base\ftgasp.c">
|
||||
</File>
|
||||
<File RelativePath="..\..\..\src\base\ftglyph.c">
|
||||
<FileConfiguration Name="Release|Win32">
|
||||
<Tool Name="VCCLCompilerTool" Optimization="2" AdditionalIncludeDirectories="" PreprocessorDefinitions="" />
|
||||
</FileConfiguration>
|
||||
<FileConfiguration Name="Release Multithreaded|Win32">
|
||||
<Tool Name="VCCLCompilerTool" Optimization="2" AdditionalIncludeDirectories="" PreprocessorDefinitions="" />
|
||||
</FileConfiguration>
|
||||
<FileConfiguration Name="Release Singlethreaded|Win32">
|
||||
<Tool Name="VCCLCompilerTool" Optimization="2" AdditionalIncludeDirectories="" PreprocessorDefinitions="" />
|
||||
</FileConfiguration>
|
||||
<FileConfiguration Name="Debug|Win32">
|
||||
<Tool Name="VCCLCompilerTool" Optimization="0" AdditionalIncludeDirectories="" PreprocessorDefinitions="" BasicRuntimeChecks="3" />
|
||||
</FileConfiguration>
|
||||
<FileConfiguration Name="Debug Singlethreaded|Win32">
|
||||
<Tool Name="VCCLCompilerTool" Optimization="0" AdditionalIncludeDirectories="" PreprocessorDefinitions="" BasicRuntimeChecks="3" />
|
||||
</FileConfiguration>
|
||||
<FileConfiguration Name="Debug Multithreaded|Win32">
|
||||
<Tool Name="VCCLCompilerTool" Optimization="0" AdditionalIncludeDirectories="" PreprocessorDefinitions="" BasicRuntimeChecks="3" />
|
||||
</FileConfiguration>
|
||||
</File>
|
||||
<File RelativePath="..\..\..\src\gzip\ftgzip.c">
|
||||
<FileConfiguration Name="Release|Win32">
|
||||
<Tool Name="VCCLCompilerTool" Optimization="2" AdditionalIncludeDirectories="" PreprocessorDefinitions="" />
|
||||
</FileConfiguration>
|
||||
<FileConfiguration Name="Release Multithreaded|Win32">
|
||||
<Tool Name="VCCLCompilerTool" Optimization="2" AdditionalIncludeDirectories="" PreprocessorDefinitions="" />
|
||||
</FileConfiguration>
|
||||
<FileConfiguration Name="Release Singlethreaded|Win32">
|
||||
<Tool Name="VCCLCompilerTool" Optimization="2" AdditionalIncludeDirectories="" PreprocessorDefinitions="" />
|
||||
</FileConfiguration>
|
||||
<FileConfiguration Name="Debug|Win32">
|
||||
<Tool Name="VCCLCompilerTool" Optimization="0" AdditionalIncludeDirectories="" PreprocessorDefinitions="" BasicRuntimeChecks="3" />
|
||||
</FileConfiguration>
|
||||
<FileConfiguration Name="Debug Singlethreaded|Win32">
|
||||
<Tool Name="VCCLCompilerTool" Optimization="0" AdditionalIncludeDirectories="" PreprocessorDefinitions="" BasicRuntimeChecks="3" />
|
||||
</FileConfiguration>
|
||||
<FileConfiguration Name="Debug Multithreaded|Win32">
|
||||
<Tool Name="VCCLCompilerTool" Optimization="0" AdditionalIncludeDirectories="" PreprocessorDefinitions="" BasicRuntimeChecks="3" />
|
||||
</FileConfiguration>
|
||||
</File>
|
||||
<File RelativePath="..\..\..\src\base\ftinit.c">
|
||||
<FileConfiguration Name="Release|Win32">
|
||||
<Tool Name="VCCLCompilerTool" Optimization="2" AdditionalIncludeDirectories="" PreprocessorDefinitions="" />
|
||||
</FileConfiguration>
|
||||
<FileConfiguration Name="Release Multithreaded|Win32">
|
||||
<Tool Name="VCCLCompilerTool" Optimization="2" AdditionalIncludeDirectories="" PreprocessorDefinitions="" />
|
||||
</FileConfiguration>
|
||||
<FileConfiguration Name="Release Singlethreaded|Win32">
|
||||
<Tool Name="VCCLCompilerTool" Optimization="2" AdditionalIncludeDirectories="" PreprocessorDefinitions="" />
|
||||
</FileConfiguration>
|
||||
<FileConfiguration Name="Debug|Win32">
|
||||
<Tool Name="VCCLCompilerTool" Optimization="0" AdditionalIncludeDirectories="" PreprocessorDefinitions="" BasicRuntimeChecks="3" />
|
||||
</FileConfiguration>
|
||||
<FileConfiguration Name="Debug Singlethreaded|Win32">
|
||||
<Tool Name="VCCLCompilerTool" Optimization="0" AdditionalIncludeDirectories="" PreprocessorDefinitions="" BasicRuntimeChecks="3" />
|
||||
</FileConfiguration>
|
||||
<FileConfiguration Name="Debug Multithreaded|Win32">
|
||||
<Tool Name="VCCLCompilerTool" Optimization="0" AdditionalIncludeDirectories="" PreprocessorDefinitions="" BasicRuntimeChecks="3" />
|
||||
</FileConfiguration>
|
||||
</File>
|
||||
<File RelativePath="..\..\..\src\lzw\ftlzw.c">
|
||||
<FileConfiguration Name="Release|Win32">
|
||||
<Tool Name="VCCLCompilerTool" Optimization="2" AdditionalIncludeDirectories="" PreprocessorDefinitions="" />
|
||||
</FileConfiguration>
|
||||
<FileConfiguration Name="Release Multithreaded|Win32">
|
||||
<Tool Name="VCCLCompilerTool" Optimization="2" AdditionalIncludeDirectories="" PreprocessorDefinitions="" />
|
||||
</FileConfiguration>
|
||||
<FileConfiguration Name="Release Singlethreaded|Win32">
|
||||
<Tool Name="VCCLCompilerTool" Optimization="2" AdditionalIncludeDirectories="" PreprocessorDefinitions="" />
|
||||
</FileConfiguration>
|
||||
<FileConfiguration Name="Debug|Win32">
|
||||
<Tool Name="VCCLCompilerTool" Optimization="0" AdditionalIncludeDirectories="" PreprocessorDefinitions="" BasicRuntimeChecks="3" />
|
||||
</FileConfiguration>
|
||||
<FileConfiguration Name="Debug Singlethreaded|Win32">
|
||||
<Tool Name="VCCLCompilerTool" Optimization="0" AdditionalIncludeDirectories="" PreprocessorDefinitions="" BasicRuntimeChecks="3" />
|
||||
</FileConfiguration>
|
||||
<FileConfiguration Name="Debug Multithreaded|Win32">
|
||||
<Tool Name="VCCLCompilerTool" Optimization="0" AdditionalIncludeDirectories="" PreprocessorDefinitions="" BasicRuntimeChecks="3" />
|
||||
</FileConfiguration>
|
||||
</File>
|
||||
<File RelativePath="..\..\..\src\base\ftstroke.c">
|
||||
</File>
|
||||
<File RelativePath="..\..\..\src\base\ftsystem.c">
|
||||
<FileConfiguration Name="Release|Win32">
|
||||
<Tool Name="VCCLCompilerTool" Optimization="2" AdditionalIncludeDirectories="" PreprocessorDefinitions="" />
|
||||
</FileConfiguration>
|
||||
<FileConfiguration Name="Release Multithreaded|Win32">
|
||||
<Tool Name="VCCLCompilerTool" Optimization="2" AdditionalIncludeDirectories="" PreprocessorDefinitions="" />
|
||||
</FileConfiguration>
|
||||
<FileConfiguration Name="Release Singlethreaded|Win32">
|
||||
<Tool Name="VCCLCompilerTool" Optimization="2" AdditionalIncludeDirectories="" PreprocessorDefinitions="" />
|
||||
</FileConfiguration>
|
||||
<FileConfiguration Name="Debug|Win32">
|
||||
<Tool Name="VCCLCompilerTool" Optimization="0" AdditionalIncludeDirectories="" PreprocessorDefinitions="" BasicRuntimeChecks="3" />
|
||||
</FileConfiguration>
|
||||
<FileConfiguration Name="Debug Singlethreaded|Win32">
|
||||
<Tool Name="VCCLCompilerTool" Optimization="0" AdditionalIncludeDirectories="" PreprocessorDefinitions="" BasicRuntimeChecks="3" />
|
||||
</FileConfiguration>
|
||||
<FileConfiguration Name="Debug Multithreaded|Win32">
|
||||
<Tool Name="VCCLCompilerTool" Optimization="0" AdditionalIncludeDirectories="" PreprocessorDefinitions="" BasicRuntimeChecks="3" />
|
||||
</FileConfiguration>
|
||||
</File>
|
||||
<File RelativePath="..\..\..\src\smooth\smooth.c">
|
||||
<FileConfiguration Name="Release|Win32">
|
||||
<Tool Name="VCCLCompilerTool" Optimization="2" AdditionalIncludeDirectories="" PreprocessorDefinitions="" />
|
||||
</FileConfiguration>
|
||||
<FileConfiguration Name="Release Multithreaded|Win32">
|
||||
<Tool Name="VCCLCompilerTool" Optimization="2" AdditionalIncludeDirectories="" PreprocessorDefinitions="" />
|
||||
</FileConfiguration>
|
||||
<FileConfiguration Name="Release Singlethreaded|Win32">
|
||||
<Tool Name="VCCLCompilerTool" Optimization="2" AdditionalIncludeDirectories="" PreprocessorDefinitions="" />
|
||||
</FileConfiguration>
|
||||
<FileConfiguration Name="Debug|Win32">
|
||||
<Tool Name="VCCLCompilerTool" Optimization="0" AdditionalIncludeDirectories="" PreprocessorDefinitions="" BasicRuntimeChecks="3" />
|
||||
</FileConfiguration>
|
||||
<FileConfiguration Name="Debug Singlethreaded|Win32">
|
||||
<Tool Name="VCCLCompilerTool" Optimization="0" AdditionalIncludeDirectories="" PreprocessorDefinitions="" BasicRuntimeChecks="3" />
|
||||
</FileConfiguration>
|
||||
<FileConfiguration Name="Debug Multithreaded|Win32">
|
||||
<Tool Name="VCCLCompilerTool" Optimization="0" AdditionalIncludeDirectories="" PreprocessorDefinitions="" BasicRuntimeChecks="3" />
|
||||
</FileConfiguration>
|
||||
</File>
|
||||
<Filter Name="FT_MODULES">
|
||||
<File RelativePath="..\..\..\src\base\ftbdf.c">
|
||||
</File>
|
||||
<File RelativePath="..\..\..\src\base\ftbbox.c">
|
||||
</File>
|
||||
<File RelativePath="..\..\..\src\base\ftfntfmt.c">
|
||||
<File RelativePath="..\..\..\src\base\ftcid.c">
|
||||
</File>
|
||||
<File RelativePath="..\..\..\src\base\ftmm.c">
|
||||
<FileConfiguration Name="Release|Win32">
|
||||
<Tool Name="VCCLCompilerTool" Optimization="2" AdditionalIncludeDirectories="" PreprocessorDefinitions="" />
|
||||
</FileConfiguration>
|
||||
<FileConfiguration Name="Release Multithreaded|Win32">
|
||||
<Tool Name="VCCLCompilerTool" Optimization="2" AdditionalIncludeDirectories="" PreprocessorDefinitions="" />
|
||||
</FileConfiguration>
|
||||
<FileConfiguration Name="Release Singlethreaded|Win32">
|
||||
<Tool Name="VCCLCompilerTool" Optimization="2" AdditionalIncludeDirectories="" PreprocessorDefinitions="" />
|
||||
</FileConfiguration>
|
||||
<FileConfiguration Name="Debug|Win32">
|
||||
<Tool Name="VCCLCompilerTool" Optimization="0" AdditionalIncludeDirectories="" PreprocessorDefinitions="" BasicRuntimeChecks="3" />
|
||||
</FileConfiguration>
|
||||
<FileConfiguration Name="Debug Singlethreaded|Win32">
|
||||
<Tool Name="VCCLCompilerTool" Optimization="0" AdditionalIncludeDirectories="" PreprocessorDefinitions="" BasicRuntimeChecks="3" />
|
||||
</FileConfiguration>
|
||||
<FileConfiguration Name="Debug Multithreaded|Win32">
|
||||
<Tool Name="VCCLCompilerTool" Optimization="0" AdditionalIncludeDirectories="" PreprocessorDefinitions="" BasicRuntimeChecks="3" />
|
||||
</FileConfiguration>
|
||||
</File>
|
||||
<File RelativePath="..\..\..\src\base\ftpfr.c">
|
||||
</File>
|
||||
|
@ -376,8 +165,6 @@
|
|||
</File>
|
||||
<File RelativePath="..\..\..\src\base\ftwinfnt.c">
|
||||
</File>
|
||||
<File RelativePath="..\..\..\src\base\ftlcdfil.c">
|
||||
</File>
|
||||
<File RelativePath="..\..\..\src\base\ftgxval.c">
|
||||
</File>
|
||||
<File RelativePath="..\..\..\src\base\ftotval.c">
|
||||
|
@ -385,244 +172,28 @@
|
|||
<File RelativePath="..\..\..\src\base\ftpatent.c">
|
||||
</File>
|
||||
<File RelativePath="..\..\..\src\pcf\pcf.c">
|
||||
<FileConfiguration Name="Release|Win32">
|
||||
<Tool Name="VCCLCompilerTool" Optimization="2" AdditionalIncludeDirectories="" PreprocessorDefinitions="" />
|
||||
</FileConfiguration>
|
||||
<FileConfiguration Name="Release Multithreaded|Win32">
|
||||
<Tool Name="VCCLCompilerTool" Optimization="2" AdditionalIncludeDirectories="" PreprocessorDefinitions="" />
|
||||
</FileConfiguration>
|
||||
<FileConfiguration Name="Release Singlethreaded|Win32">
|
||||
<Tool Name="VCCLCompilerTool" Optimization="2" AdditionalIncludeDirectories="" PreprocessorDefinitions="" />
|
||||
</FileConfiguration>
|
||||
<FileConfiguration Name="Debug|Win32">
|
||||
<Tool Name="VCCLCompilerTool" Optimization="0" AdditionalIncludeDirectories="" PreprocessorDefinitions="" BasicRuntimeChecks="3" />
|
||||
</FileConfiguration>
|
||||
<FileConfiguration Name="Debug Singlethreaded|Win32">
|
||||
<Tool Name="VCCLCompilerTool" Optimization="0" AdditionalIncludeDirectories="" PreprocessorDefinitions="" BasicRuntimeChecks="3" />
|
||||
</FileConfiguration>
|
||||
<FileConfiguration Name="Debug Multithreaded|Win32">
|
||||
<Tool Name="VCCLCompilerTool" Optimization="0" AdditionalIncludeDirectories="" PreprocessorDefinitions="" BasicRuntimeChecks="3" />
|
||||
</FileConfiguration>
|
||||
</File>
|
||||
<File RelativePath="..\..\..\src\pfr\pfr.c">
|
||||
<FileConfiguration Name="Release|Win32">
|
||||
<Tool Name="VCCLCompilerTool" Optimization="2" AdditionalIncludeDirectories="" PreprocessorDefinitions="" />
|
||||
</FileConfiguration>
|
||||
<FileConfiguration Name="Release Multithreaded|Win32">
|
||||
<Tool Name="VCCLCompilerTool" Optimization="2" AdditionalIncludeDirectories="" PreprocessorDefinitions="" />
|
||||
</FileConfiguration>
|
||||
<FileConfiguration Name="Release Singlethreaded|Win32">
|
||||
<Tool Name="VCCLCompilerTool" Optimization="2" AdditionalIncludeDirectories="" PreprocessorDefinitions="" />
|
||||
</FileConfiguration>
|
||||
<FileConfiguration Name="Debug|Win32">
|
||||
<Tool Name="VCCLCompilerTool" Optimization="0" AdditionalIncludeDirectories="" PreprocessorDefinitions="" BasicRuntimeChecks="3" />
|
||||
</FileConfiguration>
|
||||
<FileConfiguration Name="Debug Singlethreaded|Win32">
|
||||
<Tool Name="VCCLCompilerTool" Optimization="0" AdditionalIncludeDirectories="" PreprocessorDefinitions="" BasicRuntimeChecks="3" />
|
||||
</FileConfiguration>
|
||||
<FileConfiguration Name="Debug Multithreaded|Win32">
|
||||
<Tool Name="VCCLCompilerTool" Optimization="0" AdditionalIncludeDirectories="" PreprocessorDefinitions="" BasicRuntimeChecks="3" />
|
||||
</FileConfiguration>
|
||||
</File>
|
||||
<File RelativePath="..\..\..\src\psaux\psaux.c">
|
||||
<FileConfiguration Name="Release|Win32">
|
||||
<Tool Name="VCCLCompilerTool" Optimization="2" AdditionalIncludeDirectories="" PreprocessorDefinitions="" />
|
||||
</FileConfiguration>
|
||||
<FileConfiguration Name="Release Multithreaded|Win32">
|
||||
<Tool Name="VCCLCompilerTool" Optimization="2" AdditionalIncludeDirectories="" PreprocessorDefinitions="" />
|
||||
</FileConfiguration>
|
||||
<FileConfiguration Name="Release Singlethreaded|Win32">
|
||||
<Tool Name="VCCLCompilerTool" Optimization="2" AdditionalIncludeDirectories="" PreprocessorDefinitions="" />
|
||||
</FileConfiguration>
|
||||
<FileConfiguration Name="Debug|Win32">
|
||||
<Tool Name="VCCLCompilerTool" Optimization="0" AdditionalIncludeDirectories="" PreprocessorDefinitions="" BasicRuntimeChecks="3" />
|
||||
</FileConfiguration>
|
||||
<FileConfiguration Name="Debug Singlethreaded|Win32">
|
||||
<Tool Name="VCCLCompilerTool" Optimization="0" AdditionalIncludeDirectories="" PreprocessorDefinitions="" BasicRuntimeChecks="3" />
|
||||
</FileConfiguration>
|
||||
<FileConfiguration Name="Debug Multithreaded|Win32">
|
||||
<Tool Name="VCCLCompilerTool" Optimization="0" AdditionalIncludeDirectories="" PreprocessorDefinitions="" BasicRuntimeChecks="3" />
|
||||
</FileConfiguration>
|
||||
</File>
|
||||
<File RelativePath="..\..\..\src\pshinter\pshinter.c">
|
||||
<FileConfiguration Name="Release|Win32">
|
||||
<Tool Name="VCCLCompilerTool" Optimization="2" AdditionalIncludeDirectories="" PreprocessorDefinitions="" />
|
||||
</FileConfiguration>
|
||||
<FileConfiguration Name="Release Multithreaded|Win32">
|
||||
<Tool Name="VCCLCompilerTool" Optimization="2" AdditionalIncludeDirectories="" PreprocessorDefinitions="" />
|
||||
</FileConfiguration>
|
||||
<FileConfiguration Name="Release Singlethreaded|Win32">
|
||||
<Tool Name="VCCLCompilerTool" Optimization="2" AdditionalIncludeDirectories="" PreprocessorDefinitions="" />
|
||||
</FileConfiguration>
|
||||
<FileConfiguration Name="Debug|Win32">
|
||||
<Tool Name="VCCLCompilerTool" Optimization="0" AdditionalIncludeDirectories="" PreprocessorDefinitions="" BasicRuntimeChecks="3" />
|
||||
</FileConfiguration>
|
||||
<FileConfiguration Name="Debug Singlethreaded|Win32">
|
||||
<Tool Name="VCCLCompilerTool" Optimization="0" AdditionalIncludeDirectories="" PreprocessorDefinitions="" BasicRuntimeChecks="3" />
|
||||
</FileConfiguration>
|
||||
<FileConfiguration Name="Debug Multithreaded|Win32">
|
||||
<Tool Name="VCCLCompilerTool" Optimization="0" AdditionalIncludeDirectories="" PreprocessorDefinitions="" BasicRuntimeChecks="3" />
|
||||
</FileConfiguration>
|
||||
</File>
|
||||
<File RelativePath="..\..\..\src\psnames\psmodule.c">
|
||||
<FileConfiguration Name="Release|Win32">
|
||||
<Tool Name="VCCLCompilerTool" Optimization="2" AdditionalIncludeDirectories="" PreprocessorDefinitions="" />
|
||||
</FileConfiguration>
|
||||
<FileConfiguration Name="Release Multithreaded|Win32">
|
||||
<Tool Name="VCCLCompilerTool" Optimization="2" AdditionalIncludeDirectories="" PreprocessorDefinitions="" />
|
||||
</FileConfiguration>
|
||||
<FileConfiguration Name="Release Singlethreaded|Win32">
|
||||
<Tool Name="VCCLCompilerTool" Optimization="2" AdditionalIncludeDirectories="" PreprocessorDefinitions="" />
|
||||
</FileConfiguration>
|
||||
<FileConfiguration Name="Debug|Win32">
|
||||
<Tool Name="VCCLCompilerTool" Optimization="0" AdditionalIncludeDirectories="" PreprocessorDefinitions="" BasicRuntimeChecks="3" />
|
||||
</FileConfiguration>
|
||||
<FileConfiguration Name="Debug Singlethreaded|Win32">
|
||||
<Tool Name="VCCLCompilerTool" Optimization="0" AdditionalIncludeDirectories="" PreprocessorDefinitions="" BasicRuntimeChecks="3" />
|
||||
</FileConfiguration>
|
||||
<FileConfiguration Name="Debug Multithreaded|Win32">
|
||||
<Tool Name="VCCLCompilerTool" Optimization="0" AdditionalIncludeDirectories="" PreprocessorDefinitions="" BasicRuntimeChecks="3" />
|
||||
</FileConfiguration>
|
||||
</File>
|
||||
<File RelativePath="..\..\..\src\raster\raster.c">
|
||||
<FileConfiguration Name="Release|Win32">
|
||||
<Tool Name="VCCLCompilerTool" Optimization="2" AdditionalIncludeDirectories="" PreprocessorDefinitions="" />
|
||||
</FileConfiguration>
|
||||
<FileConfiguration Name="Release Multithreaded|Win32">
|
||||
<Tool Name="VCCLCompilerTool" Optimization="2" AdditionalIncludeDirectories="" PreprocessorDefinitions="" />
|
||||
</FileConfiguration>
|
||||
<FileConfiguration Name="Release Singlethreaded|Win32">
|
||||
<Tool Name="VCCLCompilerTool" Optimization="2" AdditionalIncludeDirectories="" PreprocessorDefinitions="" />
|
||||
</FileConfiguration>
|
||||
<FileConfiguration Name="Debug|Win32">
|
||||
<Tool Name="VCCLCompilerTool" Optimization="0" AdditionalIncludeDirectories="" PreprocessorDefinitions="" BasicRuntimeChecks="3" />
|
||||
</FileConfiguration>
|
||||
<FileConfiguration Name="Debug Singlethreaded|Win32">
|
||||
<Tool Name="VCCLCompilerTool" Optimization="0" AdditionalIncludeDirectories="" PreprocessorDefinitions="" BasicRuntimeChecks="3" />
|
||||
</FileConfiguration>
|
||||
<FileConfiguration Name="Debug Multithreaded|Win32">
|
||||
<Tool Name="VCCLCompilerTool" Optimization="0" AdditionalIncludeDirectories="" PreprocessorDefinitions="" BasicRuntimeChecks="3" />
|
||||
</FileConfiguration>
|
||||
</File>
|
||||
<File RelativePath="..\..\..\src\sfnt\sfnt.c">
|
||||
<FileConfiguration Name="Release|Win32">
|
||||
<Tool Name="VCCLCompilerTool" Optimization="2" AdditionalIncludeDirectories="" PreprocessorDefinitions="" />
|
||||
</FileConfiguration>
|
||||
<FileConfiguration Name="Release Multithreaded|Win32">
|
||||
<Tool Name="VCCLCompilerTool" Optimization="2" AdditionalIncludeDirectories="" PreprocessorDefinitions="" />
|
||||
</FileConfiguration>
|
||||
<FileConfiguration Name="Release Singlethreaded|Win32">
|
||||
<Tool Name="VCCLCompilerTool" Optimization="2" AdditionalIncludeDirectories="" PreprocessorDefinitions="" />
|
||||
</FileConfiguration>
|
||||
<FileConfiguration Name="Debug|Win32">
|
||||
<Tool Name="VCCLCompilerTool" Optimization="0" AdditionalIncludeDirectories="" PreprocessorDefinitions="" BasicRuntimeChecks="3" />
|
||||
</FileConfiguration>
|
||||
<FileConfiguration Name="Debug Singlethreaded|Win32">
|
||||
<Tool Name="VCCLCompilerTool" Optimization="0" AdditionalIncludeDirectories="" PreprocessorDefinitions="" BasicRuntimeChecks="3" />
|
||||
</FileConfiguration>
|
||||
<FileConfiguration Name="Debug Multithreaded|Win32">
|
||||
<Tool Name="VCCLCompilerTool" Optimization="0" AdditionalIncludeDirectories="" PreprocessorDefinitions="" BasicRuntimeChecks="3" />
|
||||
</FileConfiguration>
|
||||
</File>
|
||||
<File RelativePath="..\..\..\src\truetype\truetype.c">
|
||||
<FileConfiguration Name="Release|Win32">
|
||||
<Tool Name="VCCLCompilerTool" Optimization="2" AdditionalIncludeDirectories="" PreprocessorDefinitions="" />
|
||||
</FileConfiguration>
|
||||
<FileConfiguration Name="Release Multithreaded|Win32">
|
||||
<Tool Name="VCCLCompilerTool" Optimization="2" AdditionalIncludeDirectories="" PreprocessorDefinitions="" />
|
||||
</FileConfiguration>
|
||||
<FileConfiguration Name="Release Singlethreaded|Win32">
|
||||
<Tool Name="VCCLCompilerTool" Optimization="2" AdditionalIncludeDirectories="" PreprocessorDefinitions="" />
|
||||
</FileConfiguration>
|
||||
<FileConfiguration Name="Debug|Win32">
|
||||
<Tool Name="VCCLCompilerTool" Optimization="0" AdditionalIncludeDirectories="" PreprocessorDefinitions="" BasicRuntimeChecks="3" />
|
||||
</FileConfiguration>
|
||||
<FileConfiguration Name="Debug Singlethreaded|Win32">
|
||||
<Tool Name="VCCLCompilerTool" Optimization="0" AdditionalIncludeDirectories="" PreprocessorDefinitions="" BasicRuntimeChecks="3" />
|
||||
</FileConfiguration>
|
||||
<FileConfiguration Name="Debug Multithreaded|Win32">
|
||||
<Tool Name="VCCLCompilerTool" Optimization="0" AdditionalIncludeDirectories="" PreprocessorDefinitions="" BasicRuntimeChecks="3" />
|
||||
</FileConfiguration>
|
||||
</File>
|
||||
<File RelativePath="..\..\..\src\type1\type1.c">
|
||||
<FileConfiguration Name="Release|Win32">
|
||||
<Tool Name="VCCLCompilerTool" Optimization="2" AdditionalIncludeDirectories="" PreprocessorDefinitions="" />
|
||||
</FileConfiguration>
|
||||
<FileConfiguration Name="Release Multithreaded|Win32">
|
||||
<Tool Name="VCCLCompilerTool" Optimization="2" AdditionalIncludeDirectories="" PreprocessorDefinitions="" />
|
||||
</FileConfiguration>
|
||||
<FileConfiguration Name="Release Singlethreaded|Win32">
|
||||
<Tool Name="VCCLCompilerTool" Optimization="2" AdditionalIncludeDirectories="" PreprocessorDefinitions="" />
|
||||
</FileConfiguration>
|
||||
<FileConfiguration Name="Debug|Win32">
|
||||
<Tool Name="VCCLCompilerTool" Optimization="0" AdditionalIncludeDirectories="" PreprocessorDefinitions="" BasicRuntimeChecks="3" />
|
||||
</FileConfiguration>
|
||||
<FileConfiguration Name="Debug Singlethreaded|Win32">
|
||||
<Tool Name="VCCLCompilerTool" Optimization="0" AdditionalIncludeDirectories="" PreprocessorDefinitions="" BasicRuntimeChecks="3" />
|
||||
</FileConfiguration>
|
||||
<FileConfiguration Name="Debug Multithreaded|Win32">
|
||||
<Tool Name="VCCLCompilerTool" Optimization="0" AdditionalIncludeDirectories="" PreprocessorDefinitions="" BasicRuntimeChecks="3" />
|
||||
</FileConfiguration>
|
||||
</File>
|
||||
<File RelativePath="..\..\..\src\cid\type1cid.c">
|
||||
<FileConfiguration Name="Release|Win32">
|
||||
<Tool Name="VCCLCompilerTool" Optimization="2" AdditionalIncludeDirectories="" PreprocessorDefinitions="" />
|
||||
</FileConfiguration>
|
||||
<FileConfiguration Name="Release Multithreaded|Win32">
|
||||
<Tool Name="VCCLCompilerTool" Optimization="2" AdditionalIncludeDirectories="" PreprocessorDefinitions="" />
|
||||
</FileConfiguration>
|
||||
<FileConfiguration Name="Release Singlethreaded|Win32">
|
||||
<Tool Name="VCCLCompilerTool" Optimization="2" AdditionalIncludeDirectories="" PreprocessorDefinitions="" />
|
||||
</FileConfiguration>
|
||||
<FileConfiguration Name="Debug|Win32">
|
||||
<Tool Name="VCCLCompilerTool" Optimization="0" AdditionalIncludeDirectories="" PreprocessorDefinitions="" BasicRuntimeChecks="3" />
|
||||
</FileConfiguration>
|
||||
<FileConfiguration Name="Debug Singlethreaded|Win32">
|
||||
<Tool Name="VCCLCompilerTool" Optimization="0" AdditionalIncludeDirectories="" PreprocessorDefinitions="" BasicRuntimeChecks="3" />
|
||||
</FileConfiguration>
|
||||
<FileConfiguration Name="Debug Multithreaded|Win32">
|
||||
<Tool Name="VCCLCompilerTool" Optimization="0" AdditionalIncludeDirectories="" PreprocessorDefinitions="" BasicRuntimeChecks="3" />
|
||||
</FileConfiguration>
|
||||
</File>
|
||||
<File RelativePath="..\..\..\src\type42\type42.c">
|
||||
<FileConfiguration Name="Release|Win32">
|
||||
<Tool Name="VCCLCompilerTool" Optimization="2" AdditionalIncludeDirectories="" PreprocessorDefinitions="" />
|
||||
</FileConfiguration>
|
||||
<FileConfiguration Name="Release Multithreaded|Win32">
|
||||
<Tool Name="VCCLCompilerTool" Optimization="2" AdditionalIncludeDirectories="" PreprocessorDefinitions="" />
|
||||
</FileConfiguration>
|
||||
<FileConfiguration Name="Release Singlethreaded|Win32">
|
||||
<Tool Name="VCCLCompilerTool" Optimization="2" AdditionalIncludeDirectories="" PreprocessorDefinitions="" />
|
||||
</FileConfiguration>
|
||||
<FileConfiguration Name="Debug|Win32">
|
||||
<Tool Name="VCCLCompilerTool" Optimization="0" AdditionalIncludeDirectories="" PreprocessorDefinitions="" BasicRuntimeChecks="3" />
|
||||
</FileConfiguration>
|
||||
<FileConfiguration Name="Debug Singlethreaded|Win32">
|
||||
<Tool Name="VCCLCompilerTool" Optimization="0" AdditionalIncludeDirectories="" PreprocessorDefinitions="" BasicRuntimeChecks="3" />
|
||||
</FileConfiguration>
|
||||
<FileConfiguration Name="Debug Multithreaded|Win32">
|
||||
<Tool Name="VCCLCompilerTool" Optimization="0" AdditionalIncludeDirectories="" PreprocessorDefinitions="" BasicRuntimeChecks="3" />
|
||||
</FileConfiguration>
|
||||
</File>
|
||||
<File RelativePath="..\..\..\src\winfonts\winfnt.c">
|
||||
<FileConfiguration Name="Release|Win32">
|
||||
<Tool Name="VCCLCompilerTool" Optimization="2" AdditionalIncludeDirectories="" PreprocessorDefinitions="" />
|
||||
</FileConfiguration>
|
||||
<FileConfiguration Name="Release Multithreaded|Win32">
|
||||
<Tool Name="VCCLCompilerTool" Optimization="2" AdditionalIncludeDirectories="" PreprocessorDefinitions="" />
|
||||
</FileConfiguration>
|
||||
<FileConfiguration Name="Release Singlethreaded|Win32">
|
||||
<Tool Name="VCCLCompilerTool" Optimization="2" AdditionalIncludeDirectories="" PreprocessorDefinitions="" />
|
||||
</FileConfiguration>
|
||||
<FileConfiguration Name="Debug|Win32">
|
||||
<Tool Name="VCCLCompilerTool" Optimization="0" AdditionalIncludeDirectories="" PreprocessorDefinitions="" BasicRuntimeChecks="3" />
|
||||
</FileConfiguration>
|
||||
<FileConfiguration Name="Debug Singlethreaded|Win32">
|
||||
<Tool Name="VCCLCompilerTool" Optimization="0" AdditionalIncludeDirectories="" PreprocessorDefinitions="" BasicRuntimeChecks="3" />
|
||||
</FileConfiguration>
|
||||
<FileConfiguration Name="Debug Multithreaded|Win32">
|
||||
<Tool Name="VCCLCompilerTool" Optimization="0" AdditionalIncludeDirectories="" PreprocessorDefinitions="" BasicRuntimeChecks="3" />
|
||||
</FileConfiguration>
|
||||
</File>
|
||||
</Filter>
|
||||
</Filter>
|
||||
|
@ -643,4 +214,4 @@
|
|||
</Files>
|
||||
<Globals>
|
||||
</Globals>
|
||||
</VisualStudioProject>
|
||||
</VisualStudioProject>
|
||||
|
|
|
@ -11,14 +11,14 @@
|
|||
|
||||
<p>This directory contains project files for Visual C++, named
|
||||
<tt>freetype.vcproj</tt>, and Visual Studio, called <tt>freetype.sln</tt>. It
|
||||
compiles the following libraries from the FreeType 2.7.1 sources:</p>
|
||||
compiles the following libraries from the FreeType 2.9 sources:</p>
|
||||
|
||||
<ul>
|
||||
<pre>
|
||||
freetype271.lib - release build; single threaded
|
||||
freetype271_D.lib - debug build; single threaded
|
||||
freetype271MT.lib - release build; multi-threaded
|
||||
freetype271MT_D.lib - debug build; multi-threaded</pre>
|
||||
freetype29.lib - release build; single threaded
|
||||
freetype29_D.lib - debug build; single threaded
|
||||
freetype29MT.lib - release build; multi-threaded
|
||||
freetype29MT_D.lib - debug build; multi-threaded</pre>
|
||||
</ul>
|
||||
|
||||
<p>Be sure to extract the files with the Windows (CR+LF) line endings. ZIP
|
||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -11,14 +11,14 @@
|
|||
|
||||
<p>This directory contains project files for Visual C++, named
|
||||
<tt>freetype.vcproj</tt>, and Visual Studio, called <tt>freetype.sln</tt>. It
|
||||
compiles the following libraries from the FreeType 2.7.1 sources:</p>
|
||||
compiles the following libraries from the FreeType 2.9 sources:</p>
|
||||
|
||||
<ul>
|
||||
<pre>
|
||||
freetype271.lib - release build; single threaded
|
||||
freetype271_D.lib - debug build; single threaded
|
||||
freetype271MT.lib - release build; multi-threaded
|
||||
freetype271MT_D.lib - debug build; multi-threaded</pre>
|
||||
freetype29.lib - release build; single threaded
|
||||
freetype29_D.lib - debug build; single threaded
|
||||
freetype29MT.lib - release build; multi-threaded
|
||||
freetype29MT_D.lib - debug build; multi-threaded</pre>
|
||||
</ul>
|
||||
|
||||
<p>Be sure to extract the files with the Windows (CR+LF) line endings. ZIP
|
||||
|
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue