[Bug 368561] ligature-related font rendering bug with 'ff' and 'fi'
by Red Hat Bugzilla
Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug.
https://bugzilla.redhat.com/show_bug.cgi?id=368561
--- Comment #47 from Ben Laenen <bl.bugs(a)gmail.com> 2008-12-05 16:28:14 EDT ---
> (In reply to comment #12)
> So I would expect Freetype to have a glyph list containing all Latin letters to
> get its autohinter metrics from, and that list doesn't contain the fi
> ligatures. If that's the case, it should be as easy as just adding them to that
> list. But of course, I have no idea how Freetype's autohinter works :-)
Looks like I knew what I was talking about above :-)
Anyway, I'd like to see how the autohinter would handle it when the ligatures
are not encoded at those code points, but out of bounds (i.e. without code
points, only reachable with opentype features), as is done in some fonts...
--
Configure bugmail: https://bugzilla.redhat.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
15 years, 5 months
rpms/freetype/F-10 freetype-autohinter-ligature.patch, NONE, 1.1 freetype.spec, 1.63, 1.64
by Behdad Esfahbod
Author: behdad
Update of /cvs/pkgs/rpms/freetype/F-10
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv716
Modified Files:
freetype.spec
Added Files:
freetype-autohinter-ligature.patch
Log Message:
* Fri Dec 05 2008 Behdad Esfahbod <besfahbo(a)redhat.com> 2.3.7-2
- Add freetype-autohinter-ligature.patch
- Resolves: #368561
freetype-autohinter-ligature.patch:
--- NEW FILE freetype-autohinter-ligature.patch ---
Index: src/autofit/aflatin.c
===================================================================
RCS file: /cvsroot/freetype/freetype2/src/autofit/aflatin.c,v
retrieving revision 1.65
diff -u -p -d -r1.65 aflatin.c
--- src/autofit/aflatin.c 7 Jul 2007 07:30:39 -0000 1.65
+++ src/autofit/aflatin.c 5 Dec 2008 21:15:46 -0000
@@ -2144,6 +2144,7 @@
{ 0x20A0, 0x20CF }, /* Currency Symbols */
{ 0x2150, 0x218F }, /* Number Forms */
{ 0x2460, 0x24FF }, /* Enclosed Alphanumerics */
+ { 0xFB00, 0xFB06 }, /* Latin Ligatures */
{ 0 , 0 }
};
Index: freetype.spec
===================================================================
RCS file: /cvs/pkgs/rpms/freetype/F-10/freetype.spec,v
retrieving revision 1.63
retrieving revision 1.64
diff -u -r1.63 -r1.64
--- freetype.spec 14 Aug 2008 15:41:06 -0000 1.63
+++ freetype.spec 5 Dec 2008 21:20:50 -0000 1.64
@@ -1,6 +1,8 @@
# Patented bytecode interpreter and patented subpixel rendering disabled by default.
# Pass '--with bytecode_interpreter' and '--with subpixel_rendering' on rpmbuild
# command-line to enable them.
+%define _with_subpixel_rendering 1}
+%define _without_subpixel_rendering 0}
%{!?_with_bytecode_interpreter: %{!?_without_bytecode_interpreter: %define _without_bytecode_interpreter --without-bytecode_interpreter}}
%{!?_with_subpixel_rendering: %{!?_without_subpixel_rendering: %define _without_subpixel_rendering --without-subpixel_rendering}}
@@ -9,7 +11,7 @@
Summary: A free and portable font rendering engine
Name: freetype
Version: 2.3.7
-Release: 1%{?dist}
+Release: 2%{?dist}
License: FTL or GPLv2+
Group: System Environment/Libraries
URL: http://www.freetype.org
@@ -32,6 +34,7 @@
Patch89: freetype-2.2.1-memcpy-fix.patch
# Upstream patches
+Patch101: freetype-autohinter-ligature.patch
Buildroot: %{_tmppath}/%{name}-%{version}-root-%(%{__id_u} -n)
@@ -93,6 +96,8 @@
%patch88 -p1 -b .multilib
%patch89 -p1 -b .memcpy
+%patch101 -p0 -b .autohinter-ligature
+
%build
%configure --disable-static
@@ -208,6 +213,10 @@
%{_libdir}/pkgconfig/
%changelog
+* Fri Dec 05 2008 Behdad Esfahbod <besfahbo(a)redhat.com> 2.3.7-2
+- Add freetype-autohinter-ligature.patch
+- Resolves: #368561
+
* Tue Aug 14 2008 Behdad Esfahbod <besfahbo(a)redhat.com> 2.3.7-1
- Update to 2.3.7
15 years, 5 months
rpms/freetype/devel freetype.spec,1.64,1.65
by Behdad Esfahbod
Author: behdad
Update of /cvs/pkgs/rpms/freetype/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv559
Modified Files:
freetype.spec
Log Message:
Fix changelog
Index: freetype.spec
===================================================================
RCS file: /cvs/pkgs/rpms/freetype/devel/freetype.spec,v
retrieving revision 1.64
retrieving revision 1.65
diff -u -r1.64 -r1.65
--- freetype.spec 5 Dec 2008 21:18:20 -0000 1.64
+++ freetype.spec 5 Dec 2008 21:20:20 -0000 1.65
@@ -213,7 +213,7 @@
%{_libdir}/pkgconfig/
%changelog
-* Fri Dec 05 Behdad Esfahbod <besfahbo(a)redhat.com> 2.3.7-2
+* Fri Dec 05 2008 Behdad Esfahbod <besfahbo(a)redhat.com> 2.3.7-2
- Add freetype-autohinter-ligature.patch
- Resolves: #368561
15 years, 5 months
rpms/freetype/devel freetype-autohinter-ligature.patch, NONE, 1.1 freetype.spec, 1.63, 1.64
by Behdad Esfahbod
Author: behdad
Update of /cvs/pkgs/rpms/freetype/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv32708
Modified Files:
freetype.spec
Added Files:
freetype-autohinter-ligature.patch
Log Message:
* Fri Dec 05 Behdad Esfahbod <besfahbo(a)redhat.com> 2.3.7-2
- Add freetype-autohinter-ligature.patch
- Resolves: #368561
freetype-autohinter-ligature.patch:
--- NEW FILE freetype-autohinter-ligature.patch ---
Index: src/autofit/aflatin.c
===================================================================
RCS file: /cvsroot/freetype/freetype2/src/autofit/aflatin.c,v
retrieving revision 1.65
diff -u -p -d -r1.65 aflatin.c
--- src/autofit/aflatin.c 7 Jul 2007 07:30:39 -0000 1.65
+++ src/autofit/aflatin.c 5 Dec 2008 21:15:46 -0000
@@ -2144,6 +2144,7 @@
{ 0x20A0, 0x20CF }, /* Currency Symbols */
{ 0x2150, 0x218F }, /* Number Forms */
{ 0x2460, 0x24FF }, /* Enclosed Alphanumerics */
+ { 0xFB00, 0xFB06 }, /* Latin Ligatures */
{ 0 , 0 }
};
Index: freetype.spec
===================================================================
RCS file: /cvs/pkgs/rpms/freetype/devel/freetype.spec,v
retrieving revision 1.63
retrieving revision 1.64
diff -u -r1.63 -r1.64
--- freetype.spec 14 Aug 2008 15:41:06 -0000 1.63
+++ freetype.spec 5 Dec 2008 21:18:20 -0000 1.64
@@ -1,6 +1,8 @@
# Patented bytecode interpreter and patented subpixel rendering disabled by default.
# Pass '--with bytecode_interpreter' and '--with subpixel_rendering' on rpmbuild
# command-line to enable them.
+%define _with_subpixel_rendering 1}
+%define _without_subpixel_rendering 0}
%{!?_with_bytecode_interpreter: %{!?_without_bytecode_interpreter: %define _without_bytecode_interpreter --without-bytecode_interpreter}}
%{!?_with_subpixel_rendering: %{!?_without_subpixel_rendering: %define _without_subpixel_rendering --without-subpixel_rendering}}
@@ -9,7 +11,7 @@
Summary: A free and portable font rendering engine
Name: freetype
Version: 2.3.7
-Release: 1%{?dist}
+Release: 2%{?dist}
License: FTL or GPLv2+
Group: System Environment/Libraries
URL: http://www.freetype.org
@@ -32,6 +34,7 @@
Patch89: freetype-2.2.1-memcpy-fix.patch
# Upstream patches
+Patch101: freetype-autohinter-ligature.patch
Buildroot: %{_tmppath}/%{name}-%{version}-root-%(%{__id_u} -n)
@@ -93,6 +96,8 @@
%patch88 -p1 -b .multilib
%patch89 -p1 -b .memcpy
+%patch101 -p0 -b .autohinter-ligature
+
%build
%configure --disable-static
@@ -208,6 +213,10 @@
%{_libdir}/pkgconfig/
%changelog
+* Fri Dec 05 Behdad Esfahbod <besfahbo(a)redhat.com> 2.3.7-2
+- Add freetype-autohinter-ligature.patch
+- Resolves: #368561
+
* Tue Aug 14 2008 Behdad Esfahbod <besfahbo(a)redhat.com> 2.3.7-1
- Update to 2.3.7
15 years, 5 months
[Bug 368561] ligature-related font rendering bug with 'ff' and 'fi'
by Red Hat Bugzilla
Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug.
https://bugzilla.redhat.com/show_bug.cgi?id=368561
--- Comment #43 from Kriston Rehberg <me(a)kriston.net> 2008-12-05 16:15:59 EDT ---
(In reply to comment #40)
> Your comments mostly just confuse people. Nicolas, Ben, and I know what we are
> talking about. Really.
If this is true then you would have already convinced upstream that it is a
FreeType problem, which did not happen until I engaged the two upstream
entities with my comments and efforts.
I want this problem to be resolved. Your comments about other people are
wholly unnecessary and we still sit here, years later, with this problem.
--
Configure bugmail: https://bugzilla.redhat.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
15 years, 5 months
[Bug 368561] ligature-related font rendering bug with 'ff' and 'fi'
by Red Hat Bugzilla
Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug.
https://bugzilla.redhat.com/show_bug.cgi?id=368561
--- Comment #42 from Behdad Esfahbod <besfahbo(a)redhat.com> 2008-12-05 16:13:44 EDT ---
Took me 2min to fix the bug:
diff -u -p -d -r1.65 aflatin.c
--- src/autofit/aflatin.c 7 Jul 2007 07:30:39 -0000 1.65
+++ src/autofit/aflatin.c 5 Dec 2008 21:12:08 -0000
@@ -2144,6 +2144,7 @@
{ 0x20A0, 0x20CF }, /* Currency Symbols */
{ 0x2150, 0x218F }, /* Number Forms */
{ 0x2460, 0x24FF }, /* Enclosed Alphanumerics */
+ { 0xFB00, 0xFB06 }, /* Latin Ligatures */
{ 0 , 0 }
};
--
Configure bugmail: https://bugzilla.redhat.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
15 years, 5 months