Author: nim
Update of /cvs/extras/rpms/dejavu-fonts/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv24033/devel
Modified Files:
dejavu-fonts.spec import.log
Added Files:
dejavu-fonts-2.30-bad-serif-condensed-metadata.patch
Log Message:
fix serif condensed italic metadata
dejavu-fonts-2.30-bad-serif-condensed-metadata.patch:
scripts/narrow.pe | 62 ++++++++++++++++++++++++++++++++++++
src/DejaVuSerifCondensed-Italic.sfd | 4 +-
status.txt | 2 -
3 files changed, 65 insertions(+), 3 deletions(-)
--- NEW FILE dejavu-fonts-2.30-bad-serif-condensed-metadata.patch ---
diff -uNr dejavu-fonts-2.30/scripts/narrow.pe
dejavu-fonts.trunk/scripts/narrow.pe
--- dejavu-fonts-2.30/scripts/narrow.pe 1970-01-01 01:00:00.000000000 +0100
+++ dejavu-fonts.trunk/scripts/narrow.pe 2009-09-07 12:15:18.000000000
+0200
@@ -0,0 +1,62 @@
+#!/usr/bin/env fontforge
+# $Id$
+
+# script file for FontForge for font narrowing
+# usage: fontforge -script narrow.pe scale *.sfd
+# created files have suffix .narrow
+
+# DejaVu Condensed have scale 90
+
+if ($version < "20050209")
+ Error("Your version of FontForge transforms glyphs w/o content");
+endif
+if ($argc < 2)
+ Error("usage: scale sfds...")
+endif
+scale = Strtol($argv[1])
+i = 2
+while (i < $argc)
+ Open($argv[i], 1)
+ SelectAll()
+ Scale(scale, 100, 0, 0)
+ # Panose changes are valid only for DejaVu fonts (I guess)
+ SetPanose(3, 6)
+ new_fontname = $fontname
+ old_familyname = $familyname
+ j = Strstr(new_fontname, "-Roman")
+ if (j > -1)
+ new_fontname = Strsub(new_fontname, 0, j)
+ endif
+ j = Strstr(new_fontname, "-")
+ if (j > -1)
+ new_fontname = Strsub(new_fontname, 0, j) + "Condensed" +
Strsub(new_fontname, j)
+ else
+ new_fontname = new_fontname + "Condensed"
+ endif
+ new_fullname = $fullname
+ newprefsubfamily = "Condensed"
+ new_subfamily = $weight
+ j = Strstr(new_fullname, "Bold")
+ if (j == -1)
+ j = Strstr(new_fullname, "Oblique")
+ endif
+ if (j == -1)
+ j = Strstr(new_fullname, "Italic")
+ endif
+ if (j > -1)
+ new_subfamily = Strsub(new_fullname, j)
+ new_fullname = Strsub(new_fullname, 0, j) + "Condensed " + new_subfamily
+ newprefsubfamily = newprefsubfamily + " " + new_subfamily
+ else
+ new_fullname = new_fullname + " Condensed"
+ endif
+ new_familyname = $familyname + " Condensed"
+ SetFontNames(new_fontname, new_familyname, new_fullname)
+ SetOS2Value("Width",4)
+ SetTTFName(1033, 2, new_subfamily) # ttf_subfamily
+ SetTTFName(1033, 3, new_fullname) # ttf_uniqueid
+ SetTTFName(1033, 16, old_familyname) # ttf_preffamilyname
+ SetTTFName(1033, 17, newprefsubfamily) # ttf_prefmodifiers
+ Save($argv[i] + ".narrow")
+ i++
+endloop
diff -uNr dejavu-fonts-2.30/src/DejaVuSerifCondensed-Italic.sfd
dejavu-fonts.trunk/src/DejaVuSerifCondensed-Italic.sfd
--- dejavu-fonts-2.30/src/DejaVuSerifCondensed-Italic.sfd 2009-08-27
16:26:37.000000000 +0200
+++ dejavu-fonts.trunk/src/DejaVuSerifCondensed-Italic.sfd 2009-09-07
12:17:08.000000000 +0200
@@ -1,6 +1,6 @@
SplineFontDB: 3.0
FontName: DejaVuSerifCondensed-Italic
-FullName: DejaVu Serif Italic Condensed
+FullName: DejaVu Serif Condensed Italic
FamilyName: DejaVu Serif Condensed
Weight: Book
Copyright: Copyright (c) 2003 by Bitstream, Inc. All Rights Reserved.\nDejaVu
changes are in public domain\n
@@ -1899,7 +1899,7 @@
3
1
EndShort
-LangName: 1033 "" "" "Book" "DejaVu Serif Italic Condensed" "" "Version 2.30"
"" "" "DejaVu fonts team" "" "" "http://dejavu.sourceforge.net" "" "Fonts are
(c) Bitstream (see below). DejaVu changes are in public
domain.+AAoACgAA-Bitstream Vera Fonts
Copyright+AAoA-------------------------------+AAoACgAA-Copyright (c) 2003 by
Bitstream, Inc. All Rights Reserved. Bitstream Vera is a trademark of
Bitstream, Inc.+AAoACgAA-Permission is hereby granted, free of charge, to any
person obtaining a copy of the fonts accompanying this license
(+ACIA-Fonts+ACIA) and associated documentation files (the +ACIA-Font
Software+ACIA), to reproduce and distribute the Font Software, including
without limitation the rights to use, copy, merge, publish, distribute, and/or
sell copies of the Font Software, and to permit persons to whom the Font
Software is furnished to do so, subject to the following
conditions:+AAoACgAA-The above copyright and trademark notices and this
permission notice shall be
included in all copies of one or more of the Font Software
typefaces.+AAoACgAA-The Font Software may be modified, altered, or added to,
and in particular the designs of glyphs or characters in the Fonts may be
modified and additional glyphs or or characters may be added to the Fonts,
only if the fonts are renamed to names not containing either the words
+ACIA-Bitstream+ACIA or the word +ACIA-Vera+ACIA.+AAoACgAA-This License becomes
null and void to the extent applicable to Fonts or Font Software that has been
modified and is distributed under the +ACIA-Bitstream Vera+ACIA
names.+AAoACgAA-The Font Software may be sold as part of a larger software
package but no copy of one or more of the Font Software typefaces may be sold
by itself.+AAoACgAA-THE FONT SOFTWARE IS PROVIDED +ACIA-AS IS+ACIA, WITHOUT
WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY
WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
NONINFRINGEMENT OF COPYRIGHT, PATENT,
TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL BITSTREAM OR THE GNOME
FOUNDATION BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, INCLUDING ANY
GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, WHETHER IN AN
ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF THE USE OR
INABILITY TO USE THE FONT SOFTWARE OR FROM OTHER DEALINGS IN THE FONT
SOFTWARE.+AAoACgAA-Except as contained in this notice, the names of Gnome, the
Gnome Foundation, and Bitstream Inc., shall not be used in advertising or
otherwise to promote the sale, use or other dealings in this Font Software
without prior written authorization from the Gnome Foundation or Bitstream
Inc., respectively. For further information, contact: fonts at gnome dot org.
+AAoA" "http://dejavu.sourceforge.net/wiki/index.php/License" "" "DejaVu Serif"
"Condensed"
+LangName: 1033 "" "" "Italic" "DejaVu Serif Condensed Italic" "" "Version
2.30" "" "" "DejaVu fonts team" "" "" "http://dejavu.sourceforge.net" "" "Fonts
are (c) Bitstream (see below). DejaVu changes are in public
domain.+AAoACgAA-Bitstream Vera Fonts
Copyright+AAoA-------------------------------+AAoACgAA-Copyright (c) 2003 by
Bitstream, Inc. All Rights Reserved. Bitstream Vera is a trademark of
Bitstream, Inc.+AAoACgAA-Permission is hereby granted, free of charge, to any
person obtaining a copy of the fonts accompanying this license
(+ACIA-Fonts+ACIA) and associated documentation files (the +ACIA-Font
Software+ACIA), to reproduce and distribute the Font Software, including
without limitation the rights to use, copy, merge, publish, distribute, and/or
sell copies of the Font Software, and to permit persons to whom the Font
Software is furnished to do so, subject to the following
conditions:+AAoACgAA-The above copyright and trademark notices and this
permission notice shall b
e included in all copies of one or more of the Font Software
typefaces.+AAoACgAA-The Font Software may be modified, altered, or added to,
and in particular the designs of glyphs or characters in the Fonts may be
modified and additional glyphs or or characters may be added to the Fonts,
only if the fonts are renamed to names not containing either the words
+ACIA-Bitstream+ACIA or the word +ACIA-Vera+ACIA.+AAoACgAA-This License becomes
null and void to the extent applicable to Fonts or Font Software that has been
modified and is distributed under the +ACIA-Bitstream Vera+ACIA
names.+AAoACgAA-The Font Software may be sold as part of a larger software
package but no copy of one or more of the Font Software typefaces may be sold
by itself.+AAoACgAA-THE FONT SOFTWARE IS PROVIDED +ACIA-AS IS+ACIA, WITHOUT
WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY
WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
NONINFRINGEMENT OF COPYRIGHT, PATEN
T, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL BITSTREAM OR THE GNOME
FOUNDATION BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, INCLUDING ANY
GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, WHETHER IN AN
ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF THE USE OR
INABILITY TO USE THE FONT SOFTWARE OR FROM OTHER DEALINGS IN THE FONT
SOFTWARE.+AAoACgAA-Except as contained in this notice, the names of Gnome, the
Gnome Foundation, and Bitstream Inc., shall not be used in advertising or
otherwise to promote the sale, use or other dealings in this Font Software
without prior written authorization from the Gnome Foundation or Bitstream
Inc., respectively. For further information, contact: fonts at gnome dot org.
+AAoA" "http://dejavu.sourceforge.net/wiki/index.php/License" "" "DejaVu Serif"
"Condensed Italic"
Encoding: UnicodeFull
UnicodeInterp: none
NameList: AGL without afii
diff -uNr dejavu-fonts-2.30/status.txt dejavu-fonts.trunk/status.txt
--- dejavu-fonts-2.30/status.txt 2009-08-27 16:55:00.000000000 +0200
+++ dejavu-fonts.trunk/status.txt 2009-08-27 16:43:39.000000000 +0200
@@ -1,5 +1,5 @@
This is the status file for DejaVu fonts
-($Id: status.txt 2362 2009-08-27 14:43:39Z ben_laenen $)
+($Id$)
original = present in original Bitstream Vera 1.10
<version> = added in DejaVu fonts <version>
Index: dejavu-fonts.spec
===================================================================
RCS file: /cvs/extras/rpms/dejavu-fonts/devel/dejavu-fonts.spec,v
retrieving revision 1.103
retrieving revision 1.104
diff -u -p -r1.103 -r1.104
--- dejavu-fonts.spec 6 Sep 2009 18:01:07 -0000 1.103
+++ dejavu-fonts.spec 7 Sep 2009 19:30:07 -0000 1.104
@@ -20,13 +20,14 @@ original style, using an open collaborat
Name: %{fontname}-fonts
Version: 2.30
-Release: 1%{?alphatag}%{?dist}
+Release: 2%{?alphatag}%{?dist}
Summary: DejaVu fonts
Group: User Interface/X
License: Bitstream Vera and Public Domain
URL: http://%{name}.org/
Source0:
%{?!alphatag:http://downloads.sourceforge.net/%{fontname}}%{?alphatag:%{fontname}.sourceforge.net/snapshots}/%{archivename}.tar.bz2
+Patch0: %{name}-2.30-bad-serif-condensed-metadata.patch
BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
# Older fontforge versions will not work due to sfd format changes
@@ -163,7 +164,7 @@ unicode coverage restricted to Latin, Gr
%prep
%setup -q -n %{archivename}
-
+%patch0 -p1
%build
make %{?_smp_mflags} VERSION=%{version} FC-LANG="" \
@@ -205,6 +206,10 @@ rm -fr %{buildroot}
%changelog
+* Mon Sep 7 2009 Nicolas Mailhot <nicolas.mailhot at laposte.net>
+- 2.30-2
+— patch to fix bug #505129 Serif Condensed Italic is not Serif Condensed
+
* Sun Sep 6 2009 Nicolas Mailhot <nicolas.mailhot at laposte.net>
- 2.30-1
Index: import.log
===================================================================
RCS file: /cvs/extras/rpms/dejavu-fonts/devel/import.log,v
retrieving revision 1.17
retrieving revision 1.18
diff -u -p -r1.17 -r1.18
--- import.log 6 Sep 2009 18:01:07 -0000 1.17
+++ import.log 7 Sep 2009 19:30:07 -0000 1.18
@@ -15,3 +15,4 @@ dejavu-fonts-2_29-1_fc11:HEAD:dejavu-fon
dejavu-fonts-2_29-2_fc11:HEAD:dejavu-fonts-2.29-2.fc11.src.rpm:1237143073
dejavu-fonts-2_29-3_fc11:HEAD:dejavu-fonts-2.29-3.fc11.src.rpm:1243084445
dejavu-fonts-2_30-1_fc12:HEAD:dejavu-fonts-2.30-1.fc12.src.rpm:1252259820
+dejavu-fonts-2_30-2_fc12:HEAD:dejavu-fonts-2.30-2.fc12.src.rpm:1252351124
_______________________________________________
Fedora-fonts-bugs-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/fedora-fonts-bugs-list