Package Details: freetype2-ttmetrics 2.9.1-1

Git Clone URL: https://aur.archlinux.org/freetype2-ttmetrics.git (read-only)
Package Base: freetype2-ttmetrics
Description: Font rasterization library with TrueType metrics enabled
Upstream URL: https://www.freetype.org/
Licenses: GPL
Conflicts: freetype2
Provides: freetype2=2.9.1, libfreetype.so
Submitter: Chazza
Maintainer: Chazza
Last Packager: Chazza
Votes: 1
Popularity: 0.000359
First Submitted: 2017-05-21 15:25
Last Updated: 2018-06-01 08:43

Required by (560)

Sources (7)

Latest Comments

ashka commented on 2018-02-02 17:11

@Chazza Thanks, that fixes it for me too.

Chazza commented on 2018-02-02 15:37

@ashka Thanks for reporting. There was indeed a problem with revert_allow_linear_scaling.patch. It was just a wholesale reversion of the upstream commit that introduced the regression. I've replaced it with a better patch from freebsd and the crashes don't happen for me anymore.

ashka commented on 2018-02-01 17:04

mpv 1:0.27.0-6 with libass 0.14.0-1 crashes when revert_allow_linear_scaling.patch is used:

            Stack trace of thread 15959:
            #0  0x00007f41610a80aa n/a (libfreetype.so.6)
            #1  0x00007f41610917e6 FT_Request_Size (libfreetype.so.6)
            #2  0x00007f4168b55fdb n/a (libass.so.9)
            #3  0x00007f4168b56268 n/a (libass.so.9)
            #4  0x00007f4168b564f2 n/a (libass.so.9)
            #5  0x00007f4168b5fb85 n/a (libass.so.9)
            #6  0x00007f4168b5b9d3 n/a (libass.so.9)
            #7  0x00007f4168b5c16b ass_render_frame (libass.so.9)
            #8  0x00005637801ba850 n/a (mpv)
            #9  0x00005637801bb017 n/a (mpv)
            #10 0x00005637801b9f74 n/a (mpv)
            #11 0x00005637801df584 n/a (mpv)
            #12 0x00005637801ea381 n/a (mpv)
            #13 0x00005637801f14bd n/a (mpv)
            #14 0x00005637801fa7d6 n/a (mpv)
            #15 0x00005637801f7479 n/a (mpv)
            #16 0x00007f416a4d108c start_thread (libpthread.so.0)
            #17 0x00007f4166843e7f __clone (libc.so.6)

I'm not sure whether this is a bug with the patch or mpv/libass misusing freetype. No crash happens when commenting out the patch in the PKGBUILD. mpv doesn't crash with freetype2 2.9-2 or previous versions of freetype2.