Official mirror of https://gitlab.freedesktop.org/freetype/freetype
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Tag:
Branch:
Tree:
115e927540
1076-regression-ft_render_glyph-returns-error-when-trying-to-render-bitmap-otb-fonts
1100-sdf-improvements
1100-sdf-precision-improvement
2.6.5
BRANCH-2-1-5
CACHE
GSoC-2017-ewaldhew
GSoC-2017-ewaldhew-wip
GSoC-2017-kushal
GSoC-2018-nikhil
GSoC-2018-parth
GSoC-2019-moazin
GSoC-2019-nikhil
GSoC-2020-anuj
GSoC-2020-greg
GSoC-2020-priyesh
GSoC-2023-Ahmet
Harmony
LAYOUT
OpenType-1.8
RGB
VER-2-0-4-PATCH
adjust
anuj-distance-field
apodtele-master-patch-38950
apodtele-master-patch-56869
apodtele-master-patch-68578
arv-test
arv-testing
arv-work
autohinter-properties
bitmap_convert
check-deprecated-warning-for-macosx
cmakelists-updates
cmap32
color
david-pic-changes
dbgmem-more-limiters
div-by-zero
ewaldhew-cleaned
ewaldhew-wip
fix-sdf-squared-distances
fix-x86_32.x86-compilation
gsoc-2023-ahmet-final
gsoc-anurag-2022
gsoc-anurag-2022-docs
gsoc-anurag-2022-final
gsoc-anurag-2023
gsoc-anurag-2023-docs-final
gsoc-anurag-2023-final
gsoc-anurag-docs-2023
gsoc-craig-2023
gsoc-craig-2023-final
hdmx-advances
hooks-via-module-property
int-not32-changes
int-not32-changes-2017
internal-zlib-update
master
msbuild-ci
msbuild-test
ot-svg-clean
parthw-cleaned
parthw-pk-vf
parthw-wip
priyesh_LogLibrary
remove_sse2
slot-inflate
smooth_malloc
truetype-mm
unclamp
unsigned-revisions
update-zlib-sources
wl/colr
wl/meson-logging
BETA-5
BETA-6
BETA-7
BETA-8
CACHE-STEP-1
CACHE-STEP-2
DATE-050920
PRE-2-0-1
PRE-2-0-6
RELEASE-2-0
TEST-2-0-9
VER-2-0
VER-2-0-1
VER-2-0-2
VER-2-0-2-TEST
VER-2-0-3
VER-2-0-4
VER-2-0-5
VER-2-0-6
VER-2-0-7
VER-2-0-8
VER-2-0-9
VER-2-1-0
VER-2-1-1
VER-2-1-1-RC1
VER-2-1-10
VER-2-1-2
VER-2-1-2-RC1
VER-2-1-3
VER-2-1-3-RC1
VER-2-1-3-RC2
VER-2-1-3-RC3
VER-2-1-4
VER-2-1-4-RC1
VER-2-1-4-RC2
VER-2-1-5
VER-2-1-5-RC1
VER-2-1-5-RC2
VER-2-1-6
VER-2-1-7
VER-2-1-8
VER-2-1-8-RC1
VER-2-1-9
VER-2-10-0
VER-2-10-1
VER-2-10-2
VER-2-10-3
VER-2-10-4
VER-2-11-0
VER-2-11-1
VER-2-12-0
VER-2-12-1
VER-2-13-0
VER-2-13-1
VER-2-13-2
VER-2-13-3
VER-2-2-0
VER-2-2-0-RC1
VER-2-2-0-RC2
VER-2-2-0-RC3
VER-2-2-0-RC4
VER-2-2-1
VER-2-3-0
VER-2-3-0-FINAL
VER-2-3-0-RC1
VER-2-3-0-RC2
VER-2-3-1
VER-2-3-1-FINAL
VER-2-3-10
VER-2-3-11
VER-2-3-12
VER-2-3-2
VER-2-3-3
VER-2-3-4
VER-2-3-5
VER-2-3-5-REAL
VER-2-3-6
VER-2-3-7
VER-2-3-8
VER-2-3-9
VER-2-4-0
VER-2-4-1
VER-2-4-10
VER-2-4-11
VER-2-4-12
VER-2-4-12-beta
VER-2-4-2
VER-2-4-3
VER-2-4-4
VER-2-4-5
VER-2-4-6
VER-2-4-7
VER-2-4-8
VER-2-4-9
VER-2-5-0
VER-2-5-0-1
VER-2-5-1
VER-2-5-2
VER-2-5-3
VER-2-5-4
VER-2-5-5
VER-2-6
VER-2-6-1
VER-2-6-2
VER-2-6-3
VER-2-6-4
VER-2-6-5
VER-2-7
VER-2-7-1
VER-2-8
VER-2-8-1
VER-2-9
VER-2-9-1
VER-2-BETA2
VER-2-BETA3
VER-2-BETA4
freetype
freetype2
import
start
${ noResults }
freetype/include
Seigo Nonaka
115e927540
`deltaSet` is an array of packed integers that can be 32 bits, 16 bits, or 8 bits. Before this change, these values were unpacked to 32-bit integers. However, this can cause big heap allocations, e.g., around 500 KByte for 'NotoSansCJK'. To reduce this amount, store the packed integers and unpack them just before passing to the calculation. At calculation time, due to the variable length of region indices, temporary heap allocations are necessary. This heap allocation is not negligible and visible in `ftbench` results. So, use stack-allocated arrays for short array calculations. Fixes #1230. * include/freetype/internal/ftmmtypes.h (GX_ItemVarDataRec): New fields `wordDeltaCount` and `longWords`. * src/truetype/ttgxvar.c (tt_var_load_item_variation_store): Load packed data. (tt_var_get_item_delta): Unpack data before applying. |
2 years ago | |
---|---|---|
.. | ||
freetype | [truetype] Reduce heap allocation of `deltaSet` variation data. | 2 years ago |
ft2build.h | Update all copyright notices. | 2 years ago |