Date: Sun, 04 Jun 2017 23:23:00 +0000 From: bugzilla-noreply@freebsd.org To: gnome@FreeBSD.org Subject: [Bug 219608] print/freetype2 produces incorrect line spacing for some fonts Message-ID: <bug-219608-6497-AExoGzNVCT@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-219608-6497@https.bugs.freebsd.org/bugzilla/> References: <bug-219608-6497@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D219608 --- Comment #3 from lightside <lightside@gmx.com> --- Created attachment 183227 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D183227&action= =3Dedit Some files/patch-src_truetype_ttdriver.c patch for test (for v2.8) I attached some patch for test, which uses previous approach as in following commit: http://git.savannah.gnu.org/cgit/freetype/freetype2.git/commit/?id=3Db0962a= c34e66052ccfee7996e5468f30d4bd5a72 This reverts changes for src/truetype/ttdriver.c file in following commit: http://git.savannah.gnu.org/cgit/freetype/freetype2.git/commit/?id=3Dbcc74f= 4dafee25ea89f1d3144646cba7e30f9908 with some changes for 2.8 version to fix following error: -8<-- In file included from <..>/freetype2/work/freetype-2.8/src/truetype/truetype.c:22: <..>/freetype2/work/freetype-2.8/src/truetype/ttdriver.c:360:28: error:=20 assigning to 'FT_Size_Metrics' (aka 'struct FT_Size_Metrics_') from incompatible type 'FT_Size_Metrics *' (aka 'struct FT_Size_Metrics_ *'); dereference with * ttsize->root.metrics =3D ttsize->metrics; ^ ~~~~~~~~~~~~~~~ * 1 error generated. -->8- e.g. "ttsize->root.metrics =3D *ttsize->metrics;". For example, copy patch to print/freetype2/files directory and rebuild port= for test. Not sure if this is right approach, but possible to make it optional (for EXTRA_PATCHES) as an alternative to AF_CONFIG_OPTION_TT_SIZE_METRICS define (TT_SIZE_METRICS port's option): http://git.savannah.gnu.org/cgit/freetype/freetype2.git/tree/src/autofit/af= loader.c?id=3DVER-2-8#n255 before possible fix available in new version (and/or some changes for affec= ted applications). --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-219608-6497-AExoGzNVCT>