Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 04 May 2018 03:33:27 +0000
From:      bugzilla-noreply@freebsd.org
To:        gnome@FreeBSD.org
Subject:   [Bug 227761] print/freetype2: Fonts aren't correctly rendered with 2.9
Message-ID:  <bug-227761-6497-HHf4n4Q0p3@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-227761-6497@https.bugs.freebsd.org/bugzilla/>
References:  <bug-227761-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=3D227761

--- Comment #7 from lightside <lightside@gmx.com> ---
Created attachment 193039
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D193039&action=
=3Dedit
The freetype2 debug output for ImageMagick convert program

(In reply to comment #6)
> I think, also possible to enable some debugging features
> in a FreeType 2 builds
Possible to compare debugging outputs for previous and found
75cb071b3fbfa2315c5d458fee2bb465a14568ae commit.
-8<--
% fetch -o freetype2_bisect.tar.bz2
"https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D193036"
<..>
% sha256 freetype2_bisect.tar.bz2=20
SHA256 (freetype2_bisect.tar.bz2) =3D
f521934f01a2fdbaa5a9b129ea65c70dc510f82310fb23deba92df71da7528af
% mkdir bisect
% tar -xf freetype2_bisect.tar.bz2 -C bisect
% cd bisect
% fetch -o - "https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D193013"=
 | tar
-xf - --include anonyme_visitenkarte.pdf
<..>
% sha256 anonyme_visitenkarte.pdf
SHA256 (anonyme_visitenkarte.pdf) =3D
949b114d3e2cf21fc7f97ade1491c73c292fee04525c2cf551ab05543901d6ae
% git clone https://git.savannah.gnu.org/git/freetype/freetype2.git
<..>
% cd freetype2
% git checkout 75cb071b3fbfa2315c5d458fee2bb465a14568ae^
<..>
HEAD is now at 390048fa4 Remove deprecated comment.
% ../test.sh build
<..>
% convert --version | head -1
Version: ImageMagick 6.9.9-28 Q16 amd64 2018-04-29 http://www.imagemagick.o=
rg
% mkdir -p ../output/prev
% git show -s --format=3D"# %s%n#
https://git.savannah.gnu.org/cgit/freetype/freetype2.git/commit/?id=3D%H"
75cb071b3fbfa2315c5d458fee2bb465a14568ae^ > ../output/prev/commit.txt
% seq 5 | xargs -I {} -L 1 env FT2_DEBUG=3D"any:{}"
LD_PRELOAD=3D./objs/.libs/libfreetype.so sh -c "convert -append
../anonyme_visitenkarte.pdf image.jpg 2>&1 | tee ../output/prev/{}.txt"
<..>
% ../test.sh clean
% git checkout 75cb071b3fbfa2315c5d458fee2bb465a14568ae
Previous HEAD position was 390048fa4 Remove deprecated comment.
HEAD is now at 75cb071b3 [sfnt] Synthesize a Unicode charmap if one is miss=
ing.
% ../test.sh build
<..>
% mkdir -p ../output/found
% git show -s --format=3D"# %s%n#
https://git.savannah.gnu.org/cgit/freetype/freetype2.git/commit/?id=3D%H"
75cb071b3fbfa2315c5d458fee2bb465a14568ae > ../output/found/commit.txt
% seq 5 | xargs -I {} -L 1 env FT2_DEBUG=3D"any:{}"
LD_PRELOAD=3D./objs/.libs/libfreetype.so sh -c "convert -append
../anonyme_visitenkarte.pdf image.jpg 2>&1 | tee ../output/found/{}.txt"
<..>
% ../test.sh clean
% git checkout master
<..>
-->8-

Attached archive with output results for various debugging levels (from 1 to
5), which possible to compare with using diff (or other) command:
% diff -ruNd prev found > result.diff

The question is how to interpret such results and find related changes in t=
he
source code.
The first guess was about FT_CONFIG_OPTION_POSTSCRIPT_NAMES define (see com=
ment
#3).

--=20
You are receiving this mail because:
You are on the CC list for the bug.
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-227761-6497-HHf4n4Q0p3>