[Bug 487913] Review Request: culmus-fancy-fonts - Fancy fonts for Hebrew
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=487913
Nadav Har'El <nyh(a)math.technion.ac.il> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |nyh(a)math.technion.ac.il
Flag|needinfo?(danken(a)cs.technio |
|n.ac.il) |
--- Comment #11 from Nadav Har'El <nyh(a)math.technion.ac.il> 2012-01-29 06:29:57 EST ---
Hi, I'm curious what has become of this issue. The "culmus fancy" fonts (see
http://culmus.sourceforge.net/fancy/index.html) are Hebrew fonts, that are
fancy in the sense that they are designed for special uses (headings, signs,
etc.) more than general printed text, but are nevertheless very useful for
Hebrew writers, and Fedora should have them. My favorite Culmus font, for
example, which I use is the "Culmus Gan" font, which is part of Culmus's "fancy
fonts", not the Culmus core fonts.
Unfortunately, it appears that since Fedora 11 (which had a single
"fonts-hebrew-fancy" package with all the Culmus fancy fonts), these fonts are
no longer available in Fedora, which is a shame, as these are very nice and
useful free fonts.
In recent Fedora releases, the large many-font packages were replaced by small
single-font packages, and we have now over a dozen culmus-* packages, each with
a single font. It should be relatively straightforward to add more of these
packages, a package for each Culmus fancy font? I think this would be better,
and more fitting current Fedora organization, to have a separate package for
each font, and not a single package for all Clumus Fancy fonts like we had
before Fedora 11.
Who is the current maintainer of the culmus-* packages? Can I be of any help?
--
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.
12 years, 4 months
[fontforge] Add patch for libpng15
by paragn
commit 5ac6d84774b318cd18edc5f490bc22e31f61a92b
Author: Parag Nemade <paragn(a)fedoraproject.org>
Date: Sat Jan 28 20:14:06 2012 +0530
Add patch for libpng15
fontforge-20110222-libpng15.patch | 176 +++++++++++++++++++++++++++++++++++++
fontforge.spec | 8 ++-
2 files changed, 183 insertions(+), 1 deletions(-)
---
diff --git a/fontforge-20110222-libpng15.patch b/fontforge-20110222-libpng15.patch
new file mode 100644
index 0000000..156e3c1
--- /dev/null
+++ b/fontforge-20110222-libpng15.patch
@@ -0,0 +1,176 @@
+From e76a8a537dbf8c47024f5863f9f18ed55ad686d3 Mon Sep 17 00:00:00 2001
+From: michal-n <michal-n(a)users.sourceforge.net>
+Date: Sat, 17 Dec 2011 15:24:12 +0100
+Subject: [PATCH] There was no need to panic...
+ The patch from Paul contained errant reference to 'png_color16'.
+ The correct form is 'png_color_16'. So, patch reapplied.
+
+---
+ gutils/gimagewritepng.c | 100 +++++++++++++++++++++++-----------------------
+ 1 files changed, 50 insertions(+), 50 deletions(-)
+
+diff --git a/gutils/gimagewritepng.c b/gutils/gimagewritepng.c
+index 43fa097..a88ec63 100644
+--- a/gutils/gimagewritepng.c
++++ b/gutils/gimagewritepng.c
+@@ -236,6 +236,7 @@ return(false);
+ }
+ } else {
+ if ( base->trans!=-1 ) {
++ trans_color = galloc(sizeof(png_color_16));
+ trans_color->red = COLOR_RED(base->trans);
+ trans_color->green = COLOR_GREEN(base->trans);
+ trans_color->blue = COLOR_BLUE(base->trans);
+@@ -258,6 +259,7 @@ return(false);
+ _png_write_end(png_ptr, info_ptr);
+
+ if ( trans_alpha!=NULL ) gfree(trans_alpha);
++ if ( trans_color!=NULL ) gfree(trans_color);
+ if ( palette!=NULL ) gfree(palette);
+ _png_destroy_write_struct(&png_ptr, &info_ptr);
+ gfree(rows);
+@@ -296,7 +298,7 @@ static void user_error_fn(png_structp png_ptr, png_const_charp error_msg) {
+ #if (PNG_LIBPNG_VER < 10500)
+ longjmp(png_ptr->jmpbuf,1);
+ #else
+- _png_longjmp (png_ptr, 1);
++ png_longjmp (png_ptr, 1);
+ #endif
+ }
+
+@@ -310,6 +312,12 @@ int GImageWrite_Png(GImage *gi, FILE *fp, int progressive) {
+ png_infop info_ptr;
+ png_byte **rows;
+ int i;
++ int bit_depth;
++ int color_type;
++ int num_palette;
++ png_bytep trans_alpha = NULL;
++ png_color_16p trans_color = NULL;
++ png_colorp palette = NULL;
+
+ png_ptr = png_create_write_struct(PNG_LIBPNG_VER_STRING,
+ (void *)NULL, user_error_fn, user_warning_fn);
+@@ -336,65 +344,60 @@ return(false);
+
+ png_init_io(png_ptr, fp);
+
+- info_ptr->width = base->width;
+- info_ptr->height = base->height;
+- info_ptr->bit_depth = 8;
+- info_ptr->valid = 0;
+- info_ptr->interlace_type = progressive;
+- if ( base->trans!=-1 ) {
+- info_ptr->num_trans = 1;
+- info_ptr->valid |= PNG_INFO_tRNS;
++ bit_depth = 8;
++ num_palette = base->clut==NULL?2:base->clut->clut_len;
++ if ( base->image_type==it_index || base->image_type==it_bitmap ) {
++ color_type = PNG_COLOR_TYPE_PALETTE;
++ if ( num_palette<=2 )
++ bit_depth=1;
++ else if ( num_palette<=4 )
++ bit_depth=2;
++ else if ( num_palette<=16 )
++ bit_depth=4;
++ } else {
++ color_type = PNG_COLOR_TYPE_RGB;
++ if ( base->image_type == it_rgba )
++ color_type = PNG_COLOR_TYPE_RGB_ALPHA;
+ }
++
++ png_set_IHDR(png_ptr, info_ptr, base->width, base->height,
++ bit_depth, color_type, progressive,
++ PNG_COMPRESSION_TYPE_DEFAULT, PNG_FILTER_TYPE_DEFAULT);
+ if ( base->image_type==it_index || base->image_type==it_bitmap ) {
+- info_ptr->color_type = PNG_COLOR_TYPE_PALETTE;
+- info_ptr->valid |= PNG_INFO_PLTE;
+- info_ptr->num_palette = base->clut==NULL?2:base->clut->clut_len;
+- info_ptr->palette = (png_color *) galloc(info_ptr->num_palette*sizeof(png_color));
++ palette = (png_color *) galloc(num_palette*sizeof(png_color));
+ if ( base->clut==NULL ) {
+- info_ptr->palette[0].red = info_ptr->palette[0].green = info_ptr->palette[0].blue = 0;
+- info_ptr->palette[1].red = info_ptr->palette[1].green = info_ptr->palette[1].blue = 0xff;
++ palette[0].red = palette[0].green = palette[0].blue = 0;
++ palette[1].red = palette[1].green = palette[1].blue = 0xff;
+ } else {
+- for ( i=0; i<info_ptr->num_palette; ++i ) {
++ for ( i=0; i<num_palette; ++i ) {
+ long col = base->clut->clut[i];
+- info_ptr->palette[i].red = COLOR_RED(col);
+- info_ptr->palette[i].green = COLOR_GREEN(col);
+- info_ptr->palette[i].blue = COLOR_BLUE(col);
++ palette[i].red = COLOR_RED(col);
++ palette[i].green = COLOR_GREEN(col);
++ palette[i].blue = COLOR_BLUE(col);
+ }
+ }
+- if ( info_ptr->num_palette<=2 )
+- info_ptr->bit_depth=1;
+- else if ( info_ptr->num_palette<=4 )
+- info_ptr->bit_depth=2;
+- else if ( info_ptr->num_palette<=16 )
+- info_ptr->bit_depth=4;
+- if ( info_ptr->num_palette<=16 )
++ png_set_PLTE(png_ptr, info_ptr, palette, num_palette);
++ if ( num_palette<=16 )
+ png_set_packing(png_ptr);
++
+ if ( base->trans!=-1 ) {
+-#if ( PNG_LIBPNG_VER_MAJOR > 1 || PNG_LIBPNG_VER_MINOR > 2 )
+- info_ptr->trans_alpha = galloc(1);
+- info_ptr->trans_alpha[0] = base->trans;
+-#else
+- info_ptr->trans = galloc(1);
+- info_ptr->trans[0] = base->trans;
+-#endif
++ trans_alpha = galloc(1);
++ trans_alpha[0] = base->trans;
+ }
+ } else {
+- info_ptr->color_type = PNG_COLOR_TYPE_RGB;
+ if ( base->trans!=-1 ) {
+-#if ( PNG_LIBPNG_VER_MAJOR > 1 || PNG_LIBPNG_VER_MINOR > 2 )
+- info_ptr->trans_color.red = COLOR_RED(base->trans);
+- info_ptr->trans_color.green = COLOR_GREEN(base->trans);
+- info_ptr->trans_color.blue = COLOR_BLUE(base->trans);
+-#else
+- info_ptr->trans_values.red = COLOR_RED(base->trans);
+- info_ptr->trans_values.green = COLOR_GREEN(base->trans);
+- info_ptr->trans_values.blue = COLOR_BLUE(base->trans);
+-#endif
++ trans_color = galloc(sizeof(png_color_16));
++ trans_color->red = COLOR_RED(base->trans);
++ trans_color->green = COLOR_GREEN(base->trans);
++ trans_color->blue = COLOR_BLUE(base->trans);
+ }
+ }
++ if ( base->trans!=-1 ) {
++ png_set_tRNS(png_ptr, info_ptr, trans_alpha, 1, trans_color);
++ }
+ png_write_info(png_ptr, info_ptr);
+
+- if (info_ptr->color_type == PNG_COLOR_TYPE_RGB)
++ if (color_type == PNG_COLOR_TYPE_RGB)
+ png_set_filler(png_ptr, '\0', PNG_FILLER_BEFORE);
+
+ rows = galloc(base->height*sizeof(png_byte *));
+@@ -405,12 +408,9 @@ return(false);
+
+ png_write_end(png_ptr, info_ptr);
+
+-#if ( PNG_LIBPNG_VER_MAJOR > 1 || PNG_LIBPNG_VER_MINOR > 2 )
+- if ( info_ptr->trans_alpha!=NULL ) gfree(info_ptr->trans_alpha);
+-#else
+- if ( info_ptr->trans!=NULL ) gfree(info_ptr->trans);
+-#endif
+- if ( info_ptr->palette!=NULL ) gfree(info_ptr->palette);
++ if ( trans_alpha!=NULL ) gfree(trans_alpha);
++ if ( trans_color!=NULL ) gfree(trans_color);
++ if ( palette!=NULL ) gfree(palette);
+ png_destroy_write_struct(&png_ptr, &info_ptr);
+ gfree(rows);
+ return( 1 );
+--
+1.7.4.1
+
diff --git a/fontforge.spec b/fontforge.spec
index dbdce8a..3dc184e 100644
--- a/fontforge.spec
+++ b/fontforge.spec
@@ -5,7 +5,7 @@
Name: fontforge
Version: 20110222
-Release: 6%{?dist}
+Release: 7%{?dist}
Summary: Outline and bitmap font editor
Group: Applications/Publishing
@@ -16,6 +16,8 @@ Source2: http://downloads.sourceforge.net/fontforge/fontforge_htdocs-%{do
Patch1: fontforge-20090224-pythondl.patch
Patch2: fontforge-20100501-select-points-crash.patch
Patch3: fontforge-20110222-multilib.patch
+#upstream patch
+Patch4: fontforge-20110222-libpng15.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Requires: xdg-utils
@@ -59,6 +61,7 @@ to compile applications against fontforge.
%patch1 -p1
%patch2 -p1
%patch3 -p0
+%patch4 -p1
mkdir htdocs
tar xjf %{SOURCE2} -C htdocs
@@ -149,6 +152,9 @@ update-mime-database %{_datadir}/mime &> /dev/null || :
%{_libdir}/pkgconfig/*.pc
%changelog
+* Sat Jan 28 2012 Parag Nemade <paragn AT fedoraproject.org> - 2011022-7
+- Add patch for libpng15
+
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng(a)lists.fedoraproject.org> - 20110222-6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
12 years, 4 months
[Bug 753799] CVE-2011-3439 freetype: Multiple security flaws when loading CID-keyed Type 1 fonts
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=753799
Tomas Hoger <thoger(a)redhat.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status Whiteboard|impact=important,public=201 |impact=important,public=201
|11110,reported=20111114,sou |11110,reported=20111114,sou
|rce=suse,cvss2=6.8/AV:N/AC: |rce=suse,cvss2=6.8/AV:N/AC:
|M/Au:N/C:P/I:P/A:P,rhel-4/f |M/Au:N/C:P/I:P/A:P,rhel-4/f
|reetype=affected,rhel-5/fre |reetype=affected,rhel-5.6.z
|etype=affected,rhel-6/freet |/freetype=affected,rhel-5/f
|ype=affected,fedora-all/fre |reetype=affected,rhel-6/fre
|etype=affected |etype=affected,fedora-all/f
| |reetype=affected
--
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.
12 years, 4 months