• Zhiyi Zhang's avatar
    dwrite: Use cache when font transform matrix contains only translation offsets. · f2df5a6c
    Zhiyi Zhang authored
    Word 2016 queries a lot of font glyph bounding boxes and bitmaps with translation matrices. The
    result of these queries is not cached because the transform matrix is not the identity matrix.
    However, the translation offsets don't affect FreeType font operations at all, which can be
    verified in ft_matrix_from_dwrite_matrix() called by get_glyph_transform(). So these results with
    translation matrices can be cached as well. With this patch, Word 2016 stuttering is reduced
    significantly.
    f2df5a6c
Name
Last commit
Last update
dlls Loading commit data...
documentation Loading commit data...
fonts Loading commit data...
include Loading commit data...
libs Loading commit data...
loader Loading commit data...
nls Loading commit data...
po Loading commit data...
programs Loading commit data...
server Loading commit data...
tools Loading commit data...
.editorconfig Loading commit data...
.gitlab-ci.yml Loading commit data...
.mailmap Loading commit data...
ANNOUNCE Loading commit data...
AUTHORS Loading commit data...
COPYING.LIB Loading commit data...
LICENSE Loading commit data...
LICENSE.OLD Loading commit data...
MAINTAINERS Loading commit data...
README Loading commit data...
VERSION Loading commit data...
aclocal.m4 Loading commit data...
configure Loading commit data...
configure.ac Loading commit data...