This commit is contained in:
commit
e0e023cff1
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
|
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
|||||||
|
.osc
|
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
|
3
freefont-0.20111101.tar.bz2
Normal file
3
freefont-0.20111101.tar.bz2
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:ef5ac41efaf4f43d466594c2991d18853e5b09663e1ea6335c411e636166f6f6
|
||||||
|
size 5343855
|
179
gnu-free-fonts.changes
Normal file
179
gnu-free-fonts.changes
Normal file
@ -0,0 +1,179 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
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
|
80
gnu-free-fonts.spec
Normal file
80
gnu-free-fonts.spec
Normal file
@ -0,0 +1,80 @@
|
|||||||
|
#
|
||||||
|
# spec file for package gnu-free-fonts
|
||||||
|
#
|
||||||
|
# Copyright (c) 2012 SUSE LINUX Products 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 http://bugs.opensuse.org/
|
||||||
|
#
|
||||||
|
|
||||||
|
|
||||||
|
%define fontname freefont
|
||||||
|
%define ttf_fontdir /usr/share/fonts/truetype
|
||||||
|
|
||||||
|
Name: gnu-free-fonts
|
||||||
|
Summary: Free UCS Outline Fonts
|
||||||
|
License: GPL-2.0+
|
||||||
|
Group: System/X11/Fonts
|
||||||
|
Version: 0.20111101
|
||||||
|
Release: 0
|
||||||
|
Url: http://savannah.nongnu.org/projects/freefont/
|
||||||
|
# svn co svn://svn.savannah.gnu.org/freefont/trunk/freefont
|
||||||
|
# tar jcvf freefont-0.20080323.tar.bz2 freefont/
|
||||||
|
Source0: %{fontname}-%{version}.tar.bz2
|
||||||
|
Source10: remove-kana-glyphs
|
||||||
|
# TODO: remove GenerateTrueType script from previous version (20080323) as soon as the new one is working
|
||||||
|
Source11: GenerateTrueType
|
||||||
|
BuildRequires: fontforge >= 20080429
|
||||||
|
BuildRequires: python
|
||||||
|
BuildArch: noarch
|
||||||
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
|
# FIXME: This causes a rpmlint warning; change <= to < once there's a new upstream version
|
||||||
|
Obsoletes: %{fontname} <= 0.20111101
|
||||||
|
Provides: %{fontname} = %{version}
|
||||||
|
Provides: scalable-font-el, scalable-font-he, scalable-font-ru, scalable-font-bg
|
||||||
|
Provides: locale(bg;el;he;ru;vi)
|
||||||
|
PreReq: %suseconfig_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 -n %{fontname}
|
||||||
|
find . -name CVS -type d | xargs rm -rf
|
||||||
|
# Fix DOS line endings
|
||||||
|
sed -i 's/.$//' papers/eurotex2003/freefont.bib
|
||||||
|
|
||||||
|
%build
|
||||||
|
cp %{S:11} ./tools
|
||||||
|
chmod 755 $RPM_SOURCE_DIR/remove-kana-glyphs
|
||||||
|
$RPM_SOURCE_DIR/remove-kana-glyphs ./sfd/*.sfd
|
||||||
|
fontforge -lang=ff -script ./tools/GenerateTrueType *.sfd
|
||||||
|
|
||||||
|
%install
|
||||||
|
mkdir -p $RPM_BUILD_ROOT%{ttf_fontdir}/
|
||||||
|
install -c -m 644 *.ttf $RPM_BUILD_ROOT%{ttf_fontdir}/
|
||||||
|
|
||||||
|
%post
|
||||||
|
%run_suseconfig_fonts
|
||||||
|
|
||||||
|
%postun
|
||||||
|
%run_suseconfig_fonts
|
||||||
|
|
||||||
|
%files
|
||||||
|
%defattr(-, root,root)
|
||||||
|
%doc AUTHORS CREDITS ChangeLog README
|
||||||
|
%doc papers/
|
||||||
|
%{ttf_fontdir}
|
||||||
|
|
||||||
|
%changelog
|
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
|
Loading…
Reference in New Issue
Block a user