Compare commits
237 Commits
1100-sdf-p
...
master
Author | SHA1 | Date |
---|---|---|
Dominik Röttsches | a4c4566b6d | |
Dominik Röttsches | 5f19f49c81 | |
Werner Lemberg | e3ac7bb64a | |
Werner Lemberg | b4b7c3f607 | |
Werner Lemberg | c8a9c88975 | |
Werner Lemberg | 5d49473f85 | |
Werner Lemberg | e8ebfe988b | |
Anuj Verma | 7b3ebb9c12 | |
Werner Lemberg | 62bc04f4c5 | |
Brendan Shanks | 6fb7b7a09d | |
Alexei Podtelezhnikov | ed4d0710f1 | |
Alexei Podtelezhnikov | 581dd06405 | |
Xavier Claessens | d59c7ce1b9 | |
Werner Lemberg | 079a22da03 | |
Georg Brandl | 978eefee54 | |
Steve Lhomme | 3100c8120e | |
Ben Wagner | a1ca701023 | |
Werner Lemberg | aee6b94727 | |
Werner Lemberg | fc08295650 | |
Werner Lemberg | 1603378b91 | |
Eric Jing | 89d5cce58d | |
Werner Lemberg | 695d606ae5 | |
Ben Wagner | d247c56278 | |
Werner Lemberg | 385345037e | |
Werner Lemberg | 8a33164dad | |
Werner Lemberg | e50798b720 | |
Werner Lemberg | 87989a1435 | |
Werner Lemberg | 97cdbb24f7 | |
Werner Lemberg | 119e404b89 | |
Werner Lemberg | a8e4563c34 | |
Werner Lemberg | 1949a7ec3a | |
Werner Lemberg | ac4c1ebf7e | |
Werner Lemberg | 907715a6a2 | |
Werner Lemberg | 06727a5257 | |
Carlo Bramini | 127c1e8331 | |
Steve Lhomme | 0574692c6d | |
Werner Lemberg | fc15ebe0a6 | |
Ben Wagner | a960be9e5e | |
Werner Lemberg | d2c3bbcd8e | |
Werner Lemberg | 0c2bdb01a2 | |
Werner Lemberg | d014387ad4 | |
Ben Wagner | 7789f2bb79 | |
Werner Lemberg | 22a0cccb4d | |
Werner Lemberg | 53dfdcd819 | |
Werner Lemberg | 1e2eb65048 | |
Anuj Verma | 360e2507a3 | |
Anuj Verma | 2600ef637e | |
Anuj Verma | 5499d7bf81 | |
Ben Wagner | 335224beee | |
Ben Wagner | 034e5dbf92 | |
suzuki toshiya | bcdfa38692 | |
Werner Lemberg | 6c5522c6f8 | |
Werner Lemberg | ca46bc0cf2 | |
Werner Lemberg | 5b26e92a0f | |
Steve Lhomme | 20ec99be7e | |
Werner Lemberg | 01d4deb061 | |
Alexei Podtelezhnikov | 00ae29fcd2 | |
Werner Lemberg | 5a53e51b5c | |
Werner Lemberg | c67ecb8c3a | |
Werner Lemberg | 338b4e8846 | |
Alexei Podtelezhnikov | 1680885aa5 | |
Alexei Podtelezhnikov | 0447df71e7 | |
Alexei Podtelezhnikov | ed0e2e76d8 | |
Alexei Podtelezhnikov | 7c6b2f20b0 | |
Werner Lemberg | 24db55ecb8 | |
Alexei Podtelezhnikov | a173aead31 | |
Alexei Podtelezhnikov | dd8676b277 | |
Eric Jing | 56d182a74d | |
Alexei Podtelezhnikov | 8e39e42ee9 | |
Alexei Podtelezhnikov | c6dd509b99 | |
Alexei Podtelezhnikov | 946e1353ea | |
Werner Lemberg | 36ee3160a0 | |
Alexei Podtelezhnikov | 983d435865 | |
Alexei Podtelezhnikov | bee8886408 | |
Werner Lemberg | 7fd03a3e25 | |
Alexei Podtelezhnikov | da877c8693 | |
suzuki toshiya | 35740aa6a9 | |
Werner Lemberg | fa226478b1 | |
Alexei Podtelezhnikov | b34741c1cc | |
Ben Wagner | e34a860a07 | |
Anuj Verma | ab1c98ac18 | |
Tapish Ojha | 3d77756e73 | |
Werner Lemberg | 9476cb7eb3 | |
Alexei Podtelezhnikov | 837f0345a9 | |
Alexei Podtelezhnikov | 0ac535900b | |
Alexei Podtelezhnikov | 09223ef929 | |
Werner Lemberg | 267c6918d1 | |
Werner Lemberg | 9af1127fbe | |
Werner Lemberg | 8b7226bb43 | |
Werner Lemberg | 6a8e95b7a0 | |
Ben Wagner | 5e9caaee78 | |
Werner Lemberg | 657745212b | |
Werner Lemberg | ef48a33271 | |
Werner Lemberg | cddfe6574b | |
Werner Lemberg | 21d0fa3742 | |
Werner Lemberg | 9c1538525b | |
Werner Lemberg | 112527dd44 | |
Alexei Podtelezhnikov | 706c79a1da | |
Alexei Podtelezhnikov | 0d2b4952a3 | |
Werner Lemberg | 02fa26f4cd | |
Moazin Khatti | 0bf49bd229 | |
Moazin Khatti | 97c09a803e | |
Moazin Khatti | 5cf01aa2b2 | |
Moazin Khatti | f93a897afe | |
Moazin Khatti | 06c1a25e63 | |
Alexei Podtelezhnikov | 0b635b1eb2 | |
Alexei Podtelezhnikov | 99a940f84a | |
Alexei Podtelezhnikov | 054782c48e | |
Alexei Podtelezhnikov | 773e31c783 | |
Alexei Podtelezhnikov | d118bf8e35 | |
Ozkan Sezer | 3f6497bdc5 | |
Ben Wagner | 5e227133c1 | |
Alexei Podtelezhnikov | edd4fedc54 | |
Ozkan Sezer | 11ea89b51c | |
Alexei Podtelezhnikov | ba5d661f34 | |
Alexei Podtelezhnikov | 7f7bf6f0f0 | |
Alexei Podtelezhnikov | 7eb9a9dbbe | |
Alexei Podtelezhnikov | 81b81feb62 | |
Alexei Podtelezhnikov | 904ad21266 | |
Alexei Podtelezhnikov | ee52b57121 | |
Ben Wagner | 6ee8951956 | |
Werner Lemberg | b647dbdeb8 | |
Azamat H. Hackimov | ca44a236a0 | |
Ben Wagner | f1d3b9f10a | |
Ben Wagner | e838c37c2c | |
Dominik Röttsches | 3876846e26 | |
Werner Lemberg | d0cfb4e1b2 | |
Werner Lemberg | 947fddc8da | |
Werner Lemberg | 639a02154b | |
Werner Lemberg | 33626164e8 | |
Werner Lemberg | 4c0db60772 | |
Werner Lemberg | 2e62b7446b | |
Werner Lemberg | 4a89112b2a | |
Werner Lemberg | 3f9b78fc79 | |
Werner Lemberg | da8a8b8bcf | |
David Turner | a25e85ed95 | |
David Turner | 0d34386366 | |
Werner Lemberg | d276bcb7f0 | |
Alexei Podtelezhnikov | ca01112894 | |
Werner Lemberg | 7a493e3a40 | |
Werner Lemberg | bf9b1ef905 | |
Werner Lemberg | b5c2172f59 | |
Werner Lemberg | 5aa2a5c34a | |
Ben Wagner | afb4ca0151 | |
Werner Lemberg | 2b672e7210 | |
Alexander Borsuk | 4eb6cb8818 | |
Alexander Borsuk | 4f35711844 | |
Eli Schwartz | d6a5c57727 | |
Eli Schwartz | 57fd61805f | |
Eli Schwartz | e342f83c0b | |
Alexei Podtelezhnikov | 0da2a1155e | |
Alexei Podtelezhnikov | fd03dcc122 | |
Alexei Podtelezhnikov | 7add5b2bcb | |
Alexei Podtelezhnikov | a8ef33e3ae | |
Alexei Podtelezhnikov | 6c831d658f | |
Alexei Podtelezhnikov | 7809007a5b | |
Alexei Podtelezhnikov | a35b081ebc | |
Ben Wagner | bad92be927 | |
Alexei Podtelezhnikov | 012b00f3e6 | |
Cameron Cawley | 1f95189875 | |
Cameron Cawley | 9a533aa27f | |
Werner Lemberg | 3f83daeecb | |
Alexei Podtelezhnikov | 03380482ce | |
Seigo Nonaka | 3b45f564e9 | |
Alexei Podtelezhnikov | 64e26ad3a2 | |
Alexei Podtelezhnikov | 36a905e174 | |
Alexei Podtelezhnikov | 32f13c11a4 | |
Alexei Podtelezhnikov | cff026d415 | |
Alexei Podtelezhnikov | 99086bf224 | |
Werner Lemberg | 3cabd142ce | |
Werner Lemberg | 81912a1385 | |
Werner Lemberg | 407f31ff87 | |
Lukas Oberhuber | 896630bed6 | |
Werner Lemberg | a11650d7fa | |
Alexei Podtelezhnikov | f8a4163a45 | |
Werner Lemberg | 6da5f95fcf | |
Werner Lemberg | f5ce182420 | |
Werner Lemberg | 8c8f51c558 | |
Werner Lemberg | 9079c5d91a | |
Werner Lemberg | 238245cd66 | |
Werner Lemberg | e4f7673e46 | |
Werner Lemberg | 93e6b3e8e9 | |
Werner Lemberg | d31bafcb9c | |
Dominik Röttsches | 9597fd7b40 | |
Alexei Podtelezhnikov | cf55313650 | |
Alexei Podtelezhnikov | 42e617238a | |
Alexei Podtelezhnikov | c5cd2a3db4 | |
Alexei Podtelezhnikov | 188c7d6670 | |
Alexei Podtelezhnikov | 05089e8a07 | |
Werner Lemberg | d899b200f6 | |
Werner Lemberg | b86f96bce6 | |
Werner Lemberg | cce782281b | |
Werner Lemberg | 7ef266045f | |
Werner Lemberg | bb4e049abe | |
Alexei Podtelezhnikov | 9ebdc9cb1b | |
Alexei Podtelezhnikov | 7f4b9bfbc9 | |
Alexei Podtelezhnikov | c693377ed3 | |
Alexei Podtelezhnikov | cb9e7b7aac | |
Jany Belluz | fc55291b1c | |
Jany Belluz | 9ed5332fe6 | |
Jany Belluz | 23d1d8ada8 | |
Alexei Podtelezhnikov | 5d651faa70 | |
Gabor Kertesz | e6e6cbf164 | |
Dominik Röttsches | d3d3ff76d1 | |
Alexei Podtelezhnikov | 588a058d9b | |
Alexei Podtelezhnikov | 94cb3a2eb9 | |
Alexei Podtelezhnikov | 31fd054701 | |
Alexei Podtelezhnikov | 79b28d3781 | |
Alexei Podtelezhnikov | 793c012635 | |
Alexei Podtelezhnikov | a577bbcb5b | |
Werner Lemberg | 80b13f5732 | |
Ben Wagner | 535c67dda7 | |
Alexei Podtelezhnikov | f091e60c48 | |
Alexei Podtelezhnikov | 92f5e15f4f | |
Alexei Podtelezhnikov | 5e6efd6a4c | |
Gabor Kertesz | 80bd4cba7e | |
Ben Wagner | 65be4b2112 | |
Ben Wagner | b5e003f1f2 | |
Ben Wagner | fde91ab8f1 | |
Ben Wagner | 6d12e3a0ca | |
Alexei Podtelezhnikov | e990c33f21 | |
Werner Lemberg | 8ef8072ba1 | |
Alexei Podtelezhnikov | 38b349c41b | |
Werner Lemberg | de9faa53ed | |
Alexei Podtelezhnikov | 986d503f4a | |
Alexei Podtelezhnikov | 30ca63d4fb | |
Alexei Podtelezhnikov | afd1cb2881 | |
Ben Wagner | c71eb22dde | |
Ben Wagner | 8406ae5324 | |
Werner Lemberg | 0b92c56c34 | |
Anurag Thakur | 943a6bf7e6 | |
Anurag Thakur | ede96b239b | |
Alexei Podtelezhnikov | e294a95ca8 | |
Alexei Podtelezhnikov | 1029eb9377 | |
Alexei Podtelezhnikov | 77bd46e959 | |
Alexei Podtelezhnikov | 3b036820d6 | |
Alexei Podtelezhnikov | 012b4f2d48 |
124
.gitlab-ci.yml
124
.gitlab-ci.yml
|
@ -1,15 +1,17 @@
|
||||||
|
# CI setup for FreeType.
|
||||||
|
|
||||||
stages:
|
stages:
|
||||||
- build
|
- build
|
||||||
|
|
||||||
# FIXME: Use --werror once warnings are fixed.
|
# FIXME: Use --werror once warnings are fixed.
|
||||||
variables:
|
variables:
|
||||||
MESON_ARGS: --fatal-meson-warnings
|
MESON_ARGS: --fatal-meson-warnings --default-library=both
|
||||||
MESON_ARGS_WINDOWS: ${MESON_ARGS} --force-fallback-for=zlib
|
MESON_ARGS_WINDOWS: ${MESON_ARGS} --force-fallback-for=zlib
|
||||||
|
|
||||||
.build windows common:
|
.build windows common:
|
||||||
# See
|
# See
|
||||||
# https://gitlab.freedesktop.org/gstreamer/gst-ci/container_registry/213
|
# https://gitlab.freedesktop.org/gstreamer/gst-ci/container_registry/213
|
||||||
image: 'registry.freedesktop.org/gstreamer/gst-ci/amd64/windows:v14-master'
|
image: 'registry.freedesktop.org/gstreamer/gst-ci/amd64/windows:2021-09-09.0-master'
|
||||||
stage: 'build'
|
stage: 'build'
|
||||||
tags:
|
tags:
|
||||||
- 'docker'
|
- 'docker'
|
||||||
|
@ -23,56 +25,86 @@ variables:
|
||||||
image: 'registry.freedesktop.org/freetype/docker-images/debian:latest'
|
image: 'registry.freedesktop.org/freetype/docker-images/debian:latest'
|
||||||
stage: 'build'
|
stage: 'build'
|
||||||
|
|
||||||
|
.build macos common:
|
||||||
|
stage: 'build'
|
||||||
|
tags:
|
||||||
|
- 'gst-macos-11.1'
|
||||||
|
|
||||||
.build windows meson:
|
.build windows meson:
|
||||||
extends: '.build windows common'
|
extends: '.build windows common'
|
||||||
variables:
|
variables:
|
||||||
# Make sure any failure in PowerShell scripts is fatal.
|
# Make sure any failure in PowerShell scripts is fatal.
|
||||||
ErrorActionPreference: 'Stop'
|
ErrorActionPreference: 'Stop'
|
||||||
WarningPreference: 'Stop'
|
WarningPreference: 'Stop'
|
||||||
# Uncomment the following key if need to pass custom args, as well with
|
# Uncomment the following key if you need to pass custom args, as well
|
||||||
# the `$env:MESON_ARGS` line in the `script:` blocks.
|
# with the `$env:MESON_ARGS` line in the `script:` blocks.
|
||||||
# MESON_ARGS: >-
|
# MESON_ARGS: >-
|
||||||
# -Dfoo=enabled
|
# -Dfoo=enabled
|
||||||
# -Dbar=disabled
|
# -Dbar=disabled
|
||||||
before_script:
|
before_script:
|
||||||
# Make sure meson is up to date, so we don't need to rebuild the image
|
# Update RootCAs in order to access to some sites.
|
||||||
|
- certutil -generateSSTFromWU "C:\roots.sst"
|
||||||
|
- Import-Certificate -CertStoreLocation "Cert:\LocalMachine\Root" "C:\roots.sst"
|
||||||
|
# Make sure meson is up to date so we don't need to rebuild the image
|
||||||
# with each release.
|
# with each release.
|
||||||
- pip3 install meson==0.59.1
|
- pip3 install meson==0.59.1
|
||||||
|
- pip3 install --upgrade certifi
|
||||||
- pip3 install -U ninja
|
- pip3 install -U ninja
|
||||||
|
|
||||||
|
# Generate a UWP cross-file in case it's used
|
||||||
|
- $PSDefaultParameterValues['Out-File:Encoding'] = 'ASCII'
|
||||||
|
- echo "[binaries]" > uwp-crossfile.meson
|
||||||
|
- echo "c = 'cl'" >> uwp-crossfile.meson
|
||||||
|
- echo "strip = ['true']" >> uwp-crossfile.meson
|
||||||
|
- echo "[built-in options]" >> uwp-crossfile.meson
|
||||||
|
- echo "c_args = ['-DWINAPI_FAMILY=WINAPI_FAMILY_APP', '-DUNICODE', '-D_WIN32_WINNT=0x0A00', '-we4013']" >> uwp-crossfile.meson
|
||||||
|
- echo "c_winlibs = ['windowsapp.lib']" >> uwp-crossfile.meson
|
||||||
script:
|
script:
|
||||||
# For some reason, options are separated by newlines instead of spaces,
|
# For some reason, options are separated by newlines instead of spaces,
|
||||||
# so we have to replace them first.
|
# so we have to replace them first.
|
||||||
#- $env:MESON_ARGS = $env:MESON_ARGS.replace("`n"," ")
|
#
|
||||||
|
# - $env:MESON_ARGS = $env:MESON_ARGS.replace("`n"," ")
|
||||||
|
#
|
||||||
# Gitlab executes PowerShell in docker, but `VsDevCmd.bat` is a batch
|
# Gitlab executes PowerShell in docker, but `VsDevCmd.bat` is a batch
|
||||||
# script. Environment variables substitutions is done by PowerShell
|
# script. Environment variables substitutions is done by PowerShell
|
||||||
# before calling `cmd.exe`, that's why we use `$env:FOO` instead of
|
# before calling `cmd.exe`, that's why we use `$env:FOO` instead of
|
||||||
# `%FOO%`.
|
# `%FOO%`.
|
||||||
- cmd.exe /C "C:\BuildTools\Common7\Tools\VsDevCmd.bat -host_arch=amd64 -arch=$env:ARCH &&
|
- cmd.exe /C "C:\BuildTools\Common7\Tools\VsDevCmd.bat -host_arch=amd64 -arch=$env:ARCH $env:VS_UWP &&
|
||||||
meson setup build $env:MESON_ARGS_WINDOWS &&
|
meson setup build $env:MESON_ARGS_WINDOWS $env:MESON_ARGS_UWP &&
|
||||||
meson compile --verbose -C build &&
|
meson compile --verbose -C build
|
||||||
meson test -C build &&
|
$env:MESON_WINDOWS_TESTS"
|
||||||
meson test -C build --benchmark"
|
|
||||||
|
|
||||||
|
|
||||||
# Format of job names:
|
# Format of job names:
|
||||||
# <OS> <Build-Tool> <Build-Params> <Architecture>
|
# <OS> <Build-Tool> <Build-Params> <Architecture>
|
||||||
|
|
||||||
|
|
||||||
# Windows jobs
|
# Windows jobs.
|
||||||
|
|
||||||
windows meson vs2017 amd64:
|
windows meson vs2017 amd64:
|
||||||
extends: '.build windows meson'
|
extends: '.build windows meson'
|
||||||
variables:
|
variables:
|
||||||
ARCH: 'amd64'
|
ARCH: 'amd64'
|
||||||
|
MESON_WINDOWS_TESTS: '&& meson test -C build && meson test -C build --benchmark'
|
||||||
|
|
||||||
windows meson vs2017 x86:
|
windows meson vs2017 x86:
|
||||||
extends: '.build windows meson'
|
extends: '.build windows meson'
|
||||||
variables:
|
variables:
|
||||||
ARCH: 'x86'
|
ARCH: 'x86'
|
||||||
|
MESON_WINDOWS_TESTS: '&& meson test -C build && meson test -C build --benchmark'
|
||||||
|
|
||||||
|
windows meson vs2017 amd64 uwp:
|
||||||
|
extends: '.build windows meson'
|
||||||
|
variables:
|
||||||
|
ARCH: 'amd64'
|
||||||
|
VS_UWP: '-app_platform=UWP'
|
||||||
|
MESON_ARGS_UWP: '--cross-file uwp-crossfile.meson -Dc_winlibs="windowsapp.lib"'
|
||||||
|
|
||||||
|
# Linux Jobs.
|
||||||
|
#
|
||||||
|
# Jobs with "libs" in the name force-enable libraries.
|
||||||
|
# They are disabled for the remaining jobs.
|
||||||
|
|
||||||
# Linux Jobs
|
|
||||||
# Jobs with "libs" in the name force enable libraries.
|
|
||||||
# They are disabled in rest of the jobs.
|
|
||||||
linux autotools:
|
linux autotools:
|
||||||
extends: '.build linux common'
|
extends: '.build linux common'
|
||||||
script: |
|
script: |
|
||||||
|
@ -81,7 +113,8 @@ linux autotools:
|
||||||
--with-bzip2=no \
|
--with-bzip2=no \
|
||||||
--with-harfbuzz=no \
|
--with-harfbuzz=no \
|
||||||
--with-png=no \
|
--with-png=no \
|
||||||
--with-zlib=no
|
--with-zlib=no \
|
||||||
|
CC=gcc
|
||||||
|
|
||||||
make -j$(nproc) && make install
|
make -j$(nproc) && make install
|
||||||
|
|
||||||
|
@ -93,14 +126,29 @@ linux autotools libs:
|
||||||
--with-bzip2=yes \
|
--with-bzip2=yes \
|
||||||
--with-harfbuzz=yes \
|
--with-harfbuzz=yes \
|
||||||
--with-png=yes \
|
--with-png=yes \
|
||||||
--with-zlib=yes
|
--with-zlib=yes \
|
||||||
|
CC=gcc
|
||||||
|
|
||||||
|
make -j$(nproc) && make install
|
||||||
|
|
||||||
|
linux autotools libs clang:
|
||||||
|
extends: '.build linux common'
|
||||||
|
script: |
|
||||||
|
./autogen.sh
|
||||||
|
./configure --with-brotli=yes \
|
||||||
|
--with-bzip2=yes \
|
||||||
|
--with-harfbuzz=yes \
|
||||||
|
--with-png=yes \
|
||||||
|
--with-zlib=yes \
|
||||||
|
CC=clang
|
||||||
|
|
||||||
make -j$(nproc) && make install
|
make -j$(nproc) && make install
|
||||||
|
|
||||||
linux meson:
|
linux meson:
|
||||||
extends: '.build linux common'
|
extends: '.build linux common'
|
||||||
script: |
|
script: |
|
||||||
meson setup build -Dbrotli=disabled \
|
meson setup build ${MESON_ARGS} \
|
||||||
|
-Dbrotli=disabled \
|
||||||
-Dbzip2=disabled \
|
-Dbzip2=disabled \
|
||||||
-Dharfbuzz=disabled \
|
-Dharfbuzz=disabled \
|
||||||
-Dpng=disabled \
|
-Dpng=disabled \
|
||||||
|
@ -112,7 +160,8 @@ linux meson:
|
||||||
linux meson libs:
|
linux meson libs:
|
||||||
extends: '.build linux common'
|
extends: '.build linux common'
|
||||||
script: |
|
script: |
|
||||||
meson setup build -Dbrotli=enabled \
|
meson setup build ${MESON_ARGS} \
|
||||||
|
-Dbrotli=enabled \
|
||||||
-Dbzip2=enabled \
|
-Dbzip2=enabled \
|
||||||
-Dharfbuzz=disabled \
|
-Dharfbuzz=disabled \
|
||||||
-Dpng=disabled \
|
-Dpng=disabled \
|
||||||
|
@ -142,3 +191,40 @@ linux cmake libs:
|
||||||
-D FT_REQUIRE_ZLIB=TRUE
|
-D FT_REQUIRE_ZLIB=TRUE
|
||||||
|
|
||||||
cmake --build build --target install
|
cmake --build build --target install
|
||||||
|
|
||||||
|
|
||||||
|
# MacOS jobs.
|
||||||
|
|
||||||
|
macos autotools:
|
||||||
|
extends: '.build macos common'
|
||||||
|
before_script:
|
||||||
|
- '/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)"'
|
||||||
|
script:
|
||||||
|
- brew install autoconf automake libtool
|
||||||
|
- ./autogen.sh
|
||||||
|
- ./configure
|
||||||
|
- 'make -j$(sysctl -n hw.logicalcpu)'
|
||||||
|
- make install
|
||||||
|
|
||||||
|
macos autotools clang:
|
||||||
|
extends: '.build macos common'
|
||||||
|
before_script:
|
||||||
|
- '/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)"'
|
||||||
|
script:
|
||||||
|
- brew install autoconf automake libtool
|
||||||
|
- ./autogen.sh
|
||||||
|
- './configure CC=clang'
|
||||||
|
- 'make -j$(sysctl -n hw.logicalcpu)'
|
||||||
|
- make install
|
||||||
|
|
||||||
|
macos meson:
|
||||||
|
extends: '.build macos common'
|
||||||
|
script:
|
||||||
|
- pip3 install --upgrade pip
|
||||||
|
- pip3 install -U meson
|
||||||
|
- pip3 install --upgrade certifi
|
||||||
|
- pip3 install -U ninja
|
||||||
|
|
||||||
|
- meson setup build ${MESON_ARGS}
|
||||||
|
- meson compile --verbose -C build
|
||||||
|
- sudo meson install -C build
|
||||||
|
|
3
.mailmap
3
.mailmap
|
@ -1,7 +1,9 @@
|
||||||
Behdad Esfahbod (بهداد اسفهبد) <behdad@behdad.org> <behdad.esfahbod@gmail.com>
|
Behdad Esfahbod (بهداد اسفهبد) <behdad@behdad.org> <behdad.esfahbod@gmail.com>
|
||||||
Behdad Esfahbod (بهداد اسفهبد) <behdad@behdad.org> <behdad@google.com>
|
Behdad Esfahbod (بهداد اسفهبد) <behdad@behdad.org> <behdad@google.com>
|
||||||
Behdad Esfahbod (بهداد اسفهبد) <behdad@behdad.org>
|
Behdad Esfahbod (بهداد اسفهبد) <behdad@behdad.org>
|
||||||
|
Alexander Borsuk <me@alex.bio> <alexander.borsuk@qnective.com>
|
||||||
Ewald Hew (Hew Yih Shiuan 丘毅宣) <ewaldhew@gmail.com>
|
Ewald Hew (Hew Yih Shiuan 丘毅宣) <ewaldhew@gmail.com>
|
||||||
|
Moazin Khatti (موؤذن کھٹی) <moazinkhatri@gmail.com>
|
||||||
Priyesh Kumar (प्रियेश कुमार) <priyeshkkumar@gmail.com>
|
Priyesh Kumar (प्रियेश कुमार) <priyeshkkumar@gmail.com>
|
||||||
Alexei Podtelezhnikov (Алексей Подтележников) <apodtele@gmail.com>
|
Alexei Podtelezhnikov (Алексей Подтележников) <apodtele@gmail.com>
|
||||||
Nikhil Ramakrishnan (निखिल रामकृष्णन) <ramakrishnan.nikhil@gmail.com>
|
Nikhil Ramakrishnan (निखिल रामकृष्णन) <ramakrishnan.nikhil@gmail.com>
|
||||||
|
@ -18,4 +20,5 @@ David Turner <david@freetype.org> <digit@google.com>
|
||||||
Anuj Verma (अनुज वर्मा) <anujv@iitbhilai.ac.in>
|
Anuj Verma (अनुज वर्मा) <anujv@iitbhilai.ac.in>
|
||||||
Ben Wagner <bungeman@gmail.com> Bungeman <bungeman@gmail.com>
|
Ben Wagner <bungeman@gmail.com> Bungeman <bungeman@gmail.com>
|
||||||
Ben Wagner <bungeman@gmail.com> <bungeman@google.com>
|
Ben Wagner <bungeman@gmail.com> <bungeman@google.com>
|
||||||
|
Ben Wagner <bungeman@gmail.com> <bungeman@chromium.org>
|
||||||
Nikolaus Waxweiler <madigens@gmail.com> <nikolaus.waxweiler@daltonmaag.com>
|
Nikolaus Waxweiler <madigens@gmail.com> <nikolaus.waxweiler@daltonmaag.com>
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
# CMakeLists.txt
|
# CMakeLists.txt
|
||||||
#
|
#
|
||||||
# Copyright (C) 2013-2021 by
|
# Copyright (C) 2013-2022 by
|
||||||
# David Turner, Robert Wilhelm, and Werner Lemberg.
|
# David Turner, Robert Wilhelm, and Werner Lemberg.
|
||||||
#
|
#
|
||||||
# Written originally by John Cary <cary@txcorp.com>
|
# Written originally by John Cary <cary@txcorp.com>
|
||||||
|
@ -106,10 +106,9 @@
|
||||||
# (this is compatible with the same CMake variables in zlib's CMake
|
# (this is compatible with the same CMake variables in zlib's CMake
|
||||||
# support).
|
# support).
|
||||||
|
|
||||||
# FreeType explicitly marks the API to be exported and relies on the compiler
|
# To minimize the number of cmake_policy() workarounds,
|
||||||
# to hide all other symbols. CMake supports a C_VISBILITY_PRESET property
|
# CMake >= 3 is requested.
|
||||||
# starting with 2.8.12.
|
cmake_minimum_required(VERSION 3.0)
|
||||||
cmake_minimum_required(VERSION 2.8.12)
|
|
||||||
|
|
||||||
if (NOT CMAKE_VERSION VERSION_LESS 3.3)
|
if (NOT CMAKE_VERSION VERSION_LESS 3.3)
|
||||||
# Allow symbol visibility settings also on static libraries. CMake < 3.3
|
# Allow symbol visibility settings also on static libraries. CMake < 3.3
|
||||||
|
@ -122,6 +121,7 @@ endif ()
|
||||||
|
|
||||||
include(CheckIncludeFile)
|
include(CheckIncludeFile)
|
||||||
include(CMakeDependentOption)
|
include(CMakeDependentOption)
|
||||||
|
include(FindPkgConfig)
|
||||||
|
|
||||||
# CMAKE_TOOLCHAIN_FILE must be set before `project' is called, which
|
# CMAKE_TOOLCHAIN_FILE must be set before `project' is called, which
|
||||||
# configures the base build environment and references the toolchain file
|
# configures the base build environment and references the toolchain file
|
||||||
|
@ -162,8 +162,8 @@ endif ()
|
||||||
project(freetype C)
|
project(freetype C)
|
||||||
|
|
||||||
set(VERSION_MAJOR "2")
|
set(VERSION_MAJOR "2")
|
||||||
set(VERSION_MINOR "11")
|
set(VERSION_MINOR "12")
|
||||||
set(VERSION_PATCH "0")
|
set(VERSION_PATCH "1")
|
||||||
|
|
||||||
# Generate LIBRARY_VERSION and LIBRARY_SOVERSION.
|
# Generate LIBRARY_VERSION and LIBRARY_SOVERSION.
|
||||||
set(LIBTOOL_REGEX "version_info='([0-9]+):([0-9]+):([0-9]+)'")
|
set(LIBTOOL_REGEX "version_info='([0-9]+):([0-9]+):([0-9]+)'")
|
||||||
|
@ -239,7 +239,7 @@ if (BUILD_FRAMEWORK)
|
||||||
message(FATAL_ERROR
|
message(FATAL_ERROR
|
||||||
"You should use Xcode generator with BUILD_FRAMEWORK enabled")
|
"You should use Xcode generator with BUILD_FRAMEWORK enabled")
|
||||||
endif ()
|
endif ()
|
||||||
set(CMAKE_OSX_ARCHITECTURES "$(ARCHS_STANDARD_32_64_BIT)")
|
set(CMAKE_OSX_ARCHITECTURES "$(ARCHS_STANDARD)")
|
||||||
set(BUILD_SHARED_LIBS ON)
|
set(BUILD_SHARED_LIBS ON)
|
||||||
endif ()
|
endif ()
|
||||||
|
|
||||||
|
@ -271,11 +271,16 @@ if (NOT FT_DISABLE_ZLIB)
|
||||||
endif ()
|
endif ()
|
||||||
|
|
||||||
if (NOT FT_DISABLE_BZIP2)
|
if (NOT FT_DISABLE_BZIP2)
|
||||||
|
# Genuine BZip2 does not provide bzip2.pc, but some platforms have it.
|
||||||
|
# For better dependency in freetype2.pc, bzip2.pc is searched
|
||||||
|
# regardless of the availability of libbz2. If bzip2.pc is found,
|
||||||
|
# Requires.private is used instead of Libs.private.
|
||||||
if (FT_REQUIRE_BZIP2)
|
if (FT_REQUIRE_BZIP2)
|
||||||
find_package(BZip2 REQUIRED)
|
find_package(BZip2 REQUIRED)
|
||||||
else ()
|
else ()
|
||||||
find_package(BZip2)
|
find_package(BZip2)
|
||||||
endif ()
|
endif ()
|
||||||
|
pkg_check_modules(PC_BZIP2 bzip2)
|
||||||
endif ()
|
endif ()
|
||||||
|
|
||||||
if (NOT FT_DISABLE_BROTLI)
|
if (NOT FT_DISABLE_BROTLI)
|
||||||
|
@ -400,6 +405,7 @@ set(BASE_SRCS
|
||||||
src/sdf/sdf.c
|
src/sdf/sdf.c
|
||||||
src/sfnt/sfnt.c
|
src/sfnt/sfnt.c
|
||||||
src/smooth/smooth.c
|
src/smooth/smooth.c
|
||||||
|
src/svg/svg.c
|
||||||
src/truetype/truetype.c
|
src/truetype/truetype.c
|
||||||
src/type1/type1.c
|
src/type1/type1.c
|
||||||
src/type42/type42.c
|
src/type42/type42.c
|
||||||
|
@ -485,42 +491,48 @@ if (BUILD_FRAMEWORK)
|
||||||
)
|
)
|
||||||
set_target_properties(freetype PROPERTIES
|
set_target_properties(freetype PROPERTIES
|
||||||
FRAMEWORK TRUE
|
FRAMEWORK TRUE
|
||||||
MACOSX_FRAMEWORK_INFO_PLIST builds/mac/freetype-Info.plist
|
MACOSX_FRAMEWORK_INFO_PLIST ${CMAKE_CURRENT_SOURCE_DIR}/builds/mac/freetype-Info.plist
|
||||||
PUBLIC_HEADER "${PUBLIC_HEADERS}"
|
PUBLIC_HEADER "${PUBLIC_HEADERS}"
|
||||||
XCODE_ATTRIBUTE_INSTALL_PATH "@rpath"
|
XCODE_ATTRIBUTE_INSTALL_PATH "@rpath"
|
||||||
)
|
)
|
||||||
endif ()
|
endif ()
|
||||||
|
|
||||||
|
|
||||||
set(PKG_CONFIG_REQUIRED_PRIVATE "")
|
set(PKGCONFIG_REQUIRES "")
|
||||||
set(PKG_CONFIG_LIBS_PRIVATE "")
|
set(PKGCONFIG_REQUIRES_PRIVATE "")
|
||||||
|
set(PKGCONFIG_LIBS "-L\${libdir} -lfreetype")
|
||||||
|
set(PKGCONFIG_LIBS_PRIVATE "")
|
||||||
|
|
||||||
if (ZLIB_FOUND)
|
if (ZLIB_FOUND)
|
||||||
target_link_libraries(freetype PRIVATE ${ZLIB_LIBRARIES})
|
target_link_libraries(freetype PRIVATE ${ZLIB_LIBRARIES})
|
||||||
target_include_directories(freetype PRIVATE ${ZLIB_INCLUDE_DIRS})
|
target_include_directories(freetype PRIVATE ${ZLIB_INCLUDE_DIRS})
|
||||||
list(APPEND PKG_CONFIG_REQUIRED_PRIVATE "zlib")
|
list(APPEND PKGCONFIG_REQUIRES_PRIVATE "zlib")
|
||||||
endif ()
|
endif ()
|
||||||
if (BZIP2_FOUND)
|
if (BZIP2_FOUND)
|
||||||
target_link_libraries(freetype PRIVATE ${BZIP2_LIBRARIES})
|
target_link_libraries(freetype PRIVATE ${BZIP2_LIBRARIES})
|
||||||
target_include_directories(freetype PRIVATE ${BZIP2_INCLUDE_DIR}) # not BZIP2_INCLUDE_DIRS
|
target_include_directories(freetype PRIVATE ${BZIP2_INCLUDE_DIR}) # not BZIP2_INCLUDE_DIRS
|
||||||
list(APPEND PKG_CONFIG_LIBS_PRIVATE "-lbz2")
|
if (PC_BZIP2_FOUND)
|
||||||
|
list(APPEND PKGCONFIG_REQUIRES_PRIVATE "bzip2")
|
||||||
|
else ()
|
||||||
|
list(APPEND PKGCONFIG_LIBS_PRIVATE "-lbz2")
|
||||||
|
endif ()
|
||||||
endif ()
|
endif ()
|
||||||
if (PNG_FOUND)
|
if (PNG_FOUND)
|
||||||
target_link_libraries(freetype PRIVATE ${PNG_LIBRARIES})
|
target_link_libraries(freetype PRIVATE ${PNG_LIBRARIES})
|
||||||
target_compile_definitions(freetype PRIVATE ${PNG_DEFINITIONS})
|
target_compile_definitions(freetype PRIVATE ${PNG_DEFINITIONS})
|
||||||
target_include_directories(freetype PRIVATE ${PNG_INCLUDE_DIRS})
|
target_include_directories(freetype PRIVATE ${PNG_INCLUDE_DIRS})
|
||||||
list(APPEND PKG_CONFIG_REQUIRED_PRIVATE "libpng")
|
list(APPEND PKGCONFIG_REQUIRES_PRIVATE "libpng")
|
||||||
endif ()
|
endif ()
|
||||||
if (HarfBuzz_FOUND)
|
if (HarfBuzz_FOUND)
|
||||||
target_link_libraries(freetype PRIVATE ${HarfBuzz_LIBRARY})
|
target_link_libraries(freetype PRIVATE ${HarfBuzz_LIBRARY})
|
||||||
target_include_directories(freetype PRIVATE ${HarfBuzz_INCLUDE_DIRS})
|
target_include_directories(freetype PRIVATE ${HarfBuzz_INCLUDE_DIRS})
|
||||||
list(APPEND PKG_CONFIG_REQUIRED_PRIVATE "harfbuzz >= ${HARFBUZZ_MIN_VERSION}")
|
list(APPEND PKGCONFIG_REQUIRES_PRIVATE "harfbuzz >= ${HARFBUZZ_MIN_VERSION}")
|
||||||
endif ()
|
endif ()
|
||||||
if (BROTLIDEC_FOUND)
|
if (BROTLIDEC_FOUND)
|
||||||
target_link_libraries(freetype PRIVATE ${BROTLIDEC_LIBRARIES})
|
target_link_libraries(freetype PRIVATE ${BROTLIDEC_LIBRARIES})
|
||||||
target_compile_definitions(freetype PRIVATE ${BROTLIDEC_DEFINITIONS})
|
target_compile_definitions(freetype PRIVATE ${BROTLIDEC_DEFINITIONS})
|
||||||
target_include_directories(freetype PRIVATE ${BROTLIDEC_INCLUDE_DIRS})
|
target_include_directories(freetype PRIVATE ${BROTLIDEC_INCLUDE_DIRS})
|
||||||
list(APPEND PKG_CONFIG_REQUIRED_PRIVATE "libbrotlidec")
|
list(APPEND PKGCONFIG_REQUIRES_PRIVATE "libbrotlidec")
|
||||||
endif ()
|
endif ()
|
||||||
|
|
||||||
|
|
||||||
|
@ -547,7 +559,7 @@ if (NOT SKIP_INSTALL_LIBRARIES AND NOT SKIP_INSTALL_ALL)
|
||||||
# Generate the pkg-config file
|
# Generate the pkg-config file
|
||||||
file(READ "${PROJECT_SOURCE_DIR}/builds/unix/freetype2.in" FREETYPE2_PC_IN)
|
file(READ "${PROJECT_SOURCE_DIR}/builds/unix/freetype2.in" FREETYPE2_PC_IN)
|
||||||
|
|
||||||
string(REPLACE ";" ", " PKG_CONFIG_REQUIRED_PRIVATE "${PKG_CONFIG_REQUIRED_PRIVATE}")
|
string(REPLACE ";" ", " PKGCONFIG_REQUIRES_PRIVATE "${PKGCONFIG_REQUIRES_PRIVATE}")
|
||||||
|
|
||||||
string(REPLACE "%prefix%" ${CMAKE_INSTALL_PREFIX}
|
string(REPLACE "%prefix%" ${CMAKE_INSTALL_PREFIX}
|
||||||
FREETYPE2_PC_IN ${FREETYPE2_PC_IN})
|
FREETYPE2_PC_IN ${FREETYPE2_PC_IN})
|
||||||
|
@ -559,10 +571,26 @@ if (NOT SKIP_INSTALL_LIBRARIES AND NOT SKIP_INSTALL_ALL)
|
||||||
FREETYPE2_PC_IN ${FREETYPE2_PC_IN})
|
FREETYPE2_PC_IN ${FREETYPE2_PC_IN})
|
||||||
string(REPLACE "%ft_version%" "${LIBTOOL_CURRENT}.${LIBTOOL_REVISION}.${LIBTOOL_AGE}"
|
string(REPLACE "%ft_version%" "${LIBTOOL_CURRENT}.${LIBTOOL_REVISION}.${LIBTOOL_AGE}"
|
||||||
FREETYPE2_PC_IN ${FREETYPE2_PC_IN})
|
FREETYPE2_PC_IN ${FREETYPE2_PC_IN})
|
||||||
string(REPLACE "%REQUIRES_PRIVATE%" "${PKG_CONFIG_REQUIRED_PRIVATE}"
|
|
||||||
FREETYPE2_PC_IN ${FREETYPE2_PC_IN})
|
if (BUILD_SHARED_LIBS)
|
||||||
string(REPLACE "%LIBS_PRIVATE%" "${PKG_CONFIG_LIBS_PRIVATE}"
|
string(REPLACE "%PKGCONFIG_REQUIRES%" "${PKGCONFIG_REQUIRES}"
|
||||||
FREETYPE2_PC_IN ${FREETYPE2_PC_IN})
|
FREETYPE2_PC_IN ${FREETYPE2_PC_IN})
|
||||||
|
string(REPLACE "%PKGCONFIG_REQUIRES_PRIVATE%" "${PKGCONFIG_REQUIRES_PRIVATE}"
|
||||||
|
FREETYPE2_PC_IN ${FREETYPE2_PC_IN})
|
||||||
|
string(REPLACE "%PKGCONFIG_LIBS%" "${PKGCONFIG_LIBS}"
|
||||||
|
FREETYPE2_PC_IN ${FREETYPE2_PC_IN})
|
||||||
|
string(REPLACE "%PKGCONFIG_LIBS_PRIVATE%" "${PKGCONFIG_LIBS_PRIVATE}"
|
||||||
|
FREETYPE2_PC_IN ${FREETYPE2_PC_IN})
|
||||||
|
else ()
|
||||||
|
string(REPLACE "%PKGCONFIG_REQUIRES%" "${PKGCONFIG_REQUIRES} ${PKGCONFIG_REQUIRES_PRIVATE}"
|
||||||
|
FREETYPE2_PC_IN ${FREETYPE2_PC_IN})
|
||||||
|
string(REPLACE "%PKGCONFIG_REQUIRES_PRIVATE%" ""
|
||||||
|
FREETYPE2_PC_IN ${FREETYPE2_PC_IN})
|
||||||
|
string(REPLACE "%PKGCONFIG_LIBS%" "${PKGCONFIG_LIBS} ${PKGCONFIG_LIBS_PRIVATE}"
|
||||||
|
FREETYPE2_PC_IN ${FREETYPE2_PC_IN})
|
||||||
|
string(REPLACE "%PKGCONFIG_LIBS_PRIVATE%" ""
|
||||||
|
FREETYPE2_PC_IN ${FREETYPE2_PC_IN})
|
||||||
|
endif ()
|
||||||
|
|
||||||
set(FREETYPE2_PC_IN_NAME "${PROJECT_BINARY_DIR}/freetype2.pc")
|
set(FREETYPE2_PC_IN_NAME "${PROJECT_BINARY_DIR}/freetype2.pc")
|
||||||
if (EXISTS "${FREETYPE2_PC_IN_NAME}")
|
if (EXISTS "${FREETYPE2_PC_IN_NAME}")
|
||||||
|
|
2
Makefile
2
Makefile
|
@ -3,7 +3,7 @@
|
||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
# Copyright (C) 1996-2021 by
|
# Copyright (C) 1996-2022 by
|
||||||
# David Turner, Robert Wilhelm, and Werner Lemberg.
|
# David Turner, Robert Wilhelm, and Werner Lemberg.
|
||||||
#
|
#
|
||||||
# This file is part of the FreeType project, and may only be used, modified,
|
# This file is part of the FreeType project, and may only be used, modified,
|
||||||
|
|
14
README
14
README
|
@ -1,4 +1,4 @@
|
||||||
FreeType 2.11.0
|
FreeType 2.12.1
|
||||||
===============
|
===============
|
||||||
|
|
||||||
Homepage: https://www.freetype.org
|
Homepage: https://www.freetype.org
|
||||||
|
@ -16,7 +16,9 @@ Read the files `docs/INSTALL*` for installation instructions; see the
|
||||||
file `docs/LICENSE.TXT` for the available licenses.
|
file `docs/LICENSE.TXT` for the available licenses.
|
||||||
|
|
||||||
For using FreeType's git repository instead of a distribution bundle,
|
For using FreeType's git repository instead of a distribution bundle,
|
||||||
please read file `README.git`.
|
please read file `README.git`. Note that you have to actually clone
|
||||||
|
the repository; using a snapshot will not work (in other words, don't
|
||||||
|
use gitlab's 'Download' button).
|
||||||
|
|
||||||
The FreeType 2 API reference is located in directory `docs/reference`;
|
The FreeType 2 API reference is located in directory `docs/reference`;
|
||||||
use the file `index.html` as the top entry point. [Please note that
|
use the file `index.html` as the top entry point. [Please note that
|
||||||
|
@ -30,9 +32,9 @@ sites. Go to
|
||||||
|
|
||||||
and download one of the following files.
|
and download one of the following files.
|
||||||
|
|
||||||
freetype-doc-2.11.0.tar.xz
|
freetype-doc-2.12.1.tar.xz
|
||||||
freetype-doc-2.11.0.tar.gz
|
freetype-doc-2.12.1.tar.gz
|
||||||
ftdoc2110.zip
|
ftdoc2121.zip
|
||||||
|
|
||||||
To view the documentation online, go to
|
To view the documentation online, go to
|
||||||
|
|
||||||
|
@ -92,7 +94,7 @@ Enjoy!
|
||||||
|
|
||||||
----------------------------------------------------------------------
|
----------------------------------------------------------------------
|
||||||
|
|
||||||
Copyright (C) 2006-2021 by
|
Copyright (C) 2006-2022 by
|
||||||
David Turner, Robert Wilhelm, and Werner Lemberg.
|
David Turner, Robert Wilhelm, and Werner Lemberg.
|
||||||
|
|
||||||
This file is part of the FreeType project, and may only be used,
|
This file is part of the FreeType project, and may only be used,
|
||||||
|
|
|
@ -89,7 +89,7 @@ address:
|
||||||
|
|
||||||
----------------------------------------------------------------------
|
----------------------------------------------------------------------
|
||||||
|
|
||||||
Copyright (C) 2005-2021 by
|
Copyright (C) 2005-2022 by
|
||||||
David Turner, Robert Wilhelm, and Werner Lemberg.
|
David Turner, Robert Wilhelm, and Werner Lemberg.
|
||||||
|
|
||||||
This file is part of the FreeType project, and may only be used,
|
This file is part of the FreeType project, and may only be used,
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
# Copyright (C) 2005-2021 by
|
# Copyright (C) 2005-2022 by
|
||||||
# David Turner, Robert Wilhelm, and Werner Lemberg.
|
# David Turner, Robert Wilhelm, and Werner Lemberg.
|
||||||
#
|
#
|
||||||
# This file is part of the FreeType project, and may only be used, modified,
|
# This file is part of the FreeType project, and may only be used, modified,
|
||||||
|
@ -182,7 +182,7 @@ copy_submodule_files ()
|
||||||
cp $DLG_SRC_DIR/* src/dlg
|
cp $DLG_SRC_DIR/* src/dlg
|
||||||
}
|
}
|
||||||
|
|
||||||
if test -d ".git"; then
|
if test -e ".git"; then
|
||||||
DLG_INC_DIR=subprojects/dlg/include/dlg
|
DLG_INC_DIR=subprojects/dlg/include/dlg
|
||||||
DLG_SRC_DIR=subprojects/dlg/src/dlg
|
DLG_SRC_DIR=subprojects/dlg/src/dlg
|
||||||
|
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
|
|
||||||
README for the builds/amiga subdirectory.
|
README for the builds/amiga subdirectory.
|
||||||
|
|
||||||
Copyright (C) 2005-2021 by
|
Copyright (C) 2005-2022 by
|
||||||
Werner Lemberg and Detlef Würkner.
|
Werner Lemberg and Detlef Würkner.
|
||||||
|
|
||||||
This file is part of the FreeType project, and may only be used, modified,
|
This file is part of the FreeType project, and may only be used, modified,
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
/* */
|
/* */
|
||||||
/* Amiga-specific configuration file (specification only). */
|
/* Amiga-specific configuration file (specification only). */
|
||||||
/* */
|
/* */
|
||||||
/* Copyright (C) 2005-2021 by */
|
/* Copyright (C) 2005-2022 by */
|
||||||
/* Werner Lemberg and Detlef Würkner. */
|
/* Werner Lemberg and Detlef Würkner. */
|
||||||
/* */
|
/* */
|
||||||
/* This file is part of the FreeType project, and may only be used, */
|
/* This file is part of the FreeType project, and may only be used, */
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
/* */
|
/* */
|
||||||
/* Amiga-specific FreeType module selection. */
|
/* Amiga-specific FreeType module selection. */
|
||||||
/* */
|
/* */
|
||||||
/* Copyright (C) 2005-2021 by */
|
/* Copyright (C) 2005-2022 by */
|
||||||
/* Werner Lemberg and Detlef Würkner. */
|
/* Werner Lemberg and Detlef Würkner. */
|
||||||
/* */
|
/* */
|
||||||
/* This file is part of the FreeType project, and may only be used, */
|
/* This file is part of the FreeType project, and may only be used, */
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
# Copyright (C) 2005-2021 by
|
# Copyright (C) 2005-2022 by
|
||||||
# Werner Lemberg and Detlef Würkner.
|
# Werner Lemberg and Detlef Würkner.
|
||||||
#
|
#
|
||||||
# This file is part of the FreeType project, and may only be used, modified,
|
# This file is part of the FreeType project, and may only be used, modified,
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
# Copyright (C) 2005-2021 by
|
# Copyright (C) 2005-2022 by
|
||||||
# Werner Lemberg and Detlef Würkner.
|
# Werner Lemberg and Detlef Würkner.
|
||||||
#
|
#
|
||||||
# This file is part of the FreeType project, and may only be used, modified,
|
# This file is part of the FreeType project, and may only be used, modified,
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
# Copyright (C) 2005-2021 by
|
# Copyright (C) 2005-2022 by
|
||||||
# Werner Lemberg and Detlef Würkner.
|
# Werner Lemberg and Detlef Würkner.
|
||||||
#
|
#
|
||||||
# This file is part of the FreeType project, and may only be used, modified,
|
# This file is part of the FreeType project, and may only be used, modified,
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
*
|
*
|
||||||
* Debugging and logging component for amiga (body).
|
* Debugging and logging component for amiga (body).
|
||||||
*
|
*
|
||||||
* Copyright (C) 1996-2021 by
|
* Copyright (C) 1996-2022 by
|
||||||
* David Turner, Robert Wilhelm, Werner Lemberg, and Detlef Wuerkner.
|
* David Turner, Robert Wilhelm, Werner Lemberg, and Detlef Wuerkner.
|
||||||
*
|
*
|
||||||
* This file is part of the FreeType project, and may only be used,
|
* 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). */
|
/* Amiga-specific FreeType low-level system interface (body). */
|
||||||
/* */
|
/* */
|
||||||
/* Copyright (C) 1996-2021 by */
|
/* Copyright (C) 1996-2022 by */
|
||||||
/* David Turner, Robert Wilhelm, Werner Lemberg and Detlef Würkner. */
|
/* David Turner, Robert Wilhelm, Werner Lemberg and Detlef Würkner. */
|
||||||
/* */
|
/* */
|
||||||
/* This file is part of the FreeType project, and may only be used, */
|
/* This file is part of the FreeType project, and may only be used, */
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
# Copyright (C) 1996-2021 by
|
# Copyright (C) 1996-2022 by
|
||||||
# David Turner, Robert Wilhelm, and Werner Lemberg.
|
# David Turner, Robert Wilhelm, and Werner Lemberg.
|
||||||
#
|
#
|
||||||
# This file is part of the FreeType project, and may only be used, modified,
|
# This file is part of the FreeType project, and may only be used, modified,
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
# Copyright (C) 1996-2021 by
|
# Copyright (C) 1996-2022 by
|
||||||
# David Turner, Robert Wilhelm, and Werner Lemberg.
|
# David Turner, Robert Wilhelm, and Werner Lemberg.
|
||||||
#
|
#
|
||||||
# This file is part of the FreeType project, and may only be used, modified,
|
# This file is part of the FreeType project, and may only be used, modified,
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
# Copyright (C) 1996-2021 by
|
# Copyright (C) 1996-2022 by
|
||||||
# David Turner, Robert Wilhelm, and Werner Lemberg.
|
# David Turner, Robert Wilhelm, and Werner Lemberg.
|
||||||
#
|
#
|
||||||
# This file is part of the FreeType project, and may only be used, modified,
|
# 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
|
# FreeType 2 configuration rules for a BeOS system
|
||||||
#
|
#
|
||||||
|
|
||||||
# Copyright (C) 1996-2021 by
|
# Copyright (C) 1996-2022 by
|
||||||
# David Turner, Robert Wilhelm, and Werner Lemberg.
|
# David Turner, Robert Wilhelm, and Werner Lemberg.
|
||||||
#
|
#
|
||||||
# This file is part of the FreeType project, and may only be used, modified,
|
# This file is part of the FreeType project, and may only be used, modified,
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
# Copyright (C) 1996-2021 by
|
# Copyright (C) 1996-2022 by
|
||||||
# David Turner, Robert Wilhelm, and Werner Lemberg.
|
# David Turner, Robert Wilhelm, and Werner Lemberg.
|
||||||
#
|
#
|
||||||
# This file is part of the FreeType project, and may only be used, modified,
|
# This file is part of the FreeType project, and may only be used, modified,
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
# FindBrotliDec.cmake
|
# FindBrotliDec.cmake
|
||||||
#
|
#
|
||||||
# Copyright (C) 2019-2021 by
|
# Copyright (C) 2019-2022 by
|
||||||
# David Turner, Robert Wilhelm, and Werner Lemberg.
|
# David Turner, Robert Wilhelm, and Werner Lemberg.
|
||||||
#
|
#
|
||||||
# Written by Werner Lemberg <wl@gnu.org>
|
# Written by Werner Lemberg <wl@gnu.org>
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
# iOS.cmake
|
# iOS.cmake
|
||||||
#
|
#
|
||||||
# Copyright (C) 2014-2021 by
|
# Copyright (C) 2014-2022 by
|
||||||
# David Turner, Robert Wilhelm, and Werner Lemberg.
|
# David Turner, Robert Wilhelm, and Werner Lemberg.
|
||||||
#
|
#
|
||||||
# Written by David Wimsey <david@wimsey.us>
|
# Written by David Wimsey <david@wimsey.us>
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
#!/bin/sh -e
|
#!/bin/sh -e
|
||||||
|
|
||||||
# Copyright (C) 2015-2021 by
|
# Copyright (C) 2015-2022 by
|
||||||
# David Turner, Robert Wilhelm, and Werner Lemberg.
|
# David Turner, Robert Wilhelm, and Werner Lemberg.
|
||||||
#
|
#
|
||||||
# This file is part of the FreeType project, and may only be used, modified,
|
# This file is part of the FreeType project, and may only be used, modified,
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
# Copyright (C) 1996-2021 by
|
# Copyright (C) 1996-2022 by
|
||||||
# David Turner, Robert Wilhelm, and Werner Lemberg.
|
# David Turner, Robert Wilhelm, and Werner Lemberg.
|
||||||
#
|
#
|
||||||
# This file is part of the FreeType project, and may only be used, modified,
|
# This file is part of the FreeType project, and may only be used, modified,
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
# Copyright (C) 1996-2021 by
|
# Copyright (C) 1996-2022 by
|
||||||
# David Turner, Robert Wilhelm, and Werner Lemberg.
|
# David Turner, Robert Wilhelm, and Werner Lemberg.
|
||||||
#
|
#
|
||||||
# This file is part of the FreeType project, and may only be used, modified,
|
# This file is part of the FreeType project, and may only be used, modified,
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
# Copyright (C) 1996-2021 by
|
# Copyright (C) 1996-2022 by
|
||||||
# David Turner, Robert Wilhelm, and Werner Lemberg.
|
# David Turner, Robert Wilhelm, and Werner Lemberg.
|
||||||
#
|
#
|
||||||
# This file is part of the FreeType project, and may only be used, modified,
|
# This file is part of the FreeType project, and may only be used, modified,
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
# Copyright (C) 2003-2021 by
|
# Copyright (C) 2003-2022 by
|
||||||
# David Turner, Robert Wilhelm, and Werner Lemberg.
|
# David Turner, Robert Wilhelm, and Werner Lemberg.
|
||||||
#
|
#
|
||||||
# This file is part of the FreeType project, and may only be used, modified,
|
# This file is part of the FreeType project, and may only be used, modified,
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
# Copyright (C) 1996-2021 by
|
# Copyright (C) 1996-2022 by
|
||||||
# David Turner, Robert Wilhelm, and Werner Lemberg.
|
# David Turner, Robert Wilhelm, and Werner Lemberg.
|
||||||
#
|
#
|
||||||
# This file is part of the FreeType project, and may only be used, modified,
|
# This file is part of the FreeType project, and may only be used, modified,
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
# Copyright (C) 1996-2021 by
|
# Copyright (C) 1996-2022 by
|
||||||
# David Turner, Robert Wilhelm, and Werner Lemberg.
|
# David Turner, Robert Wilhelm, and Werner Lemberg.
|
||||||
#
|
#
|
||||||
# This file is part of the FreeType project, and may only be used, modified,
|
# This file is part of the FreeType project, and may only be used, modified,
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
# Copyright (C) 1996-2021 by
|
# Copyright (C) 1996-2022 by
|
||||||
# David Turner, Robert Wilhelm, and Werner Lemberg.
|
# David Turner, Robert Wilhelm, and Werner Lemberg.
|
||||||
#
|
#
|
||||||
# This file is part of the FreeType project, and may only be used, modified,
|
# This file is part of the FreeType project, and may only be used, modified,
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
# Copyright (C) 1996-2021 by
|
# Copyright (C) 1996-2022 by
|
||||||
# David Turner, Robert Wilhelm, and Werner Lemberg.
|
# David Turner, Robert Wilhelm, and Werner Lemberg.
|
||||||
#
|
#
|
||||||
# This file is part of the FreeType project, and may only be used, modified,
|
# This file is part of the FreeType project, and may only be used, modified,
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
# Copyright (C) 1996-2021 by
|
# Copyright (C) 1996-2022 by
|
||||||
# David Turner, Robert Wilhelm, and Werner Lemberg.
|
# David Turner, Robert Wilhelm, and Werner Lemberg.
|
||||||
#
|
#
|
||||||
# This file is part of the FreeType project, and may only be used, modified,
|
# This file is part of the FreeType project, and may only be used, modified,
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
# Copyright (C) 1996-2021 by
|
# Copyright (C) 1996-2022 by
|
||||||
# David Turner, Robert Wilhelm, and Werner Lemberg.
|
# David Turner, Robert Wilhelm, and Werner Lemberg.
|
||||||
#
|
#
|
||||||
# This file is part of the FreeType project, and may only be used, modified,
|
# This file is part of the FreeType project, and may only be used, modified,
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
# Copyright (C) 1996-2021 by
|
# Copyright (C) 1996-2022 by
|
||||||
# David Turner, Robert Wilhelm, and Werner Lemberg.
|
# David Turner, Robert Wilhelm, and Werner Lemberg.
|
||||||
#
|
#
|
||||||
# This file is part of the FreeType project, and may only be used, modified,
|
# This file is part of the FreeType project, and may only be used, modified,
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
# Copyright (C) 1996-2021 by
|
# Copyright (C) 1996-2022 by
|
||||||
# David Turner, Robert Wilhelm, and Werner Lemberg.
|
# David Turner, Robert Wilhelm, and Werner Lemberg.
|
||||||
#
|
#
|
||||||
# This file is part of the FreeType project, and may only be used, modified,
|
# This file is part of the FreeType project, and may only be used, modified,
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
# Copyright (C) 1996-2021 by
|
# Copyright (C) 1996-2022 by
|
||||||
# David Turner, Robert Wilhelm, and Werner Lemberg.
|
# David Turner, Robert Wilhelm, and Werner Lemberg.
|
||||||
#
|
#
|
||||||
# This file is part of the FreeType project, and may only be used, modified,
|
# This file is part of the FreeType project, and may only be used, modified,
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
# Copyright (C) 1996-2021 by
|
# Copyright (C) 1996-2022 by
|
||||||
# David Turner, Robert Wilhelm, and Werner Lemberg.
|
# David Turner, Robert Wilhelm, and Werner Lemberg.
|
||||||
#
|
#
|
||||||
# This file is part of the FreeType project, and may only be used, modified,
|
# This file is part of the FreeType project, and may only be used, modified,
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
# Copyright (C) 1996-2021 by
|
# Copyright (C) 1996-2022 by
|
||||||
# David Turner, Robert Wilhelm, and Werner Lemberg.
|
# David Turner, Robert Wilhelm, and Werner Lemberg.
|
||||||
#
|
#
|
||||||
# This file is part of the FreeType project, and may only be used, modified,
|
# This file is part of the FreeType project, and may only be used, modified,
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
# Copyright (C) 2003-2021 by
|
# Copyright (C) 2003-2022 by
|
||||||
# David Turner, Robert Wilhelm, and Werner Lemberg.
|
# David Turner, Robert Wilhelm, and Werner Lemberg.
|
||||||
#
|
#
|
||||||
# This file is part of the FreeType project, and may only be used, modified,
|
# This file is part of the FreeType project, and may only be used, modified,
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
# Copyright (C) 1996-2021 by
|
# Copyright (C) 1996-2022 by
|
||||||
# David Turner, Robert Wilhelm, and Werner Lemberg.
|
# David Turner, Robert Wilhelm, and Werner Lemberg.
|
||||||
#
|
#
|
||||||
# This file is part of the FreeType project, and may only be used, modified,
|
# This file is part of the FreeType project, and may only be used, modified,
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
# Copyright (C) 2003-2021 by
|
# Copyright (C) 2003-2022 by
|
||||||
# David Turner, Robert Wilhelm, and Werner Lemberg.
|
# David Turner, Robert Wilhelm, and Werner Lemberg.
|
||||||
#
|
#
|
||||||
# This file is part of the FreeType project, and may only be used, modified,
|
# This file is part of the FreeType project, and may only be used, modified,
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
# Copyright (C) 2005-2021 by
|
# Copyright (C) 2005-2022 by
|
||||||
# David Turner, Robert Wilhelm, and Werner Lemberg.
|
# David Turner, Robert Wilhelm, and Werner Lemberg.
|
||||||
#
|
#
|
||||||
# This file is part of the FreeType project, and may only be used, modified,
|
# This file is part of the FreeType project, and may only be used, modified,
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
# Copyright (C) 1996-2021 by
|
# Copyright (C) 1996-2022 by
|
||||||
# David Turner, Robert Wilhelm, and Werner Lemberg.
|
# David Turner, Robert Wilhelm, and Werner Lemberg.
|
||||||
#
|
#
|
||||||
# This file is part of the FreeType project, and may only be used, modified,
|
# This file is part of the FreeType project, and may only be used, modified,
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
# Copyright (C) 1996-2021 by
|
# Copyright (C) 1996-2022 by
|
||||||
# David Turner, Robert Wilhelm, and Werner Lemberg.
|
# David Turner, Robert Wilhelm, and Werner Lemberg.
|
||||||
#
|
#
|
||||||
# This file is part of the FreeType project, and may only be used, modified,
|
# This file is part of the FreeType project, and may only be used, modified,
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
# Copyright (C) 1996-2021 by
|
# Copyright (C) 1996-2022 by
|
||||||
# David Turner, Robert Wilhelm, and Werner Lemberg.
|
# David Turner, Robert Wilhelm, and Werner Lemberg.
|
||||||
#
|
#
|
||||||
# This file is part of the FreeType project, and may only be used, modified,
|
# This file is part of the FreeType project, and may only be used, modified,
|
||||||
|
|
|
@ -9,7 +9,7 @@
|
||||||
<string>English</string>
|
<string>English</string>
|
||||||
|
|
||||||
<key>CFBundleExecutable</key>
|
<key>CFBundleExecutable</key>
|
||||||
<string>FreeType</string>
|
<string>freetype</string>
|
||||||
|
|
||||||
<key>CFBundleGetInfoString</key>
|
<key>CFBundleGetInfoString</key>
|
||||||
<string>FreeType ${PROJECT_VERSION}</string>
|
<string>FreeType ${PROJECT_VERSION}</string>
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
/* Mac FOND support. Written by just@letterror.com. */
|
/* Mac FOND support. Written by just@letterror.com. */
|
||||||
/* Heavily Fixed by mpsuzuki, George Williams and Sean McBride */
|
/* Heavily Fixed by mpsuzuki, George Williams and Sean McBride */
|
||||||
/* */
|
/* */
|
||||||
/* Copyright (C) 1996-2021 by */
|
/* Copyright (C) 1996-2022 by */
|
||||||
/* Just van Rossum, David Turner, Robert Wilhelm, and Werner Lemberg. */
|
/* Just van Rossum, David Turner, Robert Wilhelm, and Werner Lemberg. */
|
||||||
/* */
|
/* */
|
||||||
/* This file is part of the FreeType project, and may only be used, */
|
/* This file is part of the FreeType project, and may only be used, */
|
||||||
|
@ -97,7 +97,7 @@
|
||||||
|
|
||||||
#define FT_DEPRECATED_ATTRIBUTE
|
#define FT_DEPRECATED_ATTRIBUTE
|
||||||
|
|
||||||
#include FT_MAC_H
|
#include <freetype/ftmac.h>
|
||||||
|
|
||||||
/* undefine blocking-macros in ftmac.h */
|
/* undefine blocking-macros in ftmac.h */
|
||||||
#undef FT_GetFile_From_Mac_Name
|
#undef FT_GetFile_From_Mac_Name
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
#!/usr/bin/env python
|
#!/usr/bin/env python3
|
||||||
#
|
#
|
||||||
# Copyright (C) 2020-2021 by
|
# Copyright (C) 2020-2022 by
|
||||||
# David Turner, Robert Wilhelm, and Werner Lemberg.
|
# David Turner, Robert Wilhelm, and Werner Lemberg.
|
||||||
#
|
#
|
||||||
# This file is part of the FreeType project, and may only be used, modified,
|
# This file is part of the FreeType project, and may only be used, modified,
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
#!/usr/bin/env python
|
#!/usr/bin/env python3
|
||||||
#
|
#
|
||||||
# Copyright (C) 2020-2021 by
|
# Copyright (C) 2020-2022 by
|
||||||
# David Turner, Robert Wilhelm, and Werner Lemberg.
|
# David Turner, Robert Wilhelm, and Werner Lemberg.
|
||||||
#
|
#
|
||||||
# This file is part of the FreeType project, and may only be used, modified,
|
# This file is part of the FreeType project, and may only be used, modified,
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
#!/usr/bin/env python
|
#!/usr/bin/env python3
|
||||||
#
|
#
|
||||||
# Copyright (C) 2020-2021 by
|
# Copyright (C) 2020-2022 by
|
||||||
# David Turner, Robert Wilhelm, and Werner Lemberg.
|
# David Turner, Robert Wilhelm, and Werner Lemberg.
|
||||||
#
|
#
|
||||||
# This file is part of the FreeType project, and may only be used, modified,
|
# This file is part of the FreeType project, and may only be used, modified,
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
#!/usr/bin/env python
|
#!/usr/bin/env python3
|
||||||
#
|
#
|
||||||
# Copyright (C) 2020-2021 by
|
# Copyright (C) 2020-2022 by
|
||||||
# David Turner, Robert Wilhelm, and Werner Lemberg.
|
# David Turner, Robert Wilhelm, and Werner Lemberg.
|
||||||
#
|
#
|
||||||
# This file is part of the FreeType project, and may only be used, modified,
|
# This file is part of the FreeType project, and may only be used, modified,
|
||||||
|
@ -87,6 +87,7 @@ def generate_ftmodule(lists):
|
||||||
name = {
|
name = {
|
||||||
"raster": "ft_raster1",
|
"raster": "ft_raster1",
|
||||||
"smooth": "ft_smooth",
|
"smooth": "ft_smooth",
|
||||||
|
"svg": "ft_svg",
|
||||||
}.get(module)
|
}.get(module)
|
||||||
result += (
|
result += (
|
||||||
"FT_USE_MODULE( FT_Renderer_Class, %s_renderer_class )\n" % name
|
"FT_USE_MODULE( FT_Renderer_Class, %s_renderer_class )\n" % name
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
#!/usr/bin/env python
|
#!/usr/bin/env python3
|
||||||
#
|
#
|
||||||
# Copyright (C) 2020-2021 by
|
# Copyright (C) 2020-2022 by
|
||||||
# David Turner, Robert Wilhelm, and Werner Lemberg.
|
# David Turner, Robert Wilhelm, and Werner Lemberg.
|
||||||
#
|
#
|
||||||
# This file is part of the FreeType project, and may only be used, modified,
|
# This file is part of the FreeType project, and may only be used, modified,
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
# Copyright (C) 1996-2021 by
|
# Copyright (C) 1996-2022 by
|
||||||
# David Turner, Robert Wilhelm, and Werner Lemberg.
|
# David Turner, Robert Wilhelm, and Werner Lemberg.
|
||||||
#
|
#
|
||||||
# This file is part of the FreeType project, and may only be used, modified,
|
# This file is part of the FreeType project, and may only be used, modified,
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
# Copyright (C) 1996-2021 by
|
# Copyright (C) 1996-2022 by
|
||||||
# David Turner, Robert Wilhelm, and Werner Lemberg.
|
# David Turner, Robert Wilhelm, and Werner Lemberg.
|
||||||
#
|
#
|
||||||
# This file is part of the FreeType project, and may only be used, modified,
|
# This file is part of the FreeType project, and may only be used, modified,
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
# Copyright (C) 1996-2021 by
|
# Copyright (C) 1996-2022 by
|
||||||
# David Turner, Robert Wilhelm, and Werner Lemberg.
|
# David Turner, Robert Wilhelm, and Werner Lemberg.
|
||||||
#
|
#
|
||||||
# This file is part of the FreeType project, and may only be used, modified,
|
# This file is part of the FreeType project, and may only be used, modified,
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
# Copyright (C) 1996-2021 by
|
# Copyright (C) 1996-2022 by
|
||||||
# David Turner, Robert Wilhelm, and Werner Lemberg.
|
# David Turner, Robert Wilhelm, and Werner Lemberg.
|
||||||
#
|
#
|
||||||
# This file is part of the FreeType project, and may only be used, modified,
|
# This file is part of the FreeType project, and may only be used, modified,
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
# Copyright (C) 1996-2021 by
|
# Copyright (C) 1996-2022 by
|
||||||
# David Turner, Robert Wilhelm, and Werner Lemberg.
|
# David Turner, Robert Wilhelm, and Werner Lemberg.
|
||||||
#
|
#
|
||||||
# This file is part of the FreeType project, and may only be used, modified,
|
# 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
|
// FreeType 2 project for the symbian platform
|
||||||
//
|
//
|
||||||
|
|
||||||
// Copyright (C) 2008-2021 by
|
// Copyright (C) 2008-2022 by
|
||||||
// David Turner, Robert Wilhelm, and Werner Lemberg.
|
// David Turner, Robert Wilhelm, and Werner Lemberg.
|
||||||
//
|
//
|
||||||
// This file is part of the FreeType project, and may only be used, modified,
|
// This file is part of the FreeType project, and may only be used, modified,
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
// FreeType 2 makefile for the symbian platform
|
// FreeType 2 makefile for the symbian platform
|
||||||
//
|
//
|
||||||
|
|
||||||
// Copyright (C) 2008-2021 by
|
// Copyright (C) 2008-2022 by
|
||||||
// David Turner, Robert Wilhelm, and Werner Lemberg.
|
// David Turner, Robert Wilhelm, and Werner Lemberg.
|
||||||
//
|
//
|
||||||
// This file is part of the FreeType project, and may only be used, modified,
|
// This file is part of the FreeType project, and may only be used, modified,
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
# Copyright (C) 1996-2021 by
|
# Copyright (C) 1996-2022 by
|
||||||
# David Turner, Robert Wilhelm, and Werner Lemberg.
|
# David Turner, Robert Wilhelm, and Werner Lemberg.
|
||||||
#
|
#
|
||||||
# This file is part of the FreeType project, and may only be used, modified,
|
# This file is part of the FreeType project, and may only be used, modified,
|
||||||
|
@ -226,6 +226,7 @@ patch := $(firstword $(patch))
|
||||||
# else
|
# else
|
||||||
version := $(major).$(minor).$(patch)
|
version := $(major).$(minor).$(patch)
|
||||||
winversion := $(major)$(minor)$(patch)
|
winversion := $(major)$(minor)$(patch)
|
||||||
|
version_tag := VER-$(major)-$(minor)-$(patch)
|
||||||
# endif
|
# endif
|
||||||
|
|
||||||
|
|
||||||
|
@ -282,6 +283,10 @@ dist:
|
||||||
CONFIG_GUESS = ~/git/config/config.guess
|
CONFIG_GUESS = ~/git/config/config.guess
|
||||||
CONFIG_SUB = ~/git/config/config.sub
|
CONFIG_SUB = ~/git/config/config.sub
|
||||||
|
|
||||||
|
# We also use this repository to access the gnulib script that converts git
|
||||||
|
# commit messages to a ChangeLog file.
|
||||||
|
CHANGELOG_SCRIPT = ~/git/config/gitlog-to-changelog
|
||||||
|
|
||||||
|
|
||||||
# Don't say `make do-dist'. Always use `make dist' instead.
|
# Don't say `make do-dist'. Always use `make dist' instead.
|
||||||
#
|
#
|
||||||
|
@ -299,11 +304,19 @@ do-dist: distclean refdoc
|
||||||
cp $(CONFIG_GUESS) builds/unix
|
cp $(CONFIG_GUESS) builds/unix
|
||||||
cp $(CONFIG_SUB) builds/unix
|
cp $(CONFIG_SUB) builds/unix
|
||||||
|
|
||||||
|
@# Generate `ChangeLog' file with commits since release 2.11.0
|
||||||
|
@# (when we stopped creating this file manually).
|
||||||
|
$(CHANGELOG_SCRIPT) \
|
||||||
|
--format='%B%n' \
|
||||||
|
--no-cluster \
|
||||||
|
-- VER-2-11-0..$(version_tag) \
|
||||||
|
> ChangeLog
|
||||||
|
|
||||||
@# Remove intermediate files created by the `refdoc' target.
|
@# Remove intermediate files created by the `refdoc' target.
|
||||||
rm -rf docs/markdown
|
rm -rf docs/markdown
|
||||||
rm -f docs/mkdocs.yml
|
rm -f docs/mkdocs.yml
|
||||||
|
|
||||||
@# Remove more stuff related to git.
|
@# Remove more stuff related to git.
|
||||||
rm -rf subprojects
|
rm -rf subprojects/dlg
|
||||||
|
|
||||||
# EOF
|
# EOF
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
#
|
#
|
||||||
# Process this file with autoconf to produce a configure script.
|
# Process this file with autoconf to produce a configure script.
|
||||||
#
|
#
|
||||||
# Copyright (C) 2001-2021 by
|
# Copyright (C) 2001-2022 by
|
||||||
# David Turner, Robert Wilhelm, and Werner Lemberg.
|
# David Turner, Robert Wilhelm, and Werner Lemberg.
|
||||||
#
|
#
|
||||||
# This file is part of the FreeType project, and may only be used, modified,
|
# This file is part of the FreeType project, and may only be used, modified,
|
||||||
|
@ -17,7 +17,7 @@ AC_CONFIG_SRCDIR([ftconfig.h.in])
|
||||||
|
|
||||||
# Don't forget to update `docs/VERSIONS.TXT'!
|
# Don't forget to update `docs/VERSIONS.TXT'!
|
||||||
|
|
||||||
version_info='24:0:18'
|
version_info='24:3:18'
|
||||||
AC_SUBST([version_info])
|
AC_SUBST([version_info])
|
||||||
ft_version=`echo $version_info | tr : .`
|
ft_version=`echo $version_info | tr : .`
|
||||||
AC_SUBST([ft_version])
|
AC_SUBST([ft_version])
|
||||||
|
@ -317,6 +317,12 @@ if test x"$with_zlib" = xyes -a "$have_zlib" = no; then
|
||||||
AC_MSG_ERROR([external zlib support requested but library not found])
|
AC_MSG_ERROR([external zlib support requested but library not found])
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
SYSTEM_ZLIB=
|
||||||
|
if test "$have_zlib" != no; then
|
||||||
|
SYSTEM_ZLIB=yes
|
||||||
|
fi
|
||||||
|
AC_SUBST([SYSTEM_ZLIB])
|
||||||
|
|
||||||
|
|
||||||
# check for system libbz2
|
# check for system libbz2
|
||||||
|
|
||||||
|
@ -508,19 +514,48 @@ if test x"$with_brotli" = xyes -a "$have_brotli" = no; then
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
||||||
# check for librt
|
# Checks for the demo programs.
|
||||||
#
|
#
|
||||||
# We need `clock_gettime' for the `ftbench' demo program.
|
# FreeType doesn't need this. However, since the demo program repository
|
||||||
#
|
# doesn't come with a `configure` script of its own, we integrate the tests
|
||||||
# The code is modeled after gnulib's file `clock_time.m4', ignoring
|
# here for simplicity.
|
||||||
# very old Solaris systems.
|
|
||||||
|
|
||||||
|
# We need `clock_gettime` from 'librt' for the `ftbench` demo program.
|
||||||
|
#
|
||||||
|
# The code is modeled after gnulib's file `clock_time.m4`, ignoring
|
||||||
|
# very old Solaris systems.
|
||||||
LIB_CLOCK_GETTIME=
|
LIB_CLOCK_GETTIME=
|
||||||
AC_SEARCH_LIBS([clock_gettime],
|
AC_SEARCH_LIBS([clock_gettime],
|
||||||
[rt],
|
[rt],
|
||||||
[test "$ac_cv_search_clock_gettime" = "none required" \
|
[test "$ac_cv_search_clock_gettime" = "none required" \
|
||||||
|| LIB_CLOCK_GETTIME=$ac_cv_search_clock_gettime])
|
|| LIB_CLOCK_GETTIME=$ac_cv_search_clock_gettime])
|
||||||
AC_SUBST([LIB_CLOCK_GETTIME])
|
|
||||||
|
FT_DEMO_CFLAGS=""
|
||||||
|
FT_DEMO_LDFLAGS="$LIB_CLOCK_GETTIME"
|
||||||
|
|
||||||
|
# 'librsvg' is needed to demonstrate SVG support.
|
||||||
|
AC_ARG_WITH([librsvg],
|
||||||
|
[AS_HELP_STRING([--with-librsvg=@<:@yes|no|auto@:>@],
|
||||||
|
[support OpenType SVG fonts in FreeType demo programs @<:@default=auto@:>@])],
|
||||||
|
[], [with_librsvg=auto])
|
||||||
|
|
||||||
|
have_librsvg=no
|
||||||
|
if test x"$with_librsvg" = xyes -o x"$with_librsvg" = xauto; then
|
||||||
|
PKG_CHECK_MODULES([LIBRSVG], [librsvg-2.0 >= 2.46.0],
|
||||||
|
[have_librsvg="yes (pkg-config)"], [:])
|
||||||
|
|
||||||
|
if test "$have_librsvg" != no; then
|
||||||
|
FT_DEMO_CFLAGS="$FT_DEMO_CFLAGS $LIBRSVG_CFLAGS -DHAVE_LIBRSVG"
|
||||||
|
FT_DEMO_LDFLAGS="$FT_DEMO_LDFLAGS $LIBRSVG_LIBS"
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
|
||||||
|
if test x"$with_librsvg" = xyes -a "$have_librsvg" = no; then
|
||||||
|
AC_MSG_ERROR([librsvg support requested but library not found])
|
||||||
|
fi
|
||||||
|
|
||||||
|
AC_SUBST([FT_DEMO_CFLAGS])
|
||||||
|
AC_SUBST([FT_DEMO_LDFLAGS])
|
||||||
|
|
||||||
|
|
||||||
# Some options handling SDKs/archs in CFLAGS should be copied
|
# Some options handling SDKs/archs in CFLAGS should be copied
|
||||||
|
@ -962,32 +997,32 @@ fi
|
||||||
|
|
||||||
|
|
||||||
# entries in Requires.private are separated by commas
|
# entries in Requires.private are separated by commas
|
||||||
REQUIRES_PRIVATE="$zlib_reqpriv, \
|
PKGCONFIG_REQUIRES_PRIVATE="$zlib_reqpriv, \
|
||||||
$bzip2_reqpriv, \
|
$bzip2_reqpriv, \
|
||||||
$libpng_reqpriv, \
|
$libpng_reqpriv, \
|
||||||
$harfbuzz_reqpriv, \
|
$harfbuzz_reqpriv, \
|
||||||
$brotli_reqpriv"
|
$brotli_reqpriv"
|
||||||
# beautify
|
# beautify
|
||||||
REQUIRES_PRIVATE=`echo "$REQUIRES_PRIVATE" \
|
PKGCONFIG_REQUIRES_PRIVATE=`echo "$PKGCONFIG_REQUIRES_PRIVATE" \
|
||||||
| sed -e 's/^ *//' \
|
| sed -e 's/^ *//' \
|
||||||
-e 's/ *$//' \
|
-e 's/ *$//' \
|
||||||
-e 's/, */,/g' \
|
-e 's/, */,/g' \
|
||||||
-e 's/,,*/,/g' \
|
-e 's/,,*/,/g' \
|
||||||
-e 's/^,*//' \
|
-e 's/^,*//' \
|
||||||
-e 's/,*$//' \
|
-e 's/,*$//' \
|
||||||
-e 's/,/, /g'`
|
-e 's/,/, /g'`
|
||||||
|
|
||||||
LIBS_PRIVATE="$zlib_libspriv \
|
PKGCONFIG_LIBS_PRIVATE="$zlib_libspriv \
|
||||||
$bzip2_libspriv \
|
$bzip2_libspriv \
|
||||||
$libpng_libspriv \
|
$libpng_libspriv \
|
||||||
$harfbuzz_libspriv \
|
$harfbuzz_libspriv \
|
||||||
$brotli_libspriv \
|
$brotli_libspriv \
|
||||||
$ft2_extra_libs"
|
$ft2_extra_libs"
|
||||||
# beautify
|
# beautify
|
||||||
LIBS_PRIVATE=`echo "$LIBS_PRIVATE" \
|
PKGCONFIG_LIBS_PRIVATE=`echo "$PKGCONFIG_LIBS_PRIVATE" \
|
||||||
| sed -e 's/^ *//' \
|
| sed -e 's/^ *//' \
|
||||||
-e 's/ *$//' \
|
-e 's/ *$//' \
|
||||||
-e 's/ */ /g'`
|
-e 's/ */ /g'`
|
||||||
|
|
||||||
LIBSSTATIC_CONFIG="-lfreetype \
|
LIBSSTATIC_CONFIG="-lfreetype \
|
||||||
$zlib_libsstaticconf \
|
$zlib_libsstaticconf \
|
||||||
|
@ -1005,10 +1040,28 @@ LIBSSTATIC_CONFIG=`echo "$LIBSSTATIC_CONFIG" \
|
||||||
-e 's/ *$//' \
|
-e 's/ *$//' \
|
||||||
-e 's/ */ /g'`
|
-e 's/ */ /g'`
|
||||||
|
|
||||||
|
# If FreeType gets installed with `--disable-shared', don't use
|
||||||
|
# 'private' fields. `pkg-config' only looks into `.pc' files and is
|
||||||
|
# completely agnostic to whether shared libraries are actually present
|
||||||
|
# or not. As a consequence, the user had to specify `--static' while
|
||||||
|
# calling `pkg-config', which configure scripts are normally not
|
||||||
|
# prepared for.
|
||||||
|
|
||||||
|
PKGCONFIG_REQUIRES=
|
||||||
|
PKGCONFIG_LIBS='-L${libdir} -lfreetype'
|
||||||
|
|
||||||
|
if test $enable_shared = "no"; then
|
||||||
|
PKGCONFIG_REQUIRES="$PKGCONFIG_REQUIRES $PKGCONFIG_REQUIRES_PRIVATE"
|
||||||
|
PKGCONFIG_REQUIRES_PRIVATE=
|
||||||
|
PKGCONFIG_LIBS="$PKGCONFIG_LIBS $PKGCONFIG_LIBS_PRIVATE"
|
||||||
|
PKGCONFIG_LIBS_PRIVATE=
|
||||||
|
fi
|
||||||
|
|
||||||
AC_SUBST([ftmac_c])
|
AC_SUBST([ftmac_c])
|
||||||
AC_SUBST([REQUIRES_PRIVATE])
|
AC_SUBST([PKGCONFIG_REQUIRES])
|
||||||
AC_SUBST([LIBS_PRIVATE])
|
AC_SUBST([PKGCONFIG_LIBS])
|
||||||
|
AC_SUBST([PKGCONFIG_REQUIRES_PRIVATE])
|
||||||
|
AC_SUBST([PKGCONFIG_LIBS_PRIVATE])
|
||||||
AC_SUBST([LIBSSTATIC_CONFIG])
|
AC_SUBST([LIBSSTATIC_CONFIG])
|
||||||
|
|
||||||
AC_SUBST([hardcode_libdir_flag_spec])
|
AC_SUBST([hardcode_libdir_flag_spec])
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
# Copyright (C) 1996-2021 by
|
# Copyright (C) 1996-2022 by
|
||||||
# David Turner, Robert Wilhelm, and Werner Lemberg.
|
# David Turner, Robert Wilhelm, and Werner Lemberg.
|
||||||
#
|
#
|
||||||
# This file is part of the FreeType project, and may only be used, modified,
|
# This file is part of the FreeType project, and may only be used, modified,
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
#! /bin/sh
|
#! /bin/sh
|
||||||
#
|
#
|
||||||
# Copyright (C) 2000-2021 by
|
# Copyright (C) 2000-2022 by
|
||||||
# David Turner, Robert Wilhelm, and Werner Lemberg.
|
# David Turner, Robert Wilhelm, and Werner Lemberg.
|
||||||
#
|
#
|
||||||
# This file is part of the FreeType project, and may only be used, modified,
|
# This file is part of the FreeType project, and may only be used, modified,
|
||||||
|
|
|
@ -7,8 +7,8 @@ Name: FreeType 2
|
||||||
URL: https://freetype.org
|
URL: https://freetype.org
|
||||||
Description: A free, high-quality, and portable font engine.
|
Description: A free, high-quality, and portable font engine.
|
||||||
Version: %ft_version%
|
Version: %ft_version%
|
||||||
Requires:
|
Requires: %PKGCONFIG_REQUIRES%
|
||||||
Requires.private: %REQUIRES_PRIVATE%
|
Requires.private: %PKGCONFIG_REQUIRES_PRIVATE%
|
||||||
Libs: -L${libdir} -lfreetype
|
Libs: %PKGCONFIG_LIBS%
|
||||||
Libs.private: %LIBS_PRIVATE%
|
Libs.private: %PKGCONFIG_LIBS_PRIVATE%
|
||||||
Cflags: -I${includedir}/freetype2
|
Cflags: -I${includedir}/freetype2
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
# Configure paths for FreeType2
|
# Configure paths for FreeType2
|
||||||
# Marcelo Magallon 2001-10-26, based on `gtk.m4` by Owen Taylor
|
# Marcelo Magallon 2001-10-26, based on `gtk.m4` by Owen Taylor
|
||||||
#
|
#
|
||||||
# Copyright (C) 2001-2021 by
|
# Copyright (C) 2001-2022 by
|
||||||
# David Turner, Robert Wilhelm, and Werner Lemberg.
|
# David Turner, Robert Wilhelm, and Werner Lemberg.
|
||||||
#
|
#
|
||||||
# This file is part of the FreeType project, and may only be used, modified,
|
# This file is part of the FreeType project, and may only be used, modified,
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
## FreeType specific autoconf tests
|
## FreeType specific autoconf tests
|
||||||
#
|
#
|
||||||
# Copyright (C) 2002-2021 by
|
# Copyright (C) 2002-2022 by
|
||||||
# David Turner, Robert Wilhelm, and Werner Lemberg.
|
# David Turner, Robert Wilhelm, and Werner Lemberg.
|
||||||
#
|
#
|
||||||
# This file is part of the FreeType project, and may only be used, modified,
|
# This file is part of the FreeType project, and may only be used, modified,
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
*
|
*
|
||||||
* UNIX-specific configuration file (specification only).
|
* UNIX-specific configuration file (specification only).
|
||||||
*
|
*
|
||||||
* Copyright (C) 1996-2021 by
|
* Copyright (C) 1996-2022 by
|
||||||
* David Turner, Robert Wilhelm, and Werner Lemberg.
|
* David Turner, Robert Wilhelm, and Werner Lemberg.
|
||||||
*
|
*
|
||||||
* This file is part of the FreeType project, and may only be used,
|
* This file is part of the FreeType project, and may only be used,
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
*
|
*
|
||||||
* Unix-specific FreeType low-level system interface (body).
|
* Unix-specific FreeType low-level system interface (body).
|
||||||
*
|
*
|
||||||
* Copyright (C) 1996-2021 by
|
* Copyright (C) 1996-2022 by
|
||||||
* David Turner, Robert Wilhelm, and Werner Lemberg.
|
* David Turner, Robert Wilhelm, and Werner Lemberg.
|
||||||
*
|
*
|
||||||
* This file is part of the FreeType project, and may only be used,
|
* This file is part of the FreeType project, and may only be used,
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
# Copyright (C) 1996-2021 by
|
# Copyright (C) 1996-2022 by
|
||||||
# David Turner, Robert Wilhelm, and Werner Lemberg.
|
# David Turner, Robert Wilhelm, and Werner Lemberg.
|
||||||
#
|
#
|
||||||
# This file is part of the FreeType project, and may only be used, modified,
|
# This file is part of the FreeType project, and may only be used, modified,
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
# FreeType 2 template for Unix-specific compiler definitions
|
# FreeType 2 template for Unix-specific compiler definitions
|
||||||
#
|
#
|
||||||
|
|
||||||
# Copyright (C) 1996-2021 by
|
# Copyright (C) 1996-2022 by
|
||||||
# David Turner, Robert Wilhelm, and Werner Lemberg.
|
# David Turner, Robert Wilhelm, and Werner Lemberg.
|
||||||
#
|
#
|
||||||
# This file is part of the FreeType project, and may only be used, modified,
|
# This file is part of the FreeType project, and may only be used, modified,
|
||||||
|
@ -106,9 +106,7 @@ endif
|
||||||
|
|
||||||
# Linker flags.
|
# Linker flags.
|
||||||
#
|
#
|
||||||
LDFLAGS := @LDFLAGS@
|
LDFLAGS := @LDFLAGS@
|
||||||
LIB_CLOCK_GETTIME := @LIB_CLOCK_GETTIME@ # for ftbench
|
|
||||||
|
|
||||||
|
|
||||||
# export symbols
|
# export symbols
|
||||||
#
|
#
|
||||||
|
@ -118,11 +116,15 @@ EXPORTS_LIST := $(OBJ_DIR)/ftexport.sym
|
||||||
CCexe := $(CCraw_build) # used to compile `apinames' only
|
CCexe := $(CCraw_build) # used to compile `apinames' only
|
||||||
|
|
||||||
|
|
||||||
# Library linking
|
# Library linking.
|
||||||
#
|
#
|
||||||
LINK_LIBRARY = $(LIBTOOL) --mode=link $(CCraw) -o $@ $(OBJECTS_LIST) \
|
LINK_LIBRARY = $(LIBTOOL) --mode=link $(CCraw) -o $@ $(OBJECTS_LIST) \
|
||||||
-rpath $(libdir) -version-info $(version_info) \
|
-rpath $(libdir) -version-info $(version_info) \
|
||||||
$(LDFLAGS) -no-undefined \
|
$(LDFLAGS) -no-undefined \
|
||||||
-export-symbols $(EXPORTS_LIST)
|
-export-symbols $(EXPORTS_LIST)
|
||||||
|
|
||||||
|
# For the demo programs.
|
||||||
|
FT_DEMO_CFLAGS := @FT_DEMO_CFLAGS@
|
||||||
|
FT_DEMO_LDFLAGS := @FT_DEMO_LDFLAGS@
|
||||||
|
|
||||||
# EOF
|
# EOF
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
# Copyright (C) 1996-2021 by
|
# Copyright (C) 1996-2022 by
|
||||||
# David Turner, Robert Wilhelm, and Werner Lemberg.
|
# David Turner, Robert Wilhelm, and Werner Lemberg.
|
||||||
#
|
#
|
||||||
# This file is part of the FreeType project, and may only be used, modified,
|
# This file is part of the FreeType project, and may only be used, modified,
|
||||||
|
@ -68,12 +68,14 @@ version_info := @version_info@
|
||||||
|
|
||||||
# Variables needed for `freetype-config' and `freetype.pc'.
|
# Variables needed for `freetype-config' and `freetype.pc'.
|
||||||
#
|
#
|
||||||
PKG_CONFIG := @PKG_CONFIG@
|
PKG_CONFIG := @PKG_CONFIG@
|
||||||
REQUIRES_PRIVATE := @REQUIRES_PRIVATE@
|
PKGCONFIG_REQUIRES := @PKGCONFIG_REQUIRES@
|
||||||
LIBS_PRIVATE := @LIBS_PRIVATE@
|
PKGCONFIG_REQUIRES_PRIVATE := @PKGCONFIG_REQUIRES_PRIVATE@
|
||||||
LIBSSTATIC_CONFIG := @LIBSSTATIC_CONFIG@
|
PKGCONFIG_LIBS := @PKGCONFIG_LIBS@
|
||||||
build_libtool_libs := @build_libtool_libs@
|
PKGCONFIG_LIBS_PRIVATE := @PKGCONFIG_LIBS_PRIVATE@
|
||||||
ft_version := @ft_version@
|
LIBSSTATIC_CONFIG := @LIBSSTATIC_CONFIG@
|
||||||
|
build_libtool_libs := @build_libtool_libs@
|
||||||
|
ft_version := @ft_version@
|
||||||
|
|
||||||
# The directory where all library files are placed.
|
# The directory where all library files are placed.
|
||||||
#
|
#
|
||||||
|
@ -137,15 +139,17 @@ prefix_x := $(subst $(space),\\$(space),$(prefix))
|
||||||
|
|
||||||
$(OBJ_BUILD)/freetype2.pc: $(TOP_DIR)/builds/unix/freetype2.in
|
$(OBJ_BUILD)/freetype2.pc: $(TOP_DIR)/builds/unix/freetype2.in
|
||||||
rm -f $@ $@.tmp
|
rm -f $@ $@.tmp
|
||||||
sed -e 's|%REQUIRES_PRIVATE%|$(REQUIRES_PRIVATE)|' \
|
sed -e 's|%PKGCONFIG_REQUIRES%|$(PKGCONFIG_REQUIRES)|' \
|
||||||
-e 's|%LIBS_PRIVATE%|$(LIBS_PRIVATE)|' \
|
-e 's|%PKGCONFIG_REQUIRES_PRIVATE%|$(PKGCONFIG_REQUIRES_PRIVATE)|' \
|
||||||
-e 's|%build_libtool_libs%|$(build_libtool_libs)|' \
|
-e 's|%PKGCONFIG_LIBS%|$(PKGCONFIG_LIBS)|' \
|
||||||
-e 's|%exec_prefix%|$(exec_prefix_x)|' \
|
-e 's|%PKGCONFIG_LIBS_PRIVATE%|$(PKGCONFIG_LIBS_PRIVATE)|' \
|
||||||
-e 's|%ft_version%|$(ft_version)|' \
|
-e 's|%build_libtool_libs%|$(build_libtool_libs)|' \
|
||||||
-e 's|%includedir%|$(includedir_x)|' \
|
-e 's|%exec_prefix%|$(exec_prefix_x)|' \
|
||||||
-e 's|%libdir%|$(libdir_x)|' \
|
-e 's|%ft_version%|$(ft_version)|' \
|
||||||
-e 's|%prefix%|$(prefix_x)|' \
|
-e 's|%includedir%|$(includedir_x)|' \
|
||||||
$< \
|
-e 's|%libdir%|$(libdir_x)|' \
|
||||||
|
-e 's|%prefix%|$(prefix_x)|' \
|
||||||
|
$< \
|
||||||
> $@.tmp
|
> $@.tmp
|
||||||
chmod a-w $@.tmp
|
chmod a-w $@.tmp
|
||||||
mv $@.tmp $@
|
mv $@.tmp $@
|
||||||
|
|
|
@ -6,7 +6,7 @@
|
||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
# Copyright (C) 1996-2021 by
|
# Copyright (C) 1996-2022 by
|
||||||
# David Turner, Robert Wilhelm, and Werner Lemberg.
|
# David Turner, Robert Wilhelm, and Werner Lemberg.
|
||||||
#
|
#
|
||||||
# This file is part of the FreeType project, and may only be used, modified,
|
# This file is part of the FreeType project, and may only be used, modified,
|
||||||
|
|
|
@ -6,7 +6,7 @@
|
||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
# Copyright (C) 1996-2021 by
|
# Copyright (C) 1996-2022 by
|
||||||
# David Turner, Robert Wilhelm, and Werner Lemberg.
|
# David Turner, Robert Wilhelm, and Werner Lemberg.
|
||||||
#
|
#
|
||||||
# This file is part of the FreeType project, and may only be used, modified,
|
# This file is part of the FreeType project, and may only be used, modified,
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
# Copyright (C) 1996-2021 by
|
# Copyright (C) 1996-2022 by
|
||||||
# David Turner, Robert Wilhelm, and Werner Lemberg.
|
# David Turner, Robert Wilhelm, and Werner Lemberg.
|
||||||
#
|
#
|
||||||
# This file is part of the FreeType project, and may only be used, modified,
|
# This file is part of the FreeType project, and may only be used, modified,
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
# Copyright (C) 1996-2021 by
|
# Copyright (C) 1996-2022 by
|
||||||
# David Turner, Robert Wilhelm, and Werner Lemberg.
|
# David Turner, Robert Wilhelm, and Werner Lemberg.
|
||||||
#
|
#
|
||||||
# This file is part of the FreeType project, and may only be used, modified,
|
# This file is part of the FreeType project, and may only be used, modified,
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
*
|
*
|
||||||
* VMS-specific configuration file (specification only).
|
* VMS-specific configuration file (specification only).
|
||||||
*
|
*
|
||||||
* Copyright (C) 1996-2021 by
|
* Copyright (C) 1996-2022 by
|
||||||
* David Turner, Robert Wilhelm, and Werner Lemberg.
|
* David Turner, Robert Wilhelm, and Werner Lemberg.
|
||||||
*
|
*
|
||||||
* This file is part of the FreeType project, and may only be used,
|
* This file is part of the FreeType project, and may only be used,
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
/* */
|
/* */
|
||||||
/* VMS-specific FreeType low-level system interface (body). */
|
/* VMS-specific FreeType low-level system interface (body). */
|
||||||
/* */
|
/* */
|
||||||
/* Copyright (C) 1996-2021 by */
|
/* Copyright (C) 1996-2022 by */
|
||||||
/* David Turner, Robert Wilhelm, and Werner Lemberg. */
|
/* David Turner, Robert Wilhelm, and Werner Lemberg. */
|
||||||
/* */
|
/* */
|
||||||
/* This file is part of the FreeType project, and may only be used, */
|
/* This file is part of the FreeType project, and may only be used, */
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
*
|
*
|
||||||
* Debugging and logging component for WinCE (body).
|
* Debugging and logging component for WinCE (body).
|
||||||
*
|
*
|
||||||
* Copyright (C) 1996-2021 by
|
* Copyright (C) 1996-2022 by
|
||||||
* David Turner, Robert Wilhelm, and Werner Lemberg.
|
* David Turner, Robert Wilhelm, and Werner Lemberg.
|
||||||
*
|
*
|
||||||
* This file is part of the FreeType project, and may only be used,
|
* This file is part of the FreeType project, and may only be used,
|
||||||
|
|
|
@ -21,7 +21,7 @@ the following targets:
|
||||||
<li>PPC/SP WM6 (Windows Mobile 6)</li>
|
<li>PPC/SP WM6 (Windows Mobile 6)</li>
|
||||||
</ul>
|
</ul>
|
||||||
|
|
||||||
It compiles the following libraries from the FreeType 2.11.0 sources:</p>
|
It compiles the following libraries from the FreeType 2.12.1 sources:</p>
|
||||||
|
|
||||||
<ul>
|
<ul>
|
||||||
<pre>
|
<pre>
|
||||||
|
|
|
@ -21,7 +21,7 @@ the following targets:
|
||||||
<li>PPC/SP WM6 (Windows Mobile 6)</li>
|
<li>PPC/SP WM6 (Windows Mobile 6)</li>
|
||||||
</ul>
|
</ul>
|
||||||
|
|
||||||
It compiles the following libraries from the FreeType 2.11.0 sources:</p>
|
It compiles the following libraries from the FreeType 2.12.1 sources:</p>
|
||||||
|
|
||||||
<ul>
|
<ul>
|
||||||
<pre>
|
<pre>
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
# Copyright (C) 1996-2021 by
|
# Copyright (C) 1996-2022 by
|
||||||
# David Turner, Robert Wilhelm, and Werner Lemberg.
|
# David Turner, Robert Wilhelm, and Werner Lemberg.
|
||||||
#
|
#
|
||||||
# This file is part of the FreeType project, and may only be used, modified,
|
# This file is part of the FreeType project, and may only be used, modified,
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
*
|
*
|
||||||
* Debugging and logging component for Win32 (body).
|
* Debugging and logging component for Win32 (body).
|
||||||
*
|
*
|
||||||
* Copyright (C) 1996-2021 by
|
* Copyright (C) 1996-2022 by
|
||||||
* David Turner, Robert Wilhelm, and Werner Lemberg.
|
* David Turner, Robert Wilhelm, and Werner Lemberg.
|
||||||
*
|
*
|
||||||
* This file is part of the FreeType project, and may only be used,
|
* This file is part of the FreeType project, and may only be used,
|
||||||
|
@ -93,28 +93,60 @@
|
||||||
|
|
||||||
#ifdef FT_DEBUG_LEVEL_ERROR
|
#ifdef FT_DEBUG_LEVEL_ERROR
|
||||||
|
|
||||||
#include <stdarg.h>
|
#define WIN32_LEAN_AND_MEAN
|
||||||
#include <stdlib.h>
|
|
||||||
#include <string.h>
|
|
||||||
|
|
||||||
#include <windows.h>
|
#include <windows.h>
|
||||||
|
|
||||||
|
|
||||||
|
#ifdef _WIN32_WCE
|
||||||
|
|
||||||
|
FT_LOACAL_DEF( void )
|
||||||
|
OutputDebugStringA( LPCSTR lpOutputString )
|
||||||
|
{
|
||||||
|
int len;
|
||||||
|
LPWSTR lpOutputStringW;
|
||||||
|
|
||||||
|
|
||||||
|
/* allocate memory space for converted string */
|
||||||
|
len = MultiByteToWideChar( CP_ACP, MB_ERR_INVALID_CHARS,
|
||||||
|
lpOutputString, -1, NULL, 0 );
|
||||||
|
|
||||||
|
lpOutputStringW = (LPWSTR)_alloca( len * sizeof ( WCHAR ) );
|
||||||
|
|
||||||
|
if ( !len || !lpOutputStringW )
|
||||||
|
return;
|
||||||
|
|
||||||
|
/* now it is safe to do the translation */
|
||||||
|
MultiByteToWideChar( CP_ACP, MB_ERR_INVALID_CHARS,
|
||||||
|
lpOutputString, -1, lpOutputStringW, len );
|
||||||
|
|
||||||
|
OutputDebugStringW( lpOutputStringW );
|
||||||
|
}
|
||||||
|
|
||||||
|
#endif /* _WIN32_WCE */
|
||||||
|
|
||||||
|
|
||||||
/* documentation is in ftdebug.h */
|
/* documentation is in ftdebug.h */
|
||||||
|
|
||||||
FT_BASE_DEF( void )
|
FT_BASE_DEF( void )
|
||||||
FT_Message( const char* fmt,
|
FT_Message( const char* fmt,
|
||||||
... )
|
... )
|
||||||
{
|
{
|
||||||
static char buf[8192];
|
va_list ap;
|
||||||
va_list ap;
|
|
||||||
|
|
||||||
|
|
||||||
va_start( ap, fmt );
|
va_start( ap, fmt );
|
||||||
vfprintf( stderr, fmt, ap );
|
vfprintf( stderr, fmt, ap );
|
||||||
/* send the string to the debugger as well */
|
#if ( defined( _WIN32_WINNT ) && _WIN32_WINNT >= 0x0400 ) || \
|
||||||
vsprintf( buf, fmt, ap );
|
( defined( _WIN32_WCE ) && _WIN32_WCE >= 0x0600 )
|
||||||
OutputDebugStringA( buf );
|
if ( IsDebuggerPresent() )
|
||||||
|
{
|
||||||
|
static char buf[1024];
|
||||||
|
|
||||||
|
|
||||||
|
vsnprintf( buf, sizeof buf, fmt, ap );
|
||||||
|
OutputDebugStringA( buf );
|
||||||
|
}
|
||||||
|
#endif
|
||||||
va_end( ap );
|
va_end( ap );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -125,13 +157,22 @@
|
||||||
FT_Panic( const char* fmt,
|
FT_Panic( const char* fmt,
|
||||||
... )
|
... )
|
||||||
{
|
{
|
||||||
static char buf[8192];
|
va_list ap;
|
||||||
va_list ap;
|
|
||||||
|
|
||||||
|
|
||||||
va_start( ap, fmt );
|
va_start( ap, fmt );
|
||||||
vsprintf( buf, fmt, ap );
|
vfprintf( stderr, fmt, ap );
|
||||||
OutputDebugStringA( buf );
|
#if ( defined( _WIN32_WINNT ) && _WIN32_WINNT >= 0x0400 ) || \
|
||||||
|
( defined( _WIN32_WCE ) && _WIN32_WCE >= 0x0600 )
|
||||||
|
if ( IsDebuggerPresent() )
|
||||||
|
{
|
||||||
|
static char buf[1024];
|
||||||
|
|
||||||
|
|
||||||
|
vsnprintf( buf, sizeof buf, fmt, ap );
|
||||||
|
OutputDebugStringA( buf );
|
||||||
|
}
|
||||||
|
#endif
|
||||||
va_end( ap );
|
va_end( ap );
|
||||||
|
|
||||||
exit( EXIT_FAILURE );
|
exit( EXIT_FAILURE );
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
*
|
*
|
||||||
* Windows-specific FreeType low-level system interface (body).
|
* Windows-specific FreeType low-level system interface (body).
|
||||||
*
|
*
|
||||||
* Copyright (C) 2021 by
|
* Copyright (C) 2021-2022 by
|
||||||
* David Turner, Robert Wilhelm, and Werner Lemberg.
|
* David Turner, Robert Wilhelm, and Werner Lemberg.
|
||||||
*
|
*
|
||||||
* This file is part of the FreeType project, and may only be used,
|
* This file is part of the FreeType project, and may only be used,
|
||||||
|
@ -196,19 +196,77 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
#ifdef _WIN32_WCE
|
/* non-desktop Universal Windows Platform */
|
||||||
|
#if defined( WINAPI_FAMILY ) && WINAPI_FAMILY != WINAPI_FAMILY_DESKTOP_APP
|
||||||
|
|
||||||
|
#define PACK_DWORD64( hi, lo ) ( ( (DWORD64)(hi) << 32 ) | (DWORD)(lo) )
|
||||||
|
|
||||||
|
#define CreateFileMapping( a, b, c, d, e, f ) \
|
||||||
|
CreateFileMappingFromApp( a, b, c, PACK_DWORD64( d, e ), f )
|
||||||
|
#define MapViewOfFile( a, b, c, d, e ) \
|
||||||
|
MapViewOfFileFromApp( a, b, PACK_DWORD64( c, d ), e )
|
||||||
|
|
||||||
FT_LOCAL_DEF( HANDLE )
|
FT_LOCAL_DEF( HANDLE )
|
||||||
CreateFileA( LPCSTR lpFileName,
|
CreateFileA( LPCSTR lpFileName,
|
||||||
DWORD dwDesiredAccess,
|
DWORD dwDesiredAccess,
|
||||||
DWORD dwShareMode,
|
DWORD dwShareMode,
|
||||||
LPSECURITY_ATTRIBUTES lpSecurityAttributes,
|
LPSECURITY_ATTRIBUTES lpSecurityAttributes,
|
||||||
DWORD dwCreationDisposition,
|
DWORD dwCreationDisposition,
|
||||||
DWORD dwFlagsAndAttributes,
|
DWORD dwFlagsAndAttributes,
|
||||||
HANDLE hTemplateFile )
|
HANDLE hTemplateFile )
|
||||||
{
|
{
|
||||||
int len;
|
int len;
|
||||||
LPWSTR lpFileNameW;
|
LPWSTR lpFileNameW;
|
||||||
|
|
||||||
|
CREATEFILE2_EXTENDED_PARAMETERS createExParams = {
|
||||||
|
sizeof ( CREATEFILE2_EXTENDED_PARAMETERS ),
|
||||||
|
dwFlagsAndAttributes & 0x0000FFFF,
|
||||||
|
dwFlagsAndAttributes & 0xFFF00000,
|
||||||
|
dwFlagsAndAttributes & 0x000F0000,
|
||||||
|
lpSecurityAttributes,
|
||||||
|
hTemplateFile };
|
||||||
|
|
||||||
|
|
||||||
|
/* allocate memory space for converted path name */
|
||||||
|
len = MultiByteToWideChar( CP_ACP, MB_ERR_INVALID_CHARS,
|
||||||
|
lpFileName, -1, NULL, 0 );
|
||||||
|
|
||||||
|
lpFileNameW = (LPWSTR)_alloca( len * sizeof ( WCHAR ) );
|
||||||
|
|
||||||
|
if ( !len || !lpFileNameW )
|
||||||
|
{
|
||||||
|
FT_ERROR(( "FT_Stream_Open: cannot convert file name to LPWSTR\n" ));
|
||||||
|
return INVALID_HANDLE_VALUE;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* now it is safe to do the translation */
|
||||||
|
MultiByteToWideChar( CP_ACP, MB_ERR_INVALID_CHARS,
|
||||||
|
lpFileName, -1, lpFileNameW, len );
|
||||||
|
|
||||||
|
/* open the file */
|
||||||
|
return CreateFile2( lpFileNameW, dwDesiredAccess, dwShareMode,
|
||||||
|
dwCreationDisposition, &createExParams );
|
||||||
|
}
|
||||||
|
|
||||||
|
#endif
|
||||||
|
|
||||||
|
|
||||||
|
#if defined( _WIN32_WCE )
|
||||||
|
|
||||||
|
/* malloc.h provides implementation of alloca()/_alloca() */
|
||||||
|
#include <malloc.h>
|
||||||
|
|
||||||
|
FT_LOCAL_DEF( HANDLE )
|
||||||
|
CreateFileA( LPCSTR lpFileName,
|
||||||
|
DWORD dwDesiredAccess,
|
||||||
|
DWORD dwShareMode,
|
||||||
|
LPSECURITY_ATTRIBUTES lpSecurityAttributes,
|
||||||
|
DWORD dwCreationDisposition,
|
||||||
|
DWORD dwFlagsAndAttributes,
|
||||||
|
HANDLE hTemplateFile )
|
||||||
|
{
|
||||||
|
int len;
|
||||||
|
LPWSTR lpFileNameW;
|
||||||
|
|
||||||
|
|
||||||
/* allocate memory space for converted path name */
|
/* allocate memory space for converted path name */
|
||||||
|
@ -233,10 +291,15 @@
|
||||||
dwFlagsAndAttributes, hTemplateFile );
|
dwFlagsAndAttributes, hTemplateFile );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#endif
|
||||||
|
|
||||||
|
|
||||||
|
#if defined( _WIN32_WCE ) || defined ( _WIN32_WINDOWS ) || \
|
||||||
|
!defined( _WIN32_WINNT ) || _WIN32_WINNT <= 0x0400
|
||||||
|
|
||||||
FT_LOCAL_DEF( BOOL )
|
FT_LOCAL_DEF( BOOL )
|
||||||
GetFileSizeEx( HANDLE hFile,
|
GetFileSizeEx( HANDLE hFile,
|
||||||
PLARGE_INTEGER lpFileSize )
|
PLARGE_INTEGER lpFileSize )
|
||||||
{
|
{
|
||||||
lpFileSize->u.LowPart = GetFileSize( hFile,
|
lpFileSize->u.LowPart = GetFileSize( hFile,
|
||||||
(DWORD *)&lpFileSize->u.HighPart );
|
(DWORD *)&lpFileSize->u.HighPart );
|
||||||
|
@ -248,7 +311,7 @@
|
||||||
return TRUE;
|
return TRUE;
|
||||||
}
|
}
|
||||||
|
|
||||||
#endif /* _WIN32_WCE */
|
#endif
|
||||||
|
|
||||||
|
|
||||||
/* documentation is in ftobjs.h */
|
/* documentation is in ftobjs.h */
|
||||||
|
|
|
@ -4,34 +4,49 @@ Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "freetype", "freetype.vcxpro
|
||||||
EndProject
|
EndProject
|
||||||
Global
|
Global
|
||||||
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||||
Debug|Win32 = Debug|Win32
|
|
||||||
Debug|x64 = Debug|x64
|
Debug|x64 = Debug|x64
|
||||||
Debug Static|Win32 = Debug Static|Win32
|
Debug|ARM64 = Debug|ARM64
|
||||||
|
Debug|Win32 = Debug|Win32
|
||||||
Debug Static|x64 = Debug Static|x64
|
Debug Static|x64 = Debug Static|x64
|
||||||
Release|Win32 = Release|Win32
|
Debug Static|ARM64 = Debug Static|ARM64
|
||||||
|
Debug Static|Win32 = Debug Static|Win32
|
||||||
Release|x64 = Release|x64
|
Release|x64 = Release|x64
|
||||||
Release Static|Win32 = Release Static|Win32
|
Release|ARM64 = Release|ARM64
|
||||||
|
Release|Win32 = Release|Win32
|
||||||
Release Static|x64 = Release Static|x64
|
Release Static|x64 = Release Static|x64
|
||||||
|
Release Static|ARM64 = Release Static|ARM64
|
||||||
|
Release Static|Win32 = Release Static|Win32
|
||||||
EndGlobalSection
|
EndGlobalSection
|
||||||
GlobalSection(ProjectConfigurationPlatforms) = postSolution
|
GlobalSection(ProjectConfigurationPlatforms) = postSolution
|
||||||
{78B079BD-9FC7-4B9E-B4A6-96DA0F00248B}.Debug|Win32.ActiveCfg = Debug|Win32
|
|
||||||
{78B079BD-9FC7-4B9E-B4A6-96DA0F00248B}.Debug|Win32.Build.0 = Debug|Win32
|
|
||||||
{78B079BD-9FC7-4B9E-B4A6-96DA0F00248B}.Debug|x64.ActiveCfg = Debug|x64
|
{78B079BD-9FC7-4B9E-B4A6-96DA0F00248B}.Debug|x64.ActiveCfg = Debug|x64
|
||||||
{78B079BD-9FC7-4B9E-B4A6-96DA0F00248B}.Debug|x64.Build.0 = Debug|x64
|
{78B079BD-9FC7-4B9E-B4A6-96DA0F00248B}.Debug|x64.Build.0 = Debug|x64
|
||||||
{78B079BD-9FC7-4B9E-B4A6-96DA0F00248B}.Debug Static|Win32.ActiveCfg = Debug Static|Win32
|
{78B079BD-9FC7-4B9E-B4A6-96DA0F00248B}.Debug|ARM64.ActiveCfg = Debug|ARM64
|
||||||
{78B079BD-9FC7-4B9E-B4A6-96DA0F00248B}.Debug Static|Win32.Build.0 = Debug Static|Win32
|
{78B079BD-9FC7-4B9E-B4A6-96DA0F00248B}.Debug|ARM64.Build.0 = Debug|ARM64
|
||||||
|
{78B079BD-9FC7-4B9E-B4A6-96DA0F00248B}.Debug|Win32.ActiveCfg = Debug|Win32
|
||||||
|
{78B079BD-9FC7-4B9E-B4A6-96DA0F00248B}.Debug|Win32.Build.0 = Debug|Win32
|
||||||
{78B079BD-9FC7-4B9E-B4A6-96DA0F00248B}.Debug Static|x64.ActiveCfg = Debug Static|x64
|
{78B079BD-9FC7-4B9E-B4A6-96DA0F00248B}.Debug Static|x64.ActiveCfg = Debug Static|x64
|
||||||
{78B079BD-9FC7-4B9E-B4A6-96DA0F00248B}.Debug Static|x64.Build.0 = Debug Static|x64
|
{78B079BD-9FC7-4B9E-B4A6-96DA0F00248B}.Debug Static|x64.Build.0 = Debug Static|x64
|
||||||
{78B079BD-9FC7-4B9E-B4A6-96DA0F00248B}.Release|Win32.ActiveCfg = Release|Win32
|
{78B079BD-9FC7-4B9E-B4A6-96DA0F00248B}.Debug Static|ARM64.ActiveCfg = Debug Static|ARM64
|
||||||
{78B079BD-9FC7-4B9E-B4A6-96DA0F00248B}.Release|Win32.Build.0 = Release|Win32
|
{78B079BD-9FC7-4B9E-B4A6-96DA0F00248B}.Debug Static|ARM64.Build.0 = Debug Static|ARM64
|
||||||
|
{78B079BD-9FC7-4B9E-B4A6-96DA0F00248B}.Debug Static|Win32.ActiveCfg = Debug Static|Win32
|
||||||
|
{78B079BD-9FC7-4B9E-B4A6-96DA0F00248B}.Debug Static|Win32.Build.0 = Debug Static|Win32
|
||||||
{78B079BD-9FC7-4B9E-B4A6-96DA0F00248B}.Release|x64.ActiveCfg = Release|x64
|
{78B079BD-9FC7-4B9E-B4A6-96DA0F00248B}.Release|x64.ActiveCfg = Release|x64
|
||||||
{78B079BD-9FC7-4B9E-B4A6-96DA0F00248B}.Release|x64.Build.0 = Release|x64
|
{78B079BD-9FC7-4B9E-B4A6-96DA0F00248B}.Release|x64.Build.0 = Release|x64
|
||||||
{78B079BD-9FC7-4B9E-B4A6-96DA0F00248B}.Release Static|Win32.ActiveCfg = Release Static|Win32
|
{78B079BD-9FC7-4B9E-B4A6-96DA0F00248B}.Release|ARM64.ActiveCfg = Release|ARM64
|
||||||
{78B079BD-9FC7-4B9E-B4A6-96DA0F00248B}.Release Static|Win32.Build.0 = Release Static|Win32
|
{78B079BD-9FC7-4B9E-B4A6-96DA0F00248B}.Release|ARM64.Build.0 = Release|ARM64
|
||||||
|
{78B079BD-9FC7-4B9E-B4A6-96DA0F00248B}.Release|Win32.ActiveCfg = Release|Win32
|
||||||
|
{78B079BD-9FC7-4B9E-B4A6-96DA0F00248B}.Release|Win32.Build.0 = Release|Win32
|
||||||
{78B079BD-9FC7-4B9E-B4A6-96DA0F00248B}.Release Static|x64.ActiveCfg = Release Static|x64
|
{78B079BD-9FC7-4B9E-B4A6-96DA0F00248B}.Release Static|x64.ActiveCfg = Release Static|x64
|
||||||
{78B079BD-9FC7-4B9E-B4A6-96DA0F00248B}.Release Static|x64.Build.0 = Release Static|x64
|
{78B079BD-9FC7-4B9E-B4A6-96DA0F00248B}.Release Static|x64.Build.0 = Release Static|x64
|
||||||
|
{78B079BD-9FC7-4B9E-B4A6-96DA0F00248B}.Release Static|ARM64.ActiveCfg = Release Static|ARM64
|
||||||
|
{78B079BD-9FC7-4B9E-B4A6-96DA0F00248B}.Release Static|ARM64.Build.0 = Release Static|ARM64
|
||||||
|
{78B079BD-9FC7-4B9E-B4A6-96DA0F00248B}.Release Static|Win32.ActiveCfg = Release Static|Win32
|
||||||
|
{78B079BD-9FC7-4B9E-B4A6-96DA0F00248B}.Release Static|Win32.Build.0 = Release Static|Win32
|
||||||
EndGlobalSection
|
EndGlobalSection
|
||||||
GlobalSection(SolutionProperties) = preSolution
|
GlobalSection(SolutionProperties) = preSolution
|
||||||
HideSolutionNode = FALSE
|
HideSolutionNode = FALSE
|
||||||
EndGlobalSection
|
EndGlobalSection
|
||||||
|
GlobalSection(ExtensibilityGlobals) = postSolution
|
||||||
|
SolutionGuid = {90811697-0889-4381-80BC-C3FE8FA4931F}
|
||||||
|
EndGlobalSection
|
||||||
EndGlobal
|
EndGlobal
|
||||||
|
|
|
@ -1,10 +1,26 @@
|
||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
<!--
|
||||||
|
You can use this file to build FreeType with MSBuild as follows
|
||||||
|
|
||||||
|
MSBuild.exe -t:Rebuild
|
||||||
|
-p:Configuration=Debug
|
||||||
|
-p:Platform=x64
|
||||||
|
-p:UserDefines=FT_DEBUG_LOGGING
|
||||||
|
builds/windows/vc2010/freetype.vcxproj
|
||||||
|
|
||||||
|
or with different appropriate switches. It also works with Visual Studio.
|
||||||
|
Additional customization can be made in `freetype.user.props`.
|
||||||
|
-->
|
||||||
|
<Project DefaultTargets="DlgCopy;Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||||
<ItemGroup Label="ProjectConfigurations">
|
<ItemGroup Label="ProjectConfigurations">
|
||||||
<ProjectConfiguration Include="Debug|Win32">
|
<ProjectConfiguration Include="Debug|Win32">
|
||||||
<Configuration>Debug</Configuration>
|
<Configuration>Debug</Configuration>
|
||||||
<Platform>Win32</Platform>
|
<Platform>Win32</Platform>
|
||||||
</ProjectConfiguration>
|
</ProjectConfiguration>
|
||||||
|
<ProjectConfiguration Include="Debug|ARM64">
|
||||||
|
<Configuration>Debug</Configuration>
|
||||||
|
<Platform>ARM64</Platform>
|
||||||
|
</ProjectConfiguration>
|
||||||
<ProjectConfiguration Include="Debug|x64">
|
<ProjectConfiguration Include="Debug|x64">
|
||||||
<Configuration>Debug</Configuration>
|
<Configuration>Debug</Configuration>
|
||||||
<Platform>x64</Platform>
|
<Platform>x64</Platform>
|
||||||
|
@ -13,6 +29,10 @@
|
||||||
<Configuration>Debug Static</Configuration>
|
<Configuration>Debug Static</Configuration>
|
||||||
<Platform>Win32</Platform>
|
<Platform>Win32</Platform>
|
||||||
</ProjectConfiguration>
|
</ProjectConfiguration>
|
||||||
|
<ProjectConfiguration Include="Debug Static|ARM64">
|
||||||
|
<Configuration>Debug Static</Configuration>
|
||||||
|
<Platform>ARM64</Platform>
|
||||||
|
</ProjectConfiguration>
|
||||||
<ProjectConfiguration Include="Debug Static|x64">
|
<ProjectConfiguration Include="Debug Static|x64">
|
||||||
<Configuration>Debug Static</Configuration>
|
<Configuration>Debug Static</Configuration>
|
||||||
<Platform>x64</Platform>
|
<Platform>x64</Platform>
|
||||||
|
@ -21,6 +41,10 @@
|
||||||
<Configuration>Release</Configuration>
|
<Configuration>Release</Configuration>
|
||||||
<Platform>Win32</Platform>
|
<Platform>Win32</Platform>
|
||||||
</ProjectConfiguration>
|
</ProjectConfiguration>
|
||||||
|
<ProjectConfiguration Include="Release|ARM64">
|
||||||
|
<Configuration>Release</Configuration>
|
||||||
|
<Platform>ARM64</Platform>
|
||||||
|
</ProjectConfiguration>
|
||||||
<ProjectConfiguration Include="Release|x64">
|
<ProjectConfiguration Include="Release|x64">
|
||||||
<Configuration>Release</Configuration>
|
<Configuration>Release</Configuration>
|
||||||
<Platform>x64</Platform>
|
<Platform>x64</Platform>
|
||||||
|
@ -29,6 +53,10 @@
|
||||||
<Configuration>Release Static</Configuration>
|
<Configuration>Release Static</Configuration>
|
||||||
<Platform>Win32</Platform>
|
<Platform>Win32</Platform>
|
||||||
</ProjectConfiguration>
|
</ProjectConfiguration>
|
||||||
|
<ProjectConfiguration Include="Release Static|ARM64">
|
||||||
|
<Configuration>Release Static</Configuration>
|
||||||
|
<Platform>ARM64</Platform>
|
||||||
|
</ProjectConfiguration>
|
||||||
<ProjectConfiguration Include="Release Static|x64">
|
<ProjectConfiguration Include="Release Static|x64">
|
||||||
<Configuration>Release Static</Configuration>
|
<Configuration>Release Static</Configuration>
|
||||||
<Platform>x64</Platform>
|
<Platform>x64</Platform>
|
||||||
|
@ -46,6 +74,10 @@
|
||||||
<ConfigurationType>DynamicLibrary</ConfigurationType>
|
<ConfigurationType>DynamicLibrary</ConfigurationType>
|
||||||
<CharacterSet>NotSet</CharacterSet>
|
<CharacterSet>NotSet</CharacterSet>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|ARM64'" Label="Configuration">
|
||||||
|
<ConfigurationType>DynamicLibrary</ConfigurationType>
|
||||||
|
<CharacterSet>NotSet</CharacterSet>
|
||||||
|
</PropertyGroup>
|
||||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
|
||||||
<ConfigurationType>DynamicLibrary</ConfigurationType>
|
<ConfigurationType>DynamicLibrary</ConfigurationType>
|
||||||
<CharacterSet>NotSet</CharacterSet>
|
<CharacterSet>NotSet</CharacterSet>
|
||||||
|
@ -54,6 +86,10 @@
|
||||||
<ConfigurationType>StaticLibrary</ConfigurationType>
|
<ConfigurationType>StaticLibrary</ConfigurationType>
|
||||||
<CharacterSet>NotSet</CharacterSet>
|
<CharacterSet>NotSet</CharacterSet>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug Static|ARM64'" Label="Configuration">
|
||||||
|
<ConfigurationType>StaticLibrary</ConfigurationType>
|
||||||
|
<CharacterSet>NotSet</CharacterSet>
|
||||||
|
</PropertyGroup>
|
||||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug Static|x64'" Label="Configuration">
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug Static|x64'" Label="Configuration">
|
||||||
<ConfigurationType>StaticLibrary</ConfigurationType>
|
<ConfigurationType>StaticLibrary</ConfigurationType>
|
||||||
<CharacterSet>NotSet</CharacterSet>
|
<CharacterSet>NotSet</CharacterSet>
|
||||||
|
@ -62,6 +98,10 @@
|
||||||
<ConfigurationType>DynamicLibrary</ConfigurationType>
|
<ConfigurationType>DynamicLibrary</ConfigurationType>
|
||||||
<CharacterSet>NotSet</CharacterSet>
|
<CharacterSet>NotSet</CharacterSet>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|ARM64'" Label="Configuration">
|
||||||
|
<ConfigurationType>DynamicLibrary</ConfigurationType>
|
||||||
|
<CharacterSet>NotSet</CharacterSet>
|
||||||
|
</PropertyGroup>
|
||||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
|
||||||
<ConfigurationType>DynamicLibrary</ConfigurationType>
|
<ConfigurationType>DynamicLibrary</ConfigurationType>
|
||||||
<CharacterSet>NotSet</CharacterSet>
|
<CharacterSet>NotSet</CharacterSet>
|
||||||
|
@ -70,6 +110,10 @@
|
||||||
<ConfigurationType>StaticLibrary</ConfigurationType>
|
<ConfigurationType>StaticLibrary</ConfigurationType>
|
||||||
<CharacterSet>NotSet</CharacterSet>
|
<CharacterSet>NotSet</CharacterSet>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release Static|ARM64'" Label="Configuration">
|
||||||
|
<ConfigurationType>StaticLibrary</ConfigurationType>
|
||||||
|
<CharacterSet>NotSet</CharacterSet>
|
||||||
|
</PropertyGroup>
|
||||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release Static|x64'" Label="Configuration">
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release Static|x64'" Label="Configuration">
|
||||||
<ConfigurationType>StaticLibrary</ConfigurationType>
|
<ConfigurationType>StaticLibrary</ConfigurationType>
|
||||||
<CharacterSet>NotSet</CharacterSet>
|
<CharacterSet>NotSet</CharacterSet>
|
||||||
|
@ -90,7 +134,7 @@
|
||||||
<ClCompile>
|
<ClCompile>
|
||||||
<Optimization>Disabled</Optimization>
|
<Optimization>Disabled</Optimization>
|
||||||
<AdditionalIncludeDirectories>$(UserOptionDirectory);..\..\..\include;$(UserIncludeDirectories);%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
<AdditionalIncludeDirectories>$(UserOptionDirectory);..\..\..\include;$(UserIncludeDirectories);%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||||
<PreprocessorDefinitions>WIN32;_DEBUG;_LIB;_CRT_SECURE_NO_WARNINGS;FT_DEBUG_LEVEL_ERROR;FT_DEBUG_LEVEL_TRACE;FT_DEBUG_LOGGING;FT2_BUILD_LIBRARY;DLL_EXPORT;$(UserDefines);%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
<PreprocessorDefinitions>WIN32;_DEBUG;_LIB;_CRT_SECURE_NO_WARNINGS;FT_DEBUG_LEVEL_ERROR;FT_DEBUG_LEVEL_TRACE;FT2_BUILD_LIBRARY;DLL_EXPORT;$(UserDefines);%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
<BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>
|
<BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>
|
||||||
<RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary>
|
<RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary>
|
||||||
<DisableLanguageExtensions>false</DisableLanguageExtensions>
|
<DisableLanguageExtensions>false</DisableLanguageExtensions>
|
||||||
|
@ -106,20 +150,45 @@
|
||||||
<PreprocessorDefinitions>_DEBUG;DLL_EXPORT;$(UserDefines);%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
<PreprocessorDefinitions>_DEBUG;DLL_EXPORT;$(UserDefines);%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
<Culture>0x0409</Culture>
|
<Culture>0x0409</Culture>
|
||||||
</ResourceCompile>
|
</ResourceCompile>
|
||||||
<Lib>
|
<Link>
|
||||||
|
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||||
<TargetMachine>MachineX86</TargetMachine>
|
<TargetMachine>MachineX86</TargetMachine>
|
||||||
<AdditionalLibraryDirectories>$(UserLibraryDirectories);%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
|
<AdditionalLibraryDirectories>$(UserLibraryDirectories);%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
|
||||||
<AdditionalDependencies>$(UserDependencies);%(AdditionalDependencies)</AdditionalDependencies>
|
<AdditionalDependencies>$(UserDependencies);%(AdditionalDependencies)</AdditionalDependencies>
|
||||||
</Lib>
|
</Link>
|
||||||
<PreBuildEvent>
|
</ItemDefinitionGroup>
|
||||||
<Command>call $(SolutionDir)script.bat</Command>
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|ARM64'">
|
||||||
</PreBuildEvent>
|
<ClCompile>
|
||||||
|
<Optimization>Disabled</Optimization>
|
||||||
|
<AdditionalIncludeDirectories>$(UserOptionDirectory);..\..\..\include;$(UserIncludeDirectories);%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||||
|
<PreprocessorDefinitions>WIN32;_DEBUG;_LIB;_CRT_SECURE_NO_WARNINGS;FT_DEBUG_LEVEL_ERROR;FT_DEBUG_LEVEL_TRACE;FT2_BUILD_LIBRARY;DLL_EXPORT;$(UserDefines);%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
|
<BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>
|
||||||
|
<RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary>
|
||||||
|
<DisableLanguageExtensions>false</DisableLanguageExtensions>
|
||||||
|
<WarningLevel>Level4</WarningLevel>
|
||||||
|
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
|
||||||
|
<CompileAs>Default</CompileAs>
|
||||||
|
<DisableSpecificWarnings>4001</DisableSpecificWarnings>
|
||||||
|
<MultiProcessorCompilation>true</MultiProcessorCompilation>
|
||||||
|
<ProgramDataBaseFileName>$(OutDir)$(TargetName).pdb</ProgramDataBaseFileName>
|
||||||
|
<InlineFunctionExpansion>Disabled</InlineFunctionExpansion>
|
||||||
|
</ClCompile>
|
||||||
|
<ResourceCompile>
|
||||||
|
<PreprocessorDefinitions>_DEBUG;DLL_EXPORT;$(UserDefines);%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
|
<Culture>0x0409</Culture>
|
||||||
|
</ResourceCompile>
|
||||||
|
<Link>
|
||||||
|
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||||
|
<TargetMachine>MachineARM64</TargetMachine>
|
||||||
|
<AdditionalLibraryDirectories>$(UserLibraryDirectories);%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
|
||||||
|
<AdditionalDependencies>$(UserDependencies);%(AdditionalDependencies)</AdditionalDependencies>
|
||||||
|
</Link>
|
||||||
</ItemDefinitionGroup>
|
</ItemDefinitionGroup>
|
||||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
|
||||||
<ClCompile>
|
<ClCompile>
|
||||||
<Optimization>Disabled</Optimization>
|
<Optimization>Disabled</Optimization>
|
||||||
<AdditionalIncludeDirectories>$(UserOptionDirectory);..\..\..\include;$(UserIncludeDirectories);%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
<AdditionalIncludeDirectories>$(UserOptionDirectory);..\..\..\include;$(UserIncludeDirectories);%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||||
<PreprocessorDefinitions>WIN32;_DEBUG;_LIB;_CRT_SECURE_NO_WARNINGS;FT_DEBUG_LEVEL_ERROR;FT_DEBUG_LEVEL_TRACE;FT_DEBUG_LOGGING;FT2_BUILD_LIBRARY;DLL_EXPORT;$(UserDefines);%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
<PreprocessorDefinitions>WIN32;_DEBUG;_LIB;_CRT_SECURE_NO_WARNINGS;FT_DEBUG_LEVEL_ERROR;FT_DEBUG_LEVEL_TRACE;FT2_BUILD_LIBRARY;DLL_EXPORT;$(UserDefines);%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
<BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>
|
<BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>
|
||||||
<RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary>
|
<RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary>
|
||||||
<DisableLanguageExtensions>false</DisableLanguageExtensions>
|
<DisableLanguageExtensions>false</DisableLanguageExtensions>
|
||||||
|
@ -135,20 +204,18 @@
|
||||||
<PreprocessorDefinitions>_DEBUG;DLL_EXPORT;$(UserDefines);%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
<PreprocessorDefinitions>_DEBUG;DLL_EXPORT;$(UserDefines);%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
<Culture>0x0409</Culture>
|
<Culture>0x0409</Culture>
|
||||||
</ResourceCompile>
|
</ResourceCompile>
|
||||||
<Lib>
|
<Link>
|
||||||
|
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||||
<TargetMachine>MachineX64</TargetMachine>
|
<TargetMachine>MachineX64</TargetMachine>
|
||||||
<AdditionalLibraryDirectories>$(UserLibraryDirectories);%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
|
<AdditionalLibraryDirectories>$(UserLibraryDirectories);%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
|
||||||
<AdditionalDependencies>$(UserDependencies);%(AdditionalDependencies)</AdditionalDependencies>
|
<AdditionalDependencies>$(UserDependencies);%(AdditionalDependencies)</AdditionalDependencies>
|
||||||
</Lib>
|
</Link>
|
||||||
<PreBuildEvent>
|
|
||||||
<Command>call $(SolutionDir)script.bat</Command>
|
|
||||||
</PreBuildEvent>
|
|
||||||
</ItemDefinitionGroup>
|
</ItemDefinitionGroup>
|
||||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug Static|Win32'">
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug Static|Win32'">
|
||||||
<ClCompile>
|
<ClCompile>
|
||||||
<Optimization>Disabled</Optimization>
|
<Optimization>Disabled</Optimization>
|
||||||
<AdditionalIncludeDirectories>$(UserOptionDirectory);..\..\..\include;$(UserIncludeDirectories);%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
<AdditionalIncludeDirectories>$(UserOptionDirectory);..\..\..\include;$(UserIncludeDirectories);%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||||
<PreprocessorDefinitions>WIN32;_DEBUG;_LIB;_CRT_SECURE_NO_WARNINGS;FT_DEBUG_LEVEL_ERROR;FT_DEBUG_LEVEL_TRACE;FT_DEBUG_LOGGING;DLG_STATIC;FT2_BUILD_LIBRARY;$(UserDefines);%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
<PreprocessorDefinitions>WIN32;_DEBUG;_LIB;_CRT_SECURE_NO_WARNINGS;FT_DEBUG_LEVEL_ERROR;FT_DEBUG_LEVEL_TRACE;FT2_BUILD_LIBRARY;$(UserDefines);%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
<BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>
|
<BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>
|
||||||
<RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary>
|
<RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary>
|
||||||
<DisableLanguageExtensions>false</DisableLanguageExtensions>
|
<DisableLanguageExtensions>false</DisableLanguageExtensions>
|
||||||
|
@ -169,15 +236,38 @@
|
||||||
<AdditionalLibraryDirectories>$(UserLibraryDirectories);%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
|
<AdditionalLibraryDirectories>$(UserLibraryDirectories);%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
|
||||||
<AdditionalDependencies>$(UserDependencies);%(AdditionalDependencies)</AdditionalDependencies>
|
<AdditionalDependencies>$(UserDependencies);%(AdditionalDependencies)</AdditionalDependencies>
|
||||||
</Lib>
|
</Lib>
|
||||||
<PreBuildEvent>
|
</ItemDefinitionGroup>
|
||||||
<Command>call $(SolutionDir)script.bat</Command>
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug Static|ARM64'">
|
||||||
</PreBuildEvent>
|
<ClCompile>
|
||||||
|
<Optimization>Disabled</Optimization>
|
||||||
|
<AdditionalIncludeDirectories>$(UserOptionDirectory);..\..\..\include;$(UserIncludeDirectories);%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||||
|
<PreprocessorDefinitions>WIN32;_DEBUG;_LIB;_CRT_SECURE_NO_WARNINGS;FT_DEBUG_LEVEL_ERROR;FT_DEBUG_LEVEL_TRACE;FT2_BUILD_LIBRARY;$(UserDefines);%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
|
<BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>
|
||||||
|
<RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary>
|
||||||
|
<DisableLanguageExtensions>false</DisableLanguageExtensions>
|
||||||
|
<WarningLevel>Level4</WarningLevel>
|
||||||
|
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
|
||||||
|
<CompileAs>Default</CompileAs>
|
||||||
|
<DisableSpecificWarnings>4001</DisableSpecificWarnings>
|
||||||
|
<MultiProcessorCompilation>true</MultiProcessorCompilation>
|
||||||
|
<ProgramDataBaseFileName>$(OutDir)$(TargetName).pdb</ProgramDataBaseFileName>
|
||||||
|
<InlineFunctionExpansion>Disabled</InlineFunctionExpansion>
|
||||||
|
</ClCompile>
|
||||||
|
<ResourceCompile>
|
||||||
|
<PreprocessorDefinitions>_DEBUG;$(UserDefines);%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
|
<Culture>0x0409</Culture>
|
||||||
|
</ResourceCompile>
|
||||||
|
<Lib>
|
||||||
|
<TargetMachine>MachineARM64</TargetMachine>
|
||||||
|
<AdditionalLibraryDirectories>$(UserLibraryDirectories);%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
|
||||||
|
<AdditionalDependencies>$(UserDependencies);%(AdditionalDependencies)</AdditionalDependencies>
|
||||||
|
</Lib>
|
||||||
</ItemDefinitionGroup>
|
</ItemDefinitionGroup>
|
||||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug Static|x64'">
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug Static|x64'">
|
||||||
<ClCompile>
|
<ClCompile>
|
||||||
<Optimization>Disabled</Optimization>
|
<Optimization>Disabled</Optimization>
|
||||||
<AdditionalIncludeDirectories>$(UserOptionDirectory);..\..\..\include;$(UserIncludeDirectories);%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
<AdditionalIncludeDirectories>$(UserOptionDirectory);..\..\..\include;$(UserIncludeDirectories);%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||||
<PreprocessorDefinitions>WIN32;_DEBUG;_LIB;_CRT_SECURE_NO_WARNINGS;FT_DEBUG_LEVEL_ERROR;FT_DEBUG_LEVEL_TRACE;FT_DEBUG_LOGGING;DLG_STATIC;FT2_BUILD_LIBRARY;$(UserDefines);%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
<PreprocessorDefinitions>WIN32;_DEBUG;_LIB;_CRT_SECURE_NO_WARNINGS;FT_DEBUG_LEVEL_ERROR;FT_DEBUG_LEVEL_TRACE;FT2_BUILD_LIBRARY;$(UserDefines);%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
<BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>
|
<BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>
|
||||||
<RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary>
|
<RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary>
|
||||||
<DisableLanguageExtensions>false</DisableLanguageExtensions>
|
<DisableLanguageExtensions>false</DisableLanguageExtensions>
|
||||||
|
@ -198,9 +288,6 @@
|
||||||
<AdditionalLibraryDirectories>$(UserLibraryDirectories);%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
|
<AdditionalLibraryDirectories>$(UserLibraryDirectories);%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
|
||||||
<AdditionalDependencies>$(UserDependencies);%(AdditionalDependencies)</AdditionalDependencies>
|
<AdditionalDependencies>$(UserDependencies);%(AdditionalDependencies)</AdditionalDependencies>
|
||||||
</Lib>
|
</Lib>
|
||||||
<PreBuildEvent>
|
|
||||||
<Command>call $(SolutionDir)script.bat</Command>
|
|
||||||
</PreBuildEvent>
|
|
||||||
</ItemDefinitionGroup>
|
</ItemDefinitionGroup>
|
||||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
||||||
<ClCompile>
|
<ClCompile>
|
||||||
|
@ -222,12 +309,41 @@
|
||||||
<PreprocessorDefinitions>NDEBUG;DLL_EXPORT;$(UserDefines);%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
<PreprocessorDefinitions>NDEBUG;DLL_EXPORT;$(UserDefines);%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
<Culture>0x0409</Culture>
|
<Culture>0x0409</Culture>
|
||||||
</ResourceCompile>
|
</ResourceCompile>
|
||||||
<Lib>
|
<Link>
|
||||||
<LinkTimeCodeGeneration>true</LinkTimeCodeGeneration>
|
<EnableCOMDATFolding>true</EnableCOMDATFolding>
|
||||||
|
<OptimizeReferences>true</OptimizeReferences>
|
||||||
<TargetMachine>MachineX86</TargetMachine>
|
<TargetMachine>MachineX86</TargetMachine>
|
||||||
<AdditionalLibraryDirectories>$(UserLibraryDirectories);%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
|
<AdditionalLibraryDirectories>$(UserLibraryDirectories);%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
|
||||||
<AdditionalDependencies>$(UserDependencies);%(AdditionalDependencies)</AdditionalDependencies>
|
<AdditionalDependencies>$(UserDependencies);%(AdditionalDependencies)</AdditionalDependencies>
|
||||||
</Lib>
|
</Link>
|
||||||
|
</ItemDefinitionGroup>
|
||||||
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|ARM64'">
|
||||||
|
<ClCompile>
|
||||||
|
<Optimization>MaxSpeed</Optimization>
|
||||||
|
<InlineFunctionExpansion>AnySuitable</InlineFunctionExpansion>
|
||||||
|
<AdditionalIncludeDirectories>$(UserOptionDirectory);..\..\..\include;$(UserIncludeDirectories);%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||||
|
<PreprocessorDefinitions>WIN32;NDEBUG;_LIB;_CRT_SECURE_NO_WARNINGS;FT2_BUILD_LIBRARY;DLL_EXPORT;$(UserDefines);%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
|
<RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
|
||||||
|
<FunctionLevelLinking>true</FunctionLevelLinking>
|
||||||
|
<DisableLanguageExtensions>true</DisableLanguageExtensions>
|
||||||
|
<WarningLevel>Level4</WarningLevel>
|
||||||
|
<CompileAs>Default</CompileAs>
|
||||||
|
<DisableSpecificWarnings>4001</DisableSpecificWarnings>
|
||||||
|
<MultiProcessorCompilation>true</MultiProcessorCompilation>
|
||||||
|
<EnableEnhancedInstructionSet>NotSet</EnableEnhancedInstructionSet>
|
||||||
|
<IntrinsicFunctions>true</IntrinsicFunctions>
|
||||||
|
</ClCompile>
|
||||||
|
<ResourceCompile>
|
||||||
|
<PreprocessorDefinitions>NDEBUG;DLL_EXPORT;$(UserDefines);%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
|
<Culture>0x0409</Culture>
|
||||||
|
</ResourceCompile>
|
||||||
|
<Link>
|
||||||
|
<EnableCOMDATFolding>true</EnableCOMDATFolding>
|
||||||
|
<OptimizeReferences>true</OptimizeReferences>
|
||||||
|
<TargetMachine>MachineARM64</TargetMachine>
|
||||||
|
<AdditionalLibraryDirectories>$(UserLibraryDirectories);%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
|
||||||
|
<AdditionalDependencies>$(UserDependencies);%(AdditionalDependencies)</AdditionalDependencies>
|
||||||
|
</Link>
|
||||||
</ItemDefinitionGroup>
|
</ItemDefinitionGroup>
|
||||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
|
||||||
<ClCompile>
|
<ClCompile>
|
||||||
|
@ -248,12 +364,13 @@
|
||||||
<PreprocessorDefinitions>NDEBUG;DLL_EXPORT;$(UserDefines);%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
<PreprocessorDefinitions>NDEBUG;DLL_EXPORT;$(UserDefines);%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
<Culture>0x0409</Culture>
|
<Culture>0x0409</Culture>
|
||||||
</ResourceCompile>
|
</ResourceCompile>
|
||||||
<Lib>
|
<Link>
|
||||||
<LinkTimeCodeGeneration>true</LinkTimeCodeGeneration>
|
<EnableCOMDATFolding>true</EnableCOMDATFolding>
|
||||||
|
<OptimizeReferences>true</OptimizeReferences>
|
||||||
<TargetMachine>MachineX64</TargetMachine>
|
<TargetMachine>MachineX64</TargetMachine>
|
||||||
<AdditionalLibraryDirectories>$(UserLibraryDirectories);%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
|
<AdditionalLibraryDirectories>$(UserLibraryDirectories);%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
|
||||||
<AdditionalDependencies>$(UserDependencies);%(AdditionalDependencies)</AdditionalDependencies>
|
<AdditionalDependencies>$(UserDependencies);%(AdditionalDependencies)</AdditionalDependencies>
|
||||||
</Lib>
|
</Link>
|
||||||
</ItemDefinitionGroup>
|
</ItemDefinitionGroup>
|
||||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release Static|Win32'">
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release Static|Win32'">
|
||||||
<ClCompile>
|
<ClCompile>
|
||||||
|
@ -276,12 +393,37 @@
|
||||||
<Culture>0x0409</Culture>
|
<Culture>0x0409</Culture>
|
||||||
</ResourceCompile>
|
</ResourceCompile>
|
||||||
<Lib>
|
<Lib>
|
||||||
<LinkTimeCodeGeneration>true</LinkTimeCodeGeneration>
|
|
||||||
<TargetMachine>MachineX86</TargetMachine>
|
<TargetMachine>MachineX86</TargetMachine>
|
||||||
<AdditionalLibraryDirectories>$(UserLibraryDirectories);%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
|
<AdditionalLibraryDirectories>$(UserLibraryDirectories);%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
|
||||||
<AdditionalDependencies>$(UserDependencies);%(AdditionalDependencies)</AdditionalDependencies>
|
<AdditionalDependencies>$(UserDependencies);%(AdditionalDependencies)</AdditionalDependencies>
|
||||||
</Lib>
|
</Lib>
|
||||||
</ItemDefinitionGroup>
|
</ItemDefinitionGroup>
|
||||||
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release Static|ARM64'">
|
||||||
|
<ClCompile>
|
||||||
|
<Optimization>MaxSpeed</Optimization>
|
||||||
|
<InlineFunctionExpansion>AnySuitable</InlineFunctionExpansion>
|
||||||
|
<AdditionalIncludeDirectories>$(UserOptionDirectory);..\..\..\include;$(UserIncludeDirectories);%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||||
|
<PreprocessorDefinitions>WIN32;NDEBUG;_LIB;_CRT_SECURE_NO_WARNINGS;FT2_BUILD_LIBRARY;$(UserDefines);%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
|
<RuntimeLibrary>MultiThreaded</RuntimeLibrary>
|
||||||
|
<FunctionLevelLinking>true</FunctionLevelLinking>
|
||||||
|
<DisableLanguageExtensions>true</DisableLanguageExtensions>
|
||||||
|
<WarningLevel>Level4</WarningLevel>
|
||||||
|
<CompileAs>Default</CompileAs>
|
||||||
|
<DisableSpecificWarnings>4001</DisableSpecificWarnings>
|
||||||
|
<MultiProcessorCompilation>true</MultiProcessorCompilation>
|
||||||
|
<EnableEnhancedInstructionSet>NotSet</EnableEnhancedInstructionSet>
|
||||||
|
<IntrinsicFunctions>true</IntrinsicFunctions>
|
||||||
|
</ClCompile>
|
||||||
|
<ResourceCompile>
|
||||||
|
<PreprocessorDefinitions>NDEBUG;$(UserDefines);%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
|
<Culture>0x0409</Culture>
|
||||||
|
</ResourceCompile>
|
||||||
|
<Lib>
|
||||||
|
<TargetMachine>MachineARM64</TargetMachine>
|
||||||
|
<AdditionalLibraryDirectories>$(UserLibraryDirectories);%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
|
||||||
|
<AdditionalDependencies>$(UserDependencies);%(AdditionalDependencies)</AdditionalDependencies>
|
||||||
|
</Lib>
|
||||||
|
</ItemDefinitionGroup>
|
||||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release Static|x64'">
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release Static|x64'">
|
||||||
<ClCompile>
|
<ClCompile>
|
||||||
<Optimization>MaxSpeed</Optimization>
|
<Optimization>MaxSpeed</Optimization>
|
||||||
|
@ -302,7 +444,6 @@
|
||||||
<Culture>0x0409</Culture>
|
<Culture>0x0409</Culture>
|
||||||
</ResourceCompile>
|
</ResourceCompile>
|
||||||
<Lib>
|
<Lib>
|
||||||
<LinkTimeCodeGeneration>true</LinkTimeCodeGeneration>
|
|
||||||
<TargetMachine>MachineX64</TargetMachine>
|
<TargetMachine>MachineX64</TargetMachine>
|
||||||
<AdditionalLibraryDirectories>$(UserLibraryDirectories);%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
|
<AdditionalLibraryDirectories>$(UserLibraryDirectories);%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
|
||||||
<AdditionalDependencies>$(UserDependencies);%(AdditionalDependencies)</AdditionalDependencies>
|
<AdditionalDependencies>$(UserDependencies);%(AdditionalDependencies)</AdditionalDependencies>
|
||||||
|
@ -344,6 +485,7 @@
|
||||||
<ClCompile Include="..\..\..\src\sfnt\sfnt.c" />
|
<ClCompile Include="..\..\..\src\sfnt\sfnt.c" />
|
||||||
<ClCompile Include="..\..\..\src\smooth\smooth.c" />
|
<ClCompile Include="..\..\..\src\smooth\smooth.c" />
|
||||||
<ClCompile Include="..\..\..\src\sdf\sdf.c" />
|
<ClCompile Include="..\..\..\src\sdf\sdf.c" />
|
||||||
|
<ClCompile Include="..\..\..\src\svg\svg.c" />
|
||||||
<ClCompile Include="..\..\..\src\truetype\truetype.c" />
|
<ClCompile Include="..\..\..\src\truetype\truetype.c" />
|
||||||
<ClCompile Include="..\..\..\src\type1\type1.c" />
|
<ClCompile Include="..\..\..\src\type1\type1.c" />
|
||||||
<ClCompile Include="..\..\..\src\type42\type42.c" />
|
<ClCompile Include="..\..\..\src\type42\type42.c" />
|
||||||
|
@ -359,6 +501,20 @@
|
||||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
||||||
<ImportGroup Label="ExtensionTargets">
|
<ImportGroup Label="ExtensionTargets">
|
||||||
</ImportGroup>
|
</ImportGroup>
|
||||||
|
<ItemGroup Condition="Exists('..\..\..\subprojects\dlg\.git')">
|
||||||
|
<DlgSrc Include="..\..\..\subprojects\dlg\include\dlg\output.h">
|
||||||
|
<DlgDst>..\..\..\include\dlg\output.h</DlgDst>
|
||||||
|
</DlgSrc>
|
||||||
|
<DlgSrc Include="..\..\..\subprojects\dlg\include\dlg\dlg.h">
|
||||||
|
<DlgDst>..\..\..\include\dlg\dlg.h</DlgDst>
|
||||||
|
</DlgSrc>
|
||||||
|
<DlgSrc Include="..\..\..\subprojects\dlg\src\dlg\dlg.c">
|
||||||
|
<DlgDst>..\..\..\src\dlg\dlg.c</DlgDst>
|
||||||
|
</DlgSrc>
|
||||||
|
</ItemGroup>
|
||||||
|
<Target Name="DlgCopy" Inputs="@(DlgSrc)" Outputs="@(DlgSrc->'%(DlgDst)')" Condition="Exists('..\..\..\subprojects\dlg\.git')">
|
||||||
|
<Copy SourceFiles="@(DlgSrc)" DestinationFiles="@(DlgSrc->'%(DlgDst)')" />
|
||||||
|
</Target>
|
||||||
<Target Name="AfterBuild">
|
<Target Name="AfterBuild">
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<TargetFiles Include="$(TargetDir)$(TargetName).*" />
|
<TargetFiles Include="$(TargetDir)$(TargetName).*" />
|
||||||
|
|
|
@ -23,9 +23,6 @@
|
||||||
<ClCompile Include="..\..\..\src\base\ftinit.c">
|
<ClCompile Include="..\..\..\src\base\ftinit.c">
|
||||||
<Filter>Source Files</Filter>
|
<Filter>Source Files</Filter>
|
||||||
</ClCompile>
|
</ClCompile>
|
||||||
<ClCompile Include="..\..\..\src\base\ftsystem.c">
|
|
||||||
<Filter>Source Files</Filter>
|
|
||||||
</ClCompile>
|
|
||||||
<ClCompile Include="..\..\..\src\bdf\bdf.c">
|
<ClCompile Include="..\..\..\src\bdf\bdf.c">
|
||||||
<Filter>Source Files</Filter>
|
<Filter>Source Files</Filter>
|
||||||
</ClCompile>
|
</ClCompile>
|
||||||
|
@ -71,6 +68,9 @@
|
||||||
<ClCompile Include="..\..\..\src\smooth\smooth.c">
|
<ClCompile Include="..\..\..\src\smooth\smooth.c">
|
||||||
<Filter>Source Files</Filter>
|
<Filter>Source Files</Filter>
|
||||||
</ClCompile>
|
</ClCompile>
|
||||||
|
<ClCompile Include="..\..\..\src\svg\svg.c">
|
||||||
|
<Filter>Source Files</Filter>
|
||||||
|
</ClCompile>
|
||||||
<ClCompile Include="..\..\..\src\truetype\truetype.c">
|
<ClCompile Include="..\..\..\src\truetype\truetype.c">
|
||||||
<Filter>Source Files</Filter>
|
<Filter>Source Files</Filter>
|
||||||
</ClCompile>
|
</ClCompile>
|
||||||
|
@ -137,6 +137,9 @@
|
||||||
<ClCompile Include="..\..\..\src\dlg\dlgwrap.c">
|
<ClCompile Include="..\..\..\src\dlg\dlgwrap.c">
|
||||||
<Filter>Source Files</Filter>
|
<Filter>Source Files</Filter>
|
||||||
</ClCompile>
|
</ClCompile>
|
||||||
|
<ClCompile Include="..\ftsystem.c">
|
||||||
|
<Filter>Source Files</Filter>
|
||||||
|
</ClCompile>
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<ResourceCompile Include="..\..\..\src\base\ftver.rc">
|
<ResourceCompile Include="..\..\..\src\base\ftver.rc">
|
||||||
|
|
|
@ -12,7 +12,7 @@
|
||||||
<p>This directory contains solution and project files for
|
<p>This directory contains solution and project files for
|
||||||
Visual C++ 2010 or newer, named <tt>freetype.sln</tt>,
|
Visual C++ 2010 or newer, named <tt>freetype.sln</tt>,
|
||||||
and <tt>freetype.vcxproj</tt>. It compiles the following libraries
|
and <tt>freetype.vcxproj</tt>. It compiles the following libraries
|
||||||
from the FreeType 2.11.0 sources:</p>
|
from the FreeType 2.12.1 sources:</p>
|
||||||
|
|
||||||
<ul>
|
<ul>
|
||||||
<li>freetype.dll using 'Release' or 'Debug' configurations</li>
|
<li>freetype.dll using 'Release' or 'Debug' configurations</li>
|
||||||
|
|
|
@ -1,11 +0,0 @@
|
||||||
@echo OFF
|
|
||||||
|
|
||||||
:: Move to Top Dir
|
|
||||||
cd ..\..\..\
|
|
||||||
|
|
||||||
:: Copy dlg's files from `subprojects\dlg' to `src\dlg'
|
|
||||||
IF NOT EXIST include\dlg (
|
|
||||||
mkdir include\dlg
|
|
||||||
COPY subprojects\dlg\include\dlg\dlg.h include\dlg
|
|
||||||
COPY subprojects\dlg\include\dlg\output.h include\dlg
|
|
||||||
COPY subprojects\dlg\src\dlg\dlg.c src\dlg\ )
|
|
|
@ -58,7 +58,7 @@ BSC32=bscmake.exe
|
||||||
# ADD BSC32 /nologo
|
# ADD BSC32 /nologo
|
||||||
LINK32=link.exe
|
LINK32=link.exe
|
||||||
# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /dll /machine:I386
|
# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /dll /machine:I386
|
||||||
# ADD LINK32 /nologo /dll /machine:I386 /out:"$(OutDir)\freetype.dll"
|
# ADD LINK32 /nologo /dll /machine:I386 /opt:REF,ICF /out:"$(OutDir)\freetype.dll"
|
||||||
|
|
||||||
!ELSEIF "$(CFG)" == "freetype - Win32 Debug"
|
!ELSEIF "$(CFG)" == "freetype - Win32 Debug"
|
||||||
|
|
||||||
|
|
|
@ -66,6 +66,8 @@
|
||||||
/>
|
/>
|
||||||
<Tool
|
<Tool
|
||||||
Name="VCLinkerTool"
|
Name="VCLinkerTool"
|
||||||
|
OptimizeReferences="2"
|
||||||
|
EnableCOMDATFolding="2"
|
||||||
/>
|
/>
|
||||||
<Tool
|
<Tool
|
||||||
Name="VCALinkTool"
|
Name="VCALinkTool"
|
||||||
|
@ -432,10 +434,18 @@
|
||||||
/>
|
/>
|
||||||
</FileConfiguration>
|
</FileConfiguration>
|
||||||
</File>
|
</File>
|
||||||
|
<File
|
||||||
|
RelativePath="..\..\..\src\sdf\sdf.c"
|
||||||
|
>
|
||||||
|
</File>
|
||||||
<File
|
<File
|
||||||
RelativePath="..\..\..\src\smooth\smooth.c"
|
RelativePath="..\..\..\src\smooth\smooth.c"
|
||||||
>
|
>
|
||||||
</File>
|
</File>
|
||||||
|
<File
|
||||||
|
RelativePath="..\..\..\src\svg\svg.c"
|
||||||
|
>
|
||||||
|
</File>
|
||||||
<Filter
|
<Filter
|
||||||
Name="FT_MODULES"
|
Name="FT_MODULES"
|
||||||
>
|
>
|
||||||
|
|
|
@ -12,7 +12,7 @@
|
||||||
<p>This directory contains project files <tt>freetype.dsp</tt> for
|
<p>This directory contains project files <tt>freetype.dsp</tt> for
|
||||||
Visual C++ 6.0, and <tt>freetype.vcproj</tt> for Visual C++ 2002
|
Visual C++ 6.0, and <tt>freetype.vcproj</tt> for Visual C++ 2002
|
||||||
through 2008, which you might need to upgrade automatically.
|
through 2008, which you might need to upgrade automatically.
|
||||||
It compiles the following libraries from the FreeType 2.11.0 sources:</p>
|
It compiles the following libraries from the FreeType 2.12.1 sources:</p>
|
||||||
|
|
||||||
<ul>
|
<ul>
|
||||||
<li>freetype.dll using 'Release' or 'Debug' configurations</li>
|
<li>freetype.dll using 'Release' or 'Debug' configurations</li>
|
||||||
|
|
|
@ -21,7 +21,7 @@ the following targets:
|
||||||
<li>PPC/SP WM6 (Windows Mobile 6)</li>
|
<li>PPC/SP WM6 (Windows Mobile 6)</li>
|
||||||
</ul>
|
</ul>
|
||||||
|
|
||||||
It compiles the following libraries from the FreeType 2.11.0 sources:</p>
|
It compiles the following libraries from the FreeType 2.12.1 sources:</p>
|
||||||
|
|
||||||
<ul>
|
<ul>
|
||||||
<pre>
|
<pre>
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
# Copyright (C) 1996-2021 by
|
# Copyright (C) 1996-2022 by
|
||||||
# David Turner, Robert Wilhelm, and Werner Lemberg.
|
# David Turner, Robert Wilhelm, and Werner Lemberg.
|
||||||
#
|
#
|
||||||
# This file is part of the FreeType project, and may only be used, modified,
|
# This file is part of the FreeType project, and may only be used, modified,
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
# Copyright (C) 1996-2021 by
|
# Copyright (C) 1996-2022 by
|
||||||
# David Turner, Robert Wilhelm, and Werner Lemberg.
|
# David Turner, Robert Wilhelm, and Werner Lemberg.
|
||||||
#
|
#
|
||||||
# This file is part of the FreeType project, and may only be used, modified,
|
# This file is part of the FreeType project, and may only be used, modified,
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
# Copyright (C) 1996-2021 by
|
# Copyright (C) 1996-2022 by
|
||||||
# David Turner, Robert Wilhelm, and Werner Lemberg.
|
# David Turner, Robert Wilhelm, and Werner Lemberg.
|
||||||
#
|
#
|
||||||
# This file is part of the FreeType project, and may only be used, modified,
|
# This file is part of the FreeType project, and may only be used, modified,
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
# Copyright (C) 1996-2021 by
|
# Copyright (C) 1996-2022 by
|
||||||
# David Turner, Robert Wilhelm, and Werner Lemberg.
|
# David Turner, Robert Wilhelm, and Werner Lemberg.
|
||||||
#
|
#
|
||||||
# This file is part of the FreeType project, and may only be used, modified,
|
# This file is part of the FreeType project, and may only be used, modified,
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
# Copyright (C) 1996-2021 by
|
# Copyright (C) 1996-2022 by
|
||||||
# David Turner, Robert Wilhelm, and Werner Lemberg.
|
# David Turner, Robert Wilhelm, and Werner Lemberg.
|
||||||
#
|
#
|
||||||
# This file is part of the FreeType project, and may only be used, modified,
|
# This file is part of the FreeType project, and may only be used, modified,
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
# Copyright (C) 1996-2021 by
|
# Copyright (C) 1996-2022 by
|
||||||
# David Turner, Robert Wilhelm, and Werner Lemberg.
|
# David Turner, Robert Wilhelm, and Werner Lemberg.
|
||||||
#
|
#
|
||||||
# This file is part of the FreeType project, and may only be used, modified,
|
# This file is part of the FreeType project, and may only be used, modified,
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
# Copyright (C) 1996-2021 by
|
# Copyright (C) 1996-2022 by
|
||||||
# David Turner, Robert Wilhelm, and Werner Lemberg.
|
# David Turner, Robert Wilhelm, and Werner Lemberg.
|
||||||
#
|
#
|
||||||
# This file is part of the FreeType project, and may only be used, modified,
|
# This file is part of the FreeType project, and may only be used, modified,
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
# Copyright (C) 1996-2021 by
|
# Copyright (C) 1996-2022 by
|
||||||
# David Turner, Robert Wilhelm, and Werner Lemberg.
|
# David Turner, Robert Wilhelm, and Werner Lemberg.
|
||||||
#
|
#
|
||||||
# This file is part of the FreeType project, and may only be used, modified,
|
# This file is part of the FreeType project, and may only be used, modified,
|
||||||
|
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue