[google-crosextra-caladea-fonts] Resolves:rh#1056029 - Fontconfig and summary required fixes
by Parag Nemade
commit 4fb5d08149ea878435404fb44c41f100e46feff7
Author: Parag Nemade <pnemade(a)redhat.com>
Date: Wed Jan 22 15:20:33 2014 +0530
Resolves:rh#1056029 - Fontconfig and summary required fixes
62-google-crosextra-caladea-fontconfig.conf | 4 ++--
google-crosextra-caladea-fonts.spec | 9 ++++++---
2 files changed, 8 insertions(+), 5 deletions(-)
---
diff --git a/62-google-crosextra-caladea-fontconfig.conf b/62-google-crosextra-caladea-fontconfig.conf
index 443b993..8ae2f2a 100644
--- a/62-google-crosextra-caladea-fontconfig.conf
+++ b/62-google-crosextra-caladea-fontconfig.conf
@@ -2,7 +2,7 @@
<!DOCTYPE fontconfig SYSTEM "../fonts.dtd">
<fontconfig>
<alias>
- <family>sans-serif</family>
+ <family>serif</family>
<prefer>
<family>Caladea</family>
</prefer>
@@ -10,7 +10,7 @@
<alias>
<family>Caladea</family>
<default>
- <family>sans-serif</family>
+ <family>serif</family>
</default>
</alias>
</fontconfig>
diff --git a/google-crosextra-caladea-fonts.spec b/google-crosextra-caladea-fonts.spec
index ad42293..db009ed 100644
--- a/google-crosextra-caladea-fonts.spec
+++ b/google-crosextra-caladea-fonts.spec
@@ -6,8 +6,8 @@
Name: %{fontname}-fonts
Version: 1.002
-Release: 0.2.20130214%{?dist}
-Summary: Sans-serif font metric-compatible with Cambria font
+Release: 0.3.20130214%{?dist}
+Summary: Serif font metric-compatible with Cambria font
Group: User Interface/X
# License added in font as "otfinfo -i Caladea-Regular.ttf | grep License"
@@ -23,7 +23,7 @@ BuildRequires: fontpackages-devel
Requires: fontpackages-filesystem
%description
-Caladea is metric-compatible with Cambria font. This font is sans-serif
+Caladea is metric-compatible with Cambria font. This font is a serif
typeface family based on Lato.
%prep
@@ -57,6 +57,9 @@ ln -s %{_fontconfig_templatedir}/%{fontconf62}-fontconfig.conf \
%changelog
+* Wed Jan 22 2014 Parag Nemade <pnemade AT redhat DOT com> - 1.002-0.3.20130214
+- Resolves:rh#1056029 - Fontconfig and summary required fixes
+
* Tue Oct 15 2013 Parag Nemade <pnemade AT redhat DOT com> - 1.002-0.2.20130214
- Added license information in comments
10 years, 5 months
[Bug 1056030] New: Fontconfig and summary required fixes
by Red Hat Bugzilla
https://bugzilla.redhat.com/show_bug.cgi?id=1056030
Bug ID: 1056030
Summary: Fontconfig and summary required fixes
Product: Red Hat Enterprise Linux 7
Version: 7.0
Component: google-crosextra-caladea-fonts
Assignee: pnemade(a)redhat.com
Reporter: psatpute(a)redhat.com
CC: fonts-bugs(a)lists.fedoraproject.org,
i18n-bugs(a)lists.fedoraproject.org, pnemade(a)redhat.com
Depends On: 1056029
+++ This bug was initially created as a clone of Bug #1056029 +++
Description of problem:
This is not a sans-serif fonts.
Version-Release number of selected component (if applicable):
google-crosextra-caladea-fonts-1.002-0.2.20130214
How reproducible:
everytime
Steps to Reproduce:
1. Apply fonts to any text. There is serif with each glyph.
2. Open /usr/share/fonts/google-crosextra-caladea/Caladea-Regular.ttf in
fontforge
3. Element->Fontinfo-> OS/2 (PFM Value)
Actual results:
its listed as a sans-serif
Expected results:
it should be serif
Additional info:
Referenced Bugs:
https://bugzilla.redhat.com/show_bug.cgi?id=1056029
[Bug 1056029] Fontconfig and summary required fixes
--
You are receiving this mail because:
You are on the CC list for the bug.
Unsubscribe from this bug https://bugzilla.redhat.com/token.cgi?t=BYl4gUF1jS&a=cc_unsubscribe
10 years, 5 months
[Bug 1053798] [abrt] gimp: pango_ot_info_get(): gimp-2.8 killed by SIGSEGV
by Red Hat Bugzilla
https://bugzilla.redhat.com/show_bug.cgi?id=1053798
Nils Philippsen <nphilipp(a)redhat.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |fonts-bugs(a)lists.fedoraproj
| |ect.org,
| |i18n-bugs(a)lists.fedoraproje
| |ct.org, tagoh(a)redhat.com
Component|gimp |pango
Assignee|nphilipp(a)redhat.com |tagoh(a)redhat.com
--- Comment #12 from Nils Philippsen <nphilipp(a)redhat.com> ---
This bug exists in older Fedora releases as well:
Fedora 19: bug #990653
Fedora 18: bug #948292
I'm mentioning the latter because there's a comment in it mentioning that it
only happens with specific fonts:
"Emmett Culley 2013-08-19 22:10:36 EDT
I found that is crashes when a stix font is either selected or even appears in
the scroll window.
Gimp no longer crashes after removing the stix fonts from my system ."
The issue seems to be in pango, here's part of the backtrace:
--- 8< ---
Thread 1 (Thread 0xb35bf880 (LWP 5239)):
#0 pango_ot_info_get (face=face@entry=0x0) at pango-ot-info.c:91
_g_boolean_var_ = <optimized out>
info = <optimized out>
#1 0xb755798f in gimp_font_get_sample_string (font_desc=0xbab60f00,
context=<optimized out>) at gimpfont.c:641
font = 0xba301600
tt = <optimized out>
ot_alts = {-1233602475, -1162584064, -1238862369, -1233954773}
os2 = <optimized out>
n_sr_alts = 0
face = 0x0
--- >8 ---
Notably, font is not NULL but face is. Here's the corresponding GIMP source
code (frame #1):
--- 8< --- app/text/gimpfont.c:636 -----------------------
font = pango_context_load_font (context, font_desc);
g_return_val_if_fail (PANGO_IS_FC_FONT (font), "Aa");
face = pango_fc_font_lock_face (PANGO_FC_FONT (font));
ot_info = pango_ot_info_get (face);
--- >8 ---------------------------------------------------
I.e. font is the result of pango_context_load_font(), is a valid FcFont object,
but the face returned by pango_fc_font_lock_face() is NULL which subsequently
lets pango_ot_info_get() crash. Changing component accordingly.
--
You are receiving this mail because:
You are on the CC list for the bug.
Unsubscribe from this bug https://bugzilla.redhat.com/token.cgi?t=vEW9CT0f48&a=cc_unsubscribe
10 years, 5 months