Sync from SUSE:SLFO:Main gnu-free-fonts revision b9c875850f1589ee37d30d7a58edef95
This commit is contained in:
commit
a1c7d48d91
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@ -0,0 +1,23 @@
|
||||
## Default LFS
|
||||
*.7z filter=lfs diff=lfs merge=lfs -text
|
||||
*.bsp filter=lfs diff=lfs merge=lfs -text
|
||||
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.gem filter=lfs diff=lfs merge=lfs -text
|
||||
*.gz filter=lfs diff=lfs merge=lfs -text
|
||||
*.jar filter=lfs diff=lfs merge=lfs -text
|
||||
*.lz filter=lfs diff=lfs merge=lfs -text
|
||||
*.lzma filter=lfs diff=lfs merge=lfs -text
|
||||
*.obscpio filter=lfs diff=lfs merge=lfs -text
|
||||
*.oxt filter=lfs diff=lfs merge=lfs -text
|
||||
*.pdf filter=lfs diff=lfs merge=lfs -text
|
||||
*.png filter=lfs diff=lfs merge=lfs -text
|
||||
*.rpm filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.tgz filter=lfs diff=lfs merge=lfs -text
|
||||
*.ttf filter=lfs diff=lfs merge=lfs -text
|
||||
*.txz filter=lfs diff=lfs merge=lfs -text
|
||||
*.whl filter=lfs diff=lfs merge=lfs -text
|
||||
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||
*.zst filter=lfs diff=lfs merge=lfs -text
|
23
GenerateTrueType
Normal file
23
GenerateTrueType
Normal file
@ -0,0 +1,23 @@
|
||||
##!/usr/bin/env fontforge
|
||||
# $Id: GenerateTrueType,v 1.2 2008/03/21 20:19:05 Stevan_White Exp $
|
||||
#
|
||||
# Convert fonts from FontForge's native SFD format to TrueType format
|
||||
# First auto-hints whole font
|
||||
|
||||
scriptname=$argv[0];
|
||||
|
||||
if ( $argc > 1 )
|
||||
i = 1;
|
||||
while ( i < $argc )
|
||||
Open( $argv[i] )
|
||||
ttfile = $fontname + ".ttf"
|
||||
Print( "Generating TT file from ", $argv[i] )
|
||||
SelectAll()
|
||||
AutoHint()
|
||||
Generate( ttfile )
|
||||
Close()
|
||||
i++
|
||||
endloop
|
||||
else
|
||||
Print( "Usage: ", scriptname, " font.sfd [font.sfd ...]" )
|
||||
endif
|
76
freefont-build-using-py3.patch
Normal file
76
freefont-build-using-py3.patch
Normal file
@ -0,0 +1,76 @@
|
||||
Index: freefont-20120503/tools/generate/MacTT
|
||||
===================================================================
|
||||
--- freefont-20120503.orig/tools/generate/MacTT
|
||||
+++ freefont-20120503/tools/generate/MacTT
|
||||
@@ -43,7 +43,7 @@ if argc > 1:
|
||||
f = fontforge.open( argv[i] )
|
||||
ttfile = f.fontname + ".mac.ttf"
|
||||
vstr = trim_version_str( f )
|
||||
- print "Generating Mac TrueType file ", ttfile, ' ', vstr
|
||||
+ print ("Generating Mac TrueType file ", ttfile, ' ', vstr)
|
||||
f.selection.all()
|
||||
f.autoHint()
|
||||
f.autoInstr()
|
||||
@@ -51,4 +51,4 @@ if argc > 1:
|
||||
#f.generate( ttfile, flags=('opentype','old-kern') )
|
||||
f.close()
|
||||
else:
|
||||
- print "Usage: " + scriptname + " font.sfd [font.sfd ...]"
|
||||
+ print ("Usage: " + scriptname + " font.sfd [font.sfd ...]")
|
||||
Index: freefont-20120503/tools/generate/OpenType
|
||||
===================================================================
|
||||
--- freefont-20120503.orig/tools/generate/OpenType
|
||||
+++ freefont-20120503/tools/generate/OpenType
|
||||
@@ -42,7 +42,7 @@ if argc > 1:
|
||||
f = fontforge.open( argv[i] )
|
||||
otfile = f.fontname + ".otf"
|
||||
vstr = trim_version_str( f )
|
||||
- print "Generating OpenType file ", otfile, ' ', vstr
|
||||
+ print ("Generating OpenType file ", otfile, ' ', vstr)
|
||||
# Wanted to set to 'UniocdeBmp' if there were no high unicodes
|
||||
# but all attemtps to determine that from Python failed.
|
||||
f.encoding = 'UnicodeFull'
|
||||
@@ -51,4 +51,4 @@ if argc > 1:
|
||||
f.generate( otfile, flags=('opentype','old-kern','round') )
|
||||
f.close()
|
||||
else:
|
||||
- print "Usage: " + scriptname + " font.sfd [font.sfd ...]"
|
||||
+ print ("Usage: " + scriptname + " font.sfd [font.sfd ...]")
|
||||
Index: freefont-20120503/tools/generate/TrueType
|
||||
===================================================================
|
||||
--- freefont-20120503.orig/tools/generate/TrueType
|
||||
+++ freefont-20120503/tools/generate/TrueType
|
||||
@@ -42,7 +42,7 @@ if argc > 1:
|
||||
f = fontforge.open( sys.argv[i] )
|
||||
ttfile = f.fontname + ".ttf"
|
||||
vstr = trim_version_str( f )
|
||||
- print "Generating TrueType file ", ttfile, ' ', vstr
|
||||
+ print ("Generating TrueType file ", ttfile, ' ', vstr)
|
||||
# Wanted to set to 'UniocdeBmp' if there were no high unicodes
|
||||
# but all attemtps to determine that from Python failed.
|
||||
f.encoding = 'UnicodeFull'
|
||||
@@ -54,4 +54,4 @@ if argc > 1:
|
||||
f.generate( ttfile, flags=('opentype','old-kern','no-hints') )
|
||||
f.close()
|
||||
else:
|
||||
- print "Usage: " + scriptname + " font.sfd [font.sfd ...]"
|
||||
+ print ("Usage: " + scriptname + " font.sfd [font.sfd ...]")
|
||||
Index: freefont-20120503/tools/generate/WOFF
|
||||
===================================================================
|
||||
--- freefont-20120503.orig/tools/generate/WOFF
|
||||
+++ freefont-20120503/tools/generate/WOFF
|
||||
@@ -153,7 +153,7 @@ if argc > 1:
|
||||
f = fontforge.open( sys.argv[i] )
|
||||
woff_file = f.fontname + ".woff"
|
||||
vstr = trim_version_str( f )
|
||||
- print "Generating WOFF file ", woff_file, ' ', vstr
|
||||
+ print ("Generating WOFF file ", woff_file, ' ', vstr)
|
||||
# Wanted to set to 'UniocdeBmp' if there were no high unicodes
|
||||
# but all attemtps to determine that from Python failed.
|
||||
f.encoding = 'UnicodeFull'
|
||||
@@ -171,4 +171,4 @@ if argc > 1:
|
||||
f.generate( woff_file, flags=('opentype','no-hints') )
|
||||
f.close()
|
||||
else:
|
||||
- print "Usage: " + scriptname + " font.sfd [font.sfd ...]"
|
||||
+ print ("Usage: " + scriptname + " font.sfd [font.sfd ...]")
|
BIN
freefont-src-20120503.tar.gz
(Stored with Git LFS)
Normal file
BIN
freefont-src-20120503.tar.gz
(Stored with Git LFS)
Normal file
Binary file not shown.
231
gnu-free-fonts.changes
Normal file
231
gnu-free-fonts.changes
Normal file
@ -0,0 +1,231 @@
|
||||
-------------------------------------------------------------------
|
||||
Sun Sep 1 15:18:58 UTC 2019 - Stefan Brüns <stefan.bruens@rwth-aachen.de>
|
||||
|
||||
- Fix building with fontforge 20190801
|
||||
Add make_ff_version_check_forward_compatible.patch
|
||||
- Use license for COPYING
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Jan 11 16:11:28 UTC 2018 - tchvatal@suse.com
|
||||
|
||||
- Format with spec-cleaner
|
||||
- Drop sle11 support as we use just py3
|
||||
- Drop the BR on python in favor of python3-base
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jan 9 17:22:51 UTC 2018 - dimstar@opensuse.org
|
||||
|
||||
- Add freefont-build-using-py3.patch: Fix build when using python3.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Apr 17 14:36:22 UTC 2016 - bwiedemann@suse.com
|
||||
|
||||
- Add reproducible.patch to fix build-compare
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Aug 2 21:54:31 UTC 2012 - asterios.dramis@gmail.com
|
||||
|
||||
- Update to version 0.20120503:
|
||||
* Lots of changes (see http://savannah.gnu.org/forum/forum.php?forum_id=7216
|
||||
and ChangeLog for details).
|
||||
- Use the package scripts for generating the fonts in openSUSE > 11.2. Use the
|
||||
"GenerateTrueType" external script only for older versions (package fails to
|
||||
compile otherwise).
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Jul 4 12:39:06 CEST 2012 - pgajdos@suse.cz
|
||||
|
||||
- amend spec file to reflect new font packaging scheme
|
||||
(see openFATE#313536);
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu May 17 09:10:05 UTC 2012 - pgajdos@suse.com
|
||||
|
||||
- call spec-cleaner
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Mar 14 16:42:20 UTC 2012 - cfarrell@suse.com
|
||||
|
||||
- license update: SUSE-GPL-3.0+-with-font-exception
|
||||
There are GPL-3.0 licensed fonts - also, use SUSE- proprietary prefix
|
||||
until license is accepted upstream at spdx.org
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Dec 21 14:54:06 UTC 2011 - toms@suse.de
|
||||
|
||||
- Renamed freefont -> gnu-free-fonts according to
|
||||
openSUSE packaging guidelines and FATE#313035
|
||||
Adjusted Obsoletes and Provides accordingly
|
||||
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Nov 1 08:05:41 UTC 2011 - pgajdos@suse.com
|
||||
|
||||
- freefont changed to svn:
|
||||
svn co svn://svn.savannah.gnu.org/freefont/trunk/freefont
|
||||
- updated to 0.20111101:
|
||||
* Cyrillic: added 'locl' lookup for Serbian/Macedonian 'be'
|
||||
* Latin, Diacritics, etc: hungarian umlaut, double grave adjustments
|
||||
* Latin: small adjustment to letter spacing
|
||||
* Latin: much messing with accents for Vietnamese, some kerning
|
||||
* etc. see svn changelog
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Sep 18 17:17:12 UTC 2011 - jengelh@medozas.de
|
||||
|
||||
- Apply packaging guidelines (remove redundant/obsolete
|
||||
tags/sections from specfile, etc.)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Aug 13 12:15:36 UTC 2011 - andrea.turrini@gmail.com
|
||||
|
||||
- fixed typo in freefont.spec
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon May 23 12:56:11 UTC 2011 - pgajdos@novell.com
|
||||
|
||||
- updated to 20110523
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Nov 18 16:17:29 CET 2010 - pgajdos@suse.cz
|
||||
|
||||
- updated to 0.20101118
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Apr 8 15:53:32 CEST 2010 - tiwai@suse.de
|
||||
|
||||
- fix build with new fontforge
|
||||
- minor clean-ups
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Dec 8 10:52:31 CET 2009 - pgajdos@suse.cz
|
||||
|
||||
- updated to 0.20091208
|
||||
- used old but working GenerateTrueType script
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon May 26 12:12:35 CEST 2008 - mfabian@suse.de
|
||||
|
||||
- bnc#246804: update to latest release (0.20080323), this seems
|
||||
to finally fix the spacing issues in the monospace font.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Aug 08 12:26:03 CEST 2006 - mfabian@suse.de
|
||||
|
||||
- BuildRequires: xorg-x11-devel is necessary to detect Xorg X11R7.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Aug 07 14:55:54 CEST 2006 - mfabian@suse.de
|
||||
|
||||
- move fonts to /usr/share/fonts because of the move to Xorg X11R7.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Aug 04 10:31:01 CEST 2006 - mfabian@suse.de
|
||||
|
||||
- remove "#!BuildIgnore: NX". It is not necessary anymore, on
|
||||
the contrary it makes the build fail now for xorg7-SUSE_Factory
|
||||
in the openSUSE build service.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Jul 20 11:49:31 CEST 2006 - mfabian@suse.de
|
||||
|
||||
- add "chmod 755 $RPM_SOURCE_DIR/remove-kana-glyphs" to make
|
||||
it build in the openSUSE build service.
|
||||
Permissions for any file in $RPM_SOURCE_DIR are nowhere guaranteed
|
||||
to be preserved.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jul 18 23:49:53 CEST 2006 - mfabian@suse.de
|
||||
|
||||
- add "#!BuildIgnore: NX" to make it build for the
|
||||
xorg7-SUSE_Factory in the openSUSE build service.
|
||||
- add "vi" to the "Provides: locale".
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jul 18 12:42:06 CEST 2006 - mfabian@suse.de
|
||||
|
||||
- update to 0.20060718.
|
||||
+ All the fonts now conform to MES-1 (Minimum European Subset) of
|
||||
Unicode/ISO 10646. In addition, thanks to Solaiman Karim,
|
||||
Omi Azad, K.H. Hussain and R. Chitrajan, OpenType support for
|
||||
Bengali (in FreeSerif, FreeSerifItalic, FreeSans and
|
||||
FreeSansOblique) and traditional Malayalam (FreeSerif) might
|
||||
be mentioned as major new features.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Mar 01 14:53:47 CET 2006 - mfabian@suse.de
|
||||
|
||||
- add "Provides: locale(bg;el;he;ru)".
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Jan 25 21:46:24 CET 2006 - mls@suse.de
|
||||
|
||||
- converted neededforbuild to BuildRequires
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Dec 03 19:05:44 CET 2004 - mfabian@suse.de
|
||||
|
||||
- use new macro "%run_suseconfig_fonts".
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Sep 13 17:34:40 CEST 2004 - mfabian@suse.de
|
||||
|
||||
- Bugzilla #45156: add "Provides: scalable-font-el,
|
||||
scalable-font-he, scalable-font-ru, scalable-font-bg".
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Aug 19 11:49:26 CEST 2004 - ro@suse.de
|
||||
|
||||
- PfaEdit has been renamed to fontforge
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Apr 24 11:28:46 CEST 2004 - sndirsch@suse.de
|
||||
|
||||
- fixed neededforbuild (XFree86-libs --> xorg-x11-libs)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Apr 1 16:12:22 CEST 2004 - mfabian@suse.de
|
||||
|
||||
- Bugzilla #37113: remove Kana to improve the appearance of
|
||||
Japanese during the installation.
|
||||
Kana without Kanji are completely useless.
|
||||
They can only cause problems because it can happen
|
||||
that they are combined with Kanji from a completely different
|
||||
font which looks very ugly. This happens easily in Qt
|
||||
applications because Qt unfortunately treats "Hiragana",
|
||||
"Katakana", and "Han" as 3 different Unicode regions and may
|
||||
select a different font for each of these regions. I.e. if
|
||||
FreeSans is set as the main font in Qt while using Japanese,
|
||||
FreeSans will be used no only for Latin but also for Kana and
|
||||
only for the Kanji a "real" Japanese font like "Kochi Gothic"
|
||||
will be used. This looks very bad. If FreeSans doesn't have
|
||||
Kana at all, the "real" Japanese font will be used for the
|
||||
Kana and the Kanji, which looks much nicer.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Mar 18 18:56:53 CET 2004 - mfabian@suse.de
|
||||
|
||||
- use %suseconfig_fonts_prereq
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Feb 27 12:17:32 CET 2004 - mfabian@suse.de
|
||||
|
||||
- update to 0.20040227.
|
||||
- run SuSEconfig.fonts and SuSEconfig.pango in %post and %postun
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Feb 24 10:47:54 CET 2004 - hmacht@suse.de
|
||||
|
||||
- building as non-root
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Sep 14 02:29:56 CEST 2003 - mfabian@suse.de
|
||||
|
||||
- Bugzilla #30768: update to version 0.20030914 which includes
|
||||
the U+30FC KATAKANA-HIRAGANA PROLONGED SOUND MARK glyph missing
|
||||
in previous versions.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Aug 18 08:24:20 CEST 2003 - mfabian@suse.de
|
||||
|
||||
- new package, version 0.20030815
|
79
gnu-free-fonts.spec
Normal file
79
gnu-free-fonts.spec
Normal file
@ -0,0 +1,79 @@
|
||||
#
|
||||
# spec file for package gnu-free-fonts
|
||||
#
|
||||
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
# upon. The license for this file, and modifications and additions to the
|
||||
# file, is the same license as for the pristine package itself (unless the
|
||||
# license for the pristine package is not an Open Source License, in which
|
||||
# case the license is the MIT License). An "Open Source License" is a
|
||||
# license that conforms to the Open Source Definition (Version 1.9)
|
||||
# published by the Open Source Initiative.
|
||||
|
||||
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
|
||||
%define fontname freefont
|
||||
%define fontversion 20120503
|
||||
%define _ttfontsdir %{_datadir}/fonts/truetype
|
||||
Name: gnu-free-fonts
|
||||
Version: 0.%{fontversion}
|
||||
Release: 0
|
||||
Summary: Free UCS Outline Fonts
|
||||
License: SUSE-GPL-3.0+-with-font-exception
|
||||
Group: System/X11/Fonts
|
||||
Url: http://savannah.nongnu.org/projects/freefont/
|
||||
Source0: http://ftp.gnu.org/gnu/freefont/%{fontname}-src-%{fontversion}.tar.gz
|
||||
Source10: remove-kana-glyphs
|
||||
Source11: GenerateTrueType
|
||||
# PATCH-FIX-UPSTREAM -- bmwiedemann fix build-compare https://savannah.gnu.org/bugs/index.php?47722
|
||||
Patch0: reproducible.patch
|
||||
Patch1: freefont-build-using-py3.patch
|
||||
# PATCH-FIX-UPSTREAM -- https://savannah.gnu.org/bugs/index.php?47634
|
||||
Patch2: make_ff_version_check_forward_compatible.patch
|
||||
BuildRequires: fontforge >= 20080429
|
||||
BuildRequires: fontpackages-devel
|
||||
BuildRequires: python3-base
|
||||
# freefont was last used at openSUSE 12.1 (version 0.20110523)
|
||||
Obsoletes: %{fontname} < %{version}
|
||||
Provides: %{fontname} = %{version}
|
||||
Provides: scalable-font-bg
|
||||
Provides: scalable-font-el
|
||||
Provides: scalable-font-he
|
||||
Provides: scalable-font-ru
|
||||
Provides: locale(bg;el;he;ru;vi)
|
||||
BuildArch: noarch
|
||||
%reconfigure_fonts_prereq
|
||||
|
||||
%description
|
||||
A set of free outline (OpenType, for example) fonts covering the ISO
|
||||
10646/Unicode UCS (Universal Character Set). The set consists of three
|
||||
typefaces: one monospaced and two proportional (one with uniform and
|
||||
one with modulated stroke).
|
||||
|
||||
%prep
|
||||
%setup -q -n %{fontname}-%{fontversion}
|
||||
%patch0 -p1
|
||||
%patch1 -p1
|
||||
%patch2 -p1
|
||||
|
||||
%build
|
||||
chmod 755 $RPM_SOURCE_DIR/remove-kana-glyphs
|
||||
$RPM_SOURCE_DIR/remove-kana-glyphs ./sfd/*.sfd
|
||||
make %{?_smp_mflags} ttf
|
||||
|
||||
%install
|
||||
mkdir -p %{buildroot}%{_ttfontsdir}/
|
||||
install -pm 0644 sfd/*.ttf %{buildroot}%{_ttfontsdir}/
|
||||
|
||||
%reconfigure_fonts_scriptlets
|
||||
|
||||
%files
|
||||
%license COPYING
|
||||
%doc AUTHORS CREDITS ChangeLog README notes/troubleshooting.txt notes/usage.txt
|
||||
%{_ttfontsdir}
|
||||
|
||||
%changelog
|
16
make_ff_version_check_forward_compatible.patch
Normal file
16
make_ff_version_check_forward_compatible.patch
Normal file
@ -0,0 +1,16 @@
|
||||
diff --git a/sfd/Makefile b/sfd/Makefile
|
||||
index fdbc61f..67e2dc9 100644
|
||||
--- a/sfd/Makefile
|
||||
+++ b/sfd/Makefile
|
||||
@@ -11,9 +11,9 @@ FF=fontforge -lang=ff -script
|
||||
FFPY=fontforge -lang=py -script
|
||||
FFPY=fontforge -lang=py -script
|
||||
|
||||
-ffversion=`fontforge --version 2> /dev/null | grep '^fontforge' | sed -e 's/^fontforge //'`
|
||||
+ffversion:=`fontforge -version 2> /dev/null | grep '^libfontforge' | sed -e 's/^libfontforge //'`
|
||||
|
||||
-TESTFF=if test -z ${ffversion}; then echo FontForge program is required to build FreeFont; exit 1; fi; if test `fontforge --version 2> /dev/null | grep '^fontforge' | sed -e 's/^fontforge //'` -lt 20080429 ; then echo FontForge version too old; exit 1; fi
|
||||
+TESTFF:=if test -z $(ffversion); then echo FontForge program is required to build FreeFont; exit 1; fi; if test $(ffversion) -lt 20080429 ; then echo FontForge version too old; exit 1; fi
|
||||
|
||||
|
||||
.SUFFIXES: $(SUFFIXES) .sfd .ttf .otf .woff
|
39
remove-kana-glyphs
Normal file
39
remove-kana-glyphs
Normal file
@ -0,0 +1,39 @@
|
||||
#!/usr/bin/fontforge -lang=ff
|
||||
#
|
||||
# Removes the Kana glyphs from a font
|
||||
|
||||
hex = Array(16)
|
||||
hex[0]="0"; hex[1]="1"; hex[2]="2"; hex[3]="3"
|
||||
hex[4]="4"; hex[5]="5"; hex[6]="6"; hex[7]="7"
|
||||
hex[8]="8"; hex[9]="9"; hex[10]="a"; hex[11]="b"
|
||||
hex[12]="c"; hex[13]="d"; hex[14]="e"; hex[15]="f"
|
||||
|
||||
if ($argc > 1)
|
||||
i = 1;
|
||||
while ( i < $argc )
|
||||
Open($argv[i])
|
||||
|
||||
row = 0
|
||||
while (row <= 15)
|
||||
column = 0;
|
||||
while (column <= 15)
|
||||
charname = "uni30" + hex[row] + hex [column]
|
||||
if (InFont(charname))
|
||||
Select(charname)
|
||||
Print ("Clearing ", charname)
|
||||
Clear()
|
||||
endif
|
||||
column++
|
||||
endloop
|
||||
row++
|
||||
endloop
|
||||
|
||||
file = $fontname + ".sfd"
|
||||
Print("Saving ",file)
|
||||
Save(file)
|
||||
Close()
|
||||
i++
|
||||
endloop
|
||||
else
|
||||
Print("Usage: $0 font.sfd [font.sfd ...]")
|
||||
endif
|
11
reproducible.patch
Normal file
11
reproducible.patch
Normal file
@ -0,0 +1,11 @@
|
||||
--- freefont-20120503/sfd/FreeSerifBoldItalic.sfd.orig 2012-05-03 13:23:49.000000000 +0000
|
||||
+++ freefont-20120503/sfd/FreeSerifBoldItalic.sfd 2018-02-03 11:29:21.064000000 +0000
|
||||
@@ -334,7 +334,7 @@
|
||||
LangName: 1027 "" "" "negreta cursiva" "" "FreeSerif negreta cursiva"
|
||||
LangName: 1026 "" "" "+BD8EPgQ7BEMERwQ1BEAENQQ9 +BDoEQwRABEEEOAQyBDUEPQAA" "" "FreeSerif +BD8EPgQ7BEMERwQ1BEAENQQ9 +BDoEQwRABEEEOAQyBDUEPQAA"
|
||||
LangName: 1069 "" "" "Lodi etzana" "" "FreeSerif Lodi etzana"
|
||||
-LangName: 1033 "" "" "Bold Italic" "" "" "" "" "" "GNU" "" "" "https://savannah.gnu.org/projects/freefont/" "" "This computer font is part of GNU FreeFont. It is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.+AAoACgAA-This font is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.+AAoACgAA-You should have received a copy of the GNU General Public License along with this font. If not, see +AAoA http://www.gnu.org/licenses/+AAoACgAA-As a special exception, if you create a document which uses this font, and embed this font or unaltered portions of this font into the document, this font does not by itself cause the resulting document to be covered by the GNU General Public License. This exception does not however invalidate any other reasons why the document might be covered by the GNU General Public License. If you modify this font, you may extend this exception to your version of the font, but you are not obligated to do so. If you do not wish to do so, delete this exception statement from your version." "http://www.gnu.org/copyleft/gpl.html"
|
||||
+LangName: 1033 "" "" "Bold Italic" "GNU: FreeSerif Bold Italic: 2012" "" "" "" "" "GNU" "" "" "https://savannah.gnu.org/projects/freefont/" "" "This computer font is part of GNU FreeFont. It is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.+AAoACgAA-This font is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.+AAoACgAA-You should have received a copy of the GNU General Public License along with this font. If not, see +AAoA http://www.gnu.org/licenses/+AAoACgAA-As a special exception, if you create a document which uses this font, and embed this font or unaltered portions of this font into the document, this font does not by itself cause the resulting document to be covered by the GNU General Public License. This exception does not however invalidate any other reasons why the document might be covered by the GNU General Public License. If you modify this font, you may extend this exception to your version of the font, but you are not obligated to do so. If you do not wish to do so, delete this exception statement from your version." "http://www.gnu.org/copyleft/gpl.html"
|
||||
GaspTable: 3 9 14 21 13 65535 15 1
|
||||
Encoding: Custom
|
||||
UnicodeInterp: none
|
Loading…
Reference in New Issue
Block a user