-
5116f129
by Alexei Podtelezhnikov
at 2021-08-17T22:08:45-04:00
* builds/windows/ftsystem.c (FT_Stream_Open): Support UNICODE compilation.
-
536a10ac
by Alexei Podtelezhnikov
at 2021-08-17T22:24:46-04:00
* builds/windows/ftsystem.c (FT_Stream_Open): Cast to remove warning.
-
f11f3ed1
by Werner Lemberg
at 2021-08-18T07:27:02+02:00
[base] Fix ppem size overflow.
Fixes #1086.
* src/base/ftobjs.c (FT_Request_Metrics): Add return value.
Check whether ppem values fit into unsigned short values.
(FT_Request_Size): Updated.
* include/freetype/internal/ftobjs.h: Updated.
* src/cff/cffobjs.c (cff_size_request), src/cid/cidobjs.c
(cid_size_request), src/truetype/ttdriver.c (tt_size_request),
src/type1/t1objs.c (T1_Size_Request): Updated.
-
f44c2d58
by Werner Lemberg
at 2021-08-18T08:52:21+02:00
* src/sdf/ftsdf.c (get_control_box): Fix compiler warning.
-
e2cceed8
by Alexei Podtelezhnikov
at 2021-08-18T11:36:33-04:00
[builds/windows] Do not set CharacterSet for VC++.
* builds/windows/vc2010/freetype.vcxproj: s/Unicode/NotSet/.
* builds/windows/visualc/freetype.vcproj: s/"1"/"0"/.
-
85703839
by Alexei Podtelezhnikov
at 2021-08-18T23:05:51-04:00
Use FT_INT64 instead of FT_LONG64.
* include/freetype/config/integer-types.h: Remove synonymous FT_LONG64.
* include/freetype/internal/ftcalc.h: s/FT_LONG64/FT_INT64/.
* src/base/ftcalc.c: Ditto.
* src/base/fttrigon.c: Ditto.
* src/smooth/ftgrays.c: Ditto.
-
02ba0fc8
by Alexei Podtelezhnikov
at 2021-08-18T23:27:48-04:00
Readily use `long long` as a 64-bit type in C99 mode.
* include/freetype/config/integer-types.h (FT_INT64):
FT_CONFIG_OPTION_FORCE_INT64 is no longer required to use `long long`.
-
61cbb95c
by David Turner
at 2021-08-19T09:04:03+02:00
[meson] Change Zlib configuration option.
* meson_options.txt, meson.build: Change the format of
the 'zlib' meson build configuration option to be a
combo with the following choices:
- none: Do not support gzip-compressed streams at all.
- internal: Support gzip-compressed streams using the
copy of the gzip sources under src/gzip/, this should
only be used during development to ensure these work
properly.
- external: Support gzip-compressed streams using the
'zlib' Meson subproject, linked as a static library.
- system: Support gzip-compressed streams using a system
installed version of zlib.
- auto: Support gzip-compressed streams using a system
installed version of zlib, if available, or using the
'zlib' subproject otherwise. This is the default!
- disabled: backward-compatible alias for 'none'.
- enabled: backward-compatible alias for 'auto'.
-
843d03e3
by David Turner
at 2021-08-19T09:04:03+02:00
[gzip] Update sources to zlib 1.2.11
* src/gzip/ftgzip.c, src/gzip/rules.mk: Updated for new zlib
sources. Also removed the temporary fix introduced in
commit 6a431038 [1] to work-around the fact that the
internal sources were too old.
* src/gzip/README.freetype: Small README file
describing the origin of the sources and how they
were modified.
* src/gzip/patches/*: Patch files applied to original
sources.
* src/gzip/*: Updated all zlib sources to 1.2.11 plus
the patch from src/gzip/patches/ applied.
This can be tested by building with the Unix development build:
make setup devel
make
Or by building the freetype-demos programs with:
meson setup build -Dfreetype2:zlib=internal
meson compile -C out
Then trying to run 'ftview' with a .pcf.gz font file.
[1] https://gitlab.freedesktop.org/freetype/freetype/-/commit/6a431038c9113d906d66836cd7d216a5c630be7c