[Bug 227761] print/freetype2: Fonts aren't correctly rendered with 2.9
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Sat May 5 19:30:48 UTC 2018
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=227761
lightside <lightside at gmx.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #193039|0 |1
is obsolete| |
--- Comment #10 from lightside <lightside at gmx.com> ---
Created attachment 193066
--> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=193066&action=edit
The freetype2 debug output for ImageMagick convert program
Created debugging output for 2b3e0ef6c095cf6ea920e95fc9826dc39694162a commit:
http://git.savannah.gnu.org/cgit/freetype/freetype2.git/commit/?id=2b3e0ef6c095cf6ea920e95fc9826dc39694162a
-8<--
% echo $FREETYPE_PROPERTIES
FREETYPE_PROPERTIES: Undefined variable.
% pkg info fontconfig | grep -e ^Version -e ^Options -e ": on" -e ": off"
Version : 2.12.6,1
Options :
DOCS : on
HINTING_FULL : off
HINTING_MEDIUM : off
HINTING_NONE : off
HINTING_SLIGHT : on
NO_BITMAPS : off
% cat ${HOME}/.config/fontconfig/fonts.conf
<?xml version='1.0'?>
<!DOCTYPE fontconfig SYSTEM 'fonts.dtd'>
<fontconfig>
<match target="font">
<edit mode="assign" name="rgba">
<const>rgb</const>
</edit>
</match>
<match target="font">
<edit mode="assign" name="hinting">
<bool>true</bool>
</edit>
</match>
<match target="font">
<edit mode="assign" name="hintstyle">
<const>hintslight</const>
</edit>
</match>
<match target="font">
<edit mode="assign" name="antialias">
<bool>true</bool>
</edit>
</match>
<match target="font">
<edit mode="assign" name="lcdfilter">
<const>lcddefault</const>
</edit>
</match>
<match target="pattern">
<test qual="any" name="size" compare="less_eq">
<int>12</int>
</test>
<edit name="antialias" mode="assign">
<bool>false</bool>
</edit>
</match>
</fontconfig>
% git describe
VER-2-9-1-3-g2b3e0ef6c
% setenv OUTPUT `git describe`
% echo $OUTPUT
VER-2-9-1-3-g2b3e0ef6c
% ../test.sh build
<..>
% ../test.sh test
81d778f88b71adbd4d99f9b405d53779042d02043bacd8f94f76d690e6ec1600
not match
% mkdir -p ../output/$OUTPUT
% git show -s
--format="%s%nhttps://git.savannah.gnu.org/cgit/freetype/freetype2.git/commit/?id=%H"
Support symbol visibility features of Sun / Oracle C compilers. Reported by
Kiyoshi Kanazawa:
https://lists.gnu.org/archive/html/freetype-devel/2018-05/msg00008.html Thanks
to the suggestions by Alexei and Alan Coopersmith.
https://git.savannah.gnu.org/cgit/freetype/freetype2.git/commit/?id=2b3e0ef6c095cf6ea920e95fc9826dc39694162a
% git show -s --format="# %s%n#
https://git.savannah.gnu.org/cgit/freetype/freetype2.git/commit/?id=%H" >
../output/$OUTPUT/commit.txt
% seq 5 | xargs -I {} -L 1 env FT2_DEBUG="any:{}"
LD_PRELOAD=./objs/.libs/libfreetype.so sh -c "convert -append
../anonyme_visitenkarte.pdf image.jpg 2>&1 | tee ../output/$OUTPUT/{}.txt"
<..>
% ../test.sh clean
-->8-
Added VER-2-9-1-3-g2b3e0ef6c directory to debug_output.tar.bz2 archive from
attachment #193039.
Some comments to "Sat 05 May 2018 06:54:13 AM UTC" on
https://savannah.nongnu.org/bugs/?53739#comment5:
Need to note, that so called testing environment (attachment #193036) was
created on FreeBSD (10.3, 10.4) and tested for /bin/sh in FreeBSD base:
https://www.freebsd.org/cgi/man.cgi?query=sh&apropos=0&sektion=0&manpath=FreeBSD+10.4-RELEASE&arch=default&format=html
% sha256 /bin/sh
SHA256 (/bin/sh) =
ea533f9919285db456d647dade105846af9ba6d2638dee1f7ffe43c51460fef3
Also, I didn't propose to comment FT_CONFIG_OPTION_POSTSCRIPT_NAMES define in
include/freetype/config/ftoption.h file as a solution for upstream. This is
just a so called "workaround" (or an intermediate solution, because the
disabled GPN option is not default (i.e. OPTIONS_DEFAULT+=GPN in attachment
#193012) for print/freetype2 port), based on changes in
75cb071b3fbfa2315c5d458fee2bb465a14568ae commit:
https://git.savannah.gnu.org/cgit/freetype/freetype2.git/commit/?id=75cb071b3fbfa2315c5d458fee2bb465a14568ae
I just showed some examples about how to possibly debug print/freetype2 port on
FreeBSD for this PR. Also shared some testing environment (and results), which
I used for git bisect run, and asked about whether (disabled)
FT_CONFIG_OPTION_POSTSCRIPT_NAMES define affects this issue for PR's
reporter(s).
Thanks for attention.
--
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
More information about the freebsd-gnome
mailing list