Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 01 Jul 2017 08:05:44 +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-dCArxkPpJ0@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-219608-6497@https.bugs.freebsd.org/bugzilla/>

index | next in thread | previous in thread | raw e-mail

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=219608

--- Comment #27 from lightside <lightside@gmx.com> ---
Created attachment 183980
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=183980&action=edit
Testing environment for freetype2, based on git bisect

Attached some archive with testing environment, which I created.

How to use:
1. Extract (downloaded) attached archive to new directory:
% mkdir bisect
% tar -xf freetype2_bisect.tar.bz2 -C bisect
2. Change destination to new directory and clone freetype2 git repository in
it:
% cd bisect
% git clone https://git.savannah.gnu.org/git/freetype/freetype2.git
or
% git clone https://github.com/cpp-mirrors/freetype2.git
3. Configure needed options in test.sh file, e.g. OPTION_SUBPIXEL_HINTING,
OPTION_LONG_PCF_NAMES, OPTION_SUBPIXEL_RENDERING, which will be used, when
available.
4. Configure "result" and "expected_checksum" variables in test.sh file. For
example:
result=`./${TEST_APP} -d 96 -s 14
/usr/local/share/fonts/dejavu/DejaVuSansMono.ttf`
4.1 Then checkout VER-2-7-1:
% cd freetype2
% git checkout VER-2-7-1
4.2 And run test.sh in related directory:
% ../test.sh
If there were no errors, this gives some sha256 checksum (in case of using the
same version of tested font), which need to specify for expected_checksum
variable in test.sh file:
expected_checksum="0d4844bc2209e6038bf6e2090083bc6d3418c4576577fd28cb661f70a2a3411b"
4.3. (Optional) Checkout previous commit, e.g. master:
% git checkout master
5. Configure git bisect and run it:
% git bisect start VER-2-8 VER-2-7-1 --
% git bisect run ../test.sh
6. At the end this may show found commit, which possible to check with `git
bisect visualize` and `git bisect log` commands.
7. Finish bisection search and go back to (previous) commit:
% git bisect reset

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.

home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-219608-6497-dCArxkPpJ0>