Import Debian changes 2.37-ok1
fonts-dejavu (2.37-ok1) yangtze; urgency=medium * Build for openKylin.
This commit is contained in:
parent
64c348094e
commit
f2290d63bf
|
@ -0,0 +1,5 @@
|
|||
fonts-dejavu (2.37-ok1) yangtze; urgency=medium
|
||||
|
||||
* Build for openKylin.
|
||||
|
||||
-- openKylinBot <openKylinBot@openkylin.com> Mon, 25 Apr 2022 22:03:04 +0800
|
|
@ -0,0 +1 @@
|
|||
9
|
|
@ -0,0 +1,159 @@
|
|||
Source: fonts-dejavu
|
||||
Section: fonts
|
||||
Priority: optional
|
||||
Maintainer: Debian Fonts Task Force <pkg-fonts-devel@lists.alioth.debian.org>
|
||||
Build-Depends:
|
||||
debhelper (>= 9~)
|
||||
Build-Depends-Indep:
|
||||
fontforge-nox | fontforge,
|
||||
libfont-ttf-perl (>= 0.35),
|
||||
perl
|
||||
Standards-Version: 3.9.8
|
||||
Uploaders:
|
||||
Davide Viti <zinosat@tiscali.it>,
|
||||
Christian Perrier <bubulle@debian.org>,
|
||||
Fabian Greffrath <fabian@debian.org>
|
||||
Vcs-Git: https://anonscm.debian.org/git/pkg-fonts/fonts-dejavu.git
|
||||
Vcs-Browser: https://anonscm.debian.org/cgit/pkg-fonts/fonts-dejavu.git
|
||||
Homepage: http://dejavu-fonts.org/
|
||||
|
||||
Package: fonts-dejavu
|
||||
Architecture: all
|
||||
Multi-Arch: foreign
|
||||
Depends:
|
||||
fonts-dejavu-core,
|
||||
fonts-dejavu-extra,
|
||||
${misc:Depends}
|
||||
Pre-Depends:
|
||||
${misc:Pre-Depends}
|
||||
Replaces:
|
||||
ttf-dejavu (<< 2.33+svn2514-0)
|
||||
Breaks:
|
||||
ttf-dejavu (<< 2.33+svn2514-0)
|
||||
Description: metapackage to pull in fonts-dejavu-core and fonts-dejavu-extra
|
||||
DejaVu provides an expanded version of the Vera font family aiming for
|
||||
quality and broader Unicode coverage while retaining the original Vera
|
||||
style. DejaVu currently works towards conformance with the Multilingual
|
||||
European Standards (MES-1 and MES-2) for Unicode coverage. The DejaVu
|
||||
fonts provide serif, sans and monospaced variants.
|
||||
.
|
||||
Use this package if you want all DejaVu variants.
|
||||
.
|
||||
DejaVu fonts are intended for use on low-resolution devices (mainly
|
||||
computer screens) but can be used in printing as well.
|
||||
|
||||
Package: fonts-dejavu-core
|
||||
Architecture: all
|
||||
Multi-Arch: foreign
|
||||
Depends:
|
||||
${misc:Depends}
|
||||
Replaces:
|
||||
ttf-dejavu (<< 2.20-0),
|
||||
ttf-dejavu-core (<< 2.33+svn2514-0)
|
||||
Breaks:
|
||||
ttf-dejavu (<< 2.20-0),
|
||||
ttf-dejavu-core (<< 2.33+svn2514-0)
|
||||
Pre-Depends:
|
||||
${misc:Pre-Depends}
|
||||
Description: Vera font family derivate with additional characters
|
||||
DejaVu provides an expanded version of the Vera font family aiming for
|
||||
quality and broader Unicode coverage while retaining the original Vera
|
||||
style. DejaVu currently works towards conformance with the Multilingual
|
||||
European Standards (MES-1 and MES-2) for Unicode coverage. The DejaVu
|
||||
fonts provide serif, sans and monospaced variants.
|
||||
.
|
||||
This package only contains the sans, sans-bold, serif, serif-bold,
|
||||
mono and mono-bold variants. For additional variants, see the
|
||||
ttf-dejavu-extra package.
|
||||
.
|
||||
DejaVu fonts are intended for use on low-resolution devices (mainly
|
||||
computer screens) but can be used in printing as well.
|
||||
|
||||
Package: fonts-dejavu-extra
|
||||
Architecture: all
|
||||
Multi-Arch: foreign
|
||||
Depends:
|
||||
fonts-dejavu-core,
|
||||
${misc:Depends}
|
||||
Replaces:
|
||||
ttf-dejavu (<< 2.20-0),
|
||||
ttf-dejavu-extra (<< 2.33+svn2514-0)
|
||||
Breaks:
|
||||
ttf-dejavu (<< 2.20-0),
|
||||
ttf-dejavu-extra (<< 2.33+svn2514-0)
|
||||
Pre-Depends:
|
||||
${misc:Pre-Depends}
|
||||
Description: Vera font family derivate with additional characters (extra variants)
|
||||
DejaVu provides an expanded version of the Vera font family aiming for
|
||||
quality and broader Unicode coverage while retaining the original Vera
|
||||
style. DejaVu currently works towards conformance with the Multilingual
|
||||
European Standards (MES-1 and MES-2) for Unicode coverage. The DejaVu
|
||||
fonts provide serif, sans and monospaced variants.
|
||||
.
|
||||
This package includes additional variants, such as oblique, italic,
|
||||
bold-oblique, bold-italic and the condensed forms.
|
||||
.
|
||||
DejaVu fonts are intended for use on low-resolution devices (mainly
|
||||
computer screens) but can be used in printing as well.
|
||||
|
||||
Package: fonts-dejavu-udeb
|
||||
Package-Type: udeb
|
||||
Section: debian-installer
|
||||
Architecture: all
|
||||
Description: Vera font family derivate with additional characters
|
||||
DejaVu provides an expanded version of the Vera font family aiming for
|
||||
quality and broader Unicode coverage while retaining the original Vera
|
||||
style. DejaVu currently works towards conformance with the Multilingual
|
||||
European Standards (MES-1 and MES-2) for Unicode coverage. The DejaVu
|
||||
fonts provide serif, sans and monospaced variants.
|
||||
.
|
||||
DejaVu fonts are intended for use on low-resolution devices (mainly
|
||||
computer screens) but can be used in printing as well.
|
||||
|
||||
Package: fonts-dejavu-mono-udeb
|
||||
Package-Type: udeb
|
||||
Section: debian-installer
|
||||
Architecture: all
|
||||
Description: Monospace Vera font family derivate with additional characters
|
||||
Monospace variant of the DejaVu font for the debian-installer.
|
||||
.
|
||||
DejaVu fonts are intended for use on low-resolution devices (mainly
|
||||
computer screens) but can be used in printing as well.
|
||||
|
||||
Package: ttf-dejavu
|
||||
Depends:
|
||||
fonts-dejavu,
|
||||
ttf-dejavu-core,
|
||||
ttf-dejavu-extra,
|
||||
${misc:Depends}
|
||||
Architecture: all
|
||||
Section: oldlibs
|
||||
Priority: extra
|
||||
Pre-Depends:
|
||||
${misc:Pre-Depends}
|
||||
Description: transitional dummy package
|
||||
This package is a dummy transitional package. It can be safely removed.
|
||||
|
||||
Package: ttf-dejavu-core
|
||||
Depends:
|
||||
fonts-dejavu-core,
|
||||
${misc:Depends}
|
||||
Architecture: all
|
||||
Section: oldlibs
|
||||
Priority: extra
|
||||
Pre-Depends:
|
||||
${misc:Pre-Depends}
|
||||
Description: transitional dummy package
|
||||
This package is a dummy transitional package. It can be safely removed.
|
||||
|
||||
Package: ttf-dejavu-extra
|
||||
Depends:
|
||||
fonts-dejavu-extra,
|
||||
${misc:Depends}
|
||||
Architecture: all
|
||||
Section: oldlibs
|
||||
Priority: extra
|
||||
Pre-Depends:
|
||||
${misc:Pre-Depends}
|
||||
Description: transitional dummy package
|
||||
This package is a dummy transitional package. It can be safely removed.
|
|
@ -0,0 +1,78 @@
|
|||
Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
|
||||
Upstream-Name: DejaVu fonts
|
||||
Upstream-Author: Stepan Roh <src@users.sourceforge.net> (original author),
|
||||
see /usr/share/doc/ttf-dejavu/AUTHORS for full list
|
||||
Source: http://dejavu-fonts.org/
|
||||
|
||||
Files: *
|
||||
Copyright: Copyright (c) 2003 by Bitstream, Inc. All Rights Reserved.
|
||||
Bitstream Vera is a trademark of Bitstream, Inc.
|
||||
DejaVu changes are in public domain.
|
||||
License: bitstream-vera
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
of the fonts accompanying this license ("Fonts") and associated
|
||||
documentation files (the "Font Software"), 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:
|
||||
.
|
||||
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.
|
||||
.
|
||||
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 characters may be added to the Fonts, only if the fonts
|
||||
are renamed to names not containing either the words "Bitstream" or the word
|
||||
"Vera".
|
||||
.
|
||||
This License becomes null and void to the extent applicable to Fonts or Font
|
||||
Software that has been modified and is distributed under the "Bitstream
|
||||
Vera" names.
|
||||
.
|
||||
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.
|
||||
.
|
||||
THE FONT SOFTWARE IS PROVIDED "AS IS", 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.
|
||||
.
|
||||
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.
|
||||
|
||||
Files: debian/*
|
||||
Copyright: (C) 2005-2006 Peter Cernak <pce@users.sourceforge.net>
|
||||
(C) 2006-2011 Davide Viti <zinosat@tiscali.it>
|
||||
(C) 2011-2013 Christian Perrier <bubulle@debian.org>
|
||||
(C) 2013 Fabian Greffrath <fabian+debian@greffrath.com>
|
||||
License: GPL-2+
|
||||
This program 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 2 of the License, or (at your option) any later
|
||||
version.
|
||||
.
|
||||
This program 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.
|
||||
.
|
||||
You should have received a copy of the GNU General Public
|
||||
License along with this package; if not, write to the Free
|
||||
Software Foundation, Inc., 51 Franklin St, Fifth Floor,
|
||||
Boston, MA 02110-1301 USA
|
||||
.
|
||||
On Debian systems, the full text of the GNU General Public
|
||||
License version 2 can be found in the file
|
||||
/usr/share/common-licenses/GPL-2'.
|
|
@ -0,0 +1,6 @@
|
|||
AUTHORS
|
||||
BUGS
|
||||
README*
|
||||
langcover.txt
|
||||
status.txt
|
||||
unicover.txt
|
|
@ -0,0 +1,7 @@
|
|||
build/DejaVuSans-Bold.ttf usr/share/fonts/truetype/dejavu
|
||||
build/DejaVuSans.ttf usr/share/fonts/truetype/dejavu
|
||||
build/DejaVuSansMono-Bold.ttf usr/share/fonts/truetype/dejavu
|
||||
build/DejaVuSansMono.ttf usr/share/fonts/truetype/dejavu
|
||||
build/DejaVuSerif-Bold.ttf usr/share/fonts/truetype/dejavu
|
||||
build/DejaVuSerif.ttf usr/share/fonts/truetype/dejavu
|
||||
fontconfig/*.conf etc/fonts/conf.avail
|
|
@ -0,0 +1,12 @@
|
|||
etc/fonts/conf.avail/20-unhint-small-dejavu-lgc-sans.conf etc/fonts/conf.d/20-unhint-small-dejavu-lgc-sans.conf
|
||||
etc/fonts/conf.avail/20-unhint-small-dejavu-lgc-sans-mono.conf etc/fonts/conf.d/20-unhint-small-dejavu-lgc-sans-mono.conf
|
||||
etc/fonts/conf.avail/20-unhint-small-dejavu-lgc-serif.conf etc/fonts/conf.d/20-unhint-small-dejavu-lgc-serif.conf
|
||||
etc/fonts/conf.avail/20-unhint-small-dejavu-sans.conf etc/fonts/conf.d/20-unhint-small-dejavu-sans.conf
|
||||
etc/fonts/conf.avail/20-unhint-small-dejavu-sans-mono.conf etc/fonts/conf.d/20-unhint-small-dejavu-sans-mono.conf
|
||||
etc/fonts/conf.avail/20-unhint-small-dejavu-serif.conf etc/fonts/conf.d/20-unhint-small-dejavu-serif.conf
|
||||
etc/fonts/conf.avail/57-dejavu-sans.conf etc/fonts/conf.d/57-dejavu-sans.conf
|
||||
etc/fonts/conf.avail/57-dejavu-sans-mono.conf etc/fonts/conf.d/57-dejavu-sans-mono.conf
|
||||
etc/fonts/conf.avail/57-dejavu-serif.conf etc/fonts/conf.d/57-dejavu-serif.conf
|
||||
etc/fonts/conf.avail/58-dejavu-lgc-sans.conf etc/fonts/conf.d/58-dejavu-lgc-sans.conf
|
||||
etc/fonts/conf.avail/58-dejavu-lgc-sans-mono.conf etc/fonts/conf.d/58-dejavu-lgc-sans-mono.conf
|
||||
etc/fonts/conf.avail/58-dejavu-lgc-serif.conf etc/fonts/conf.d/58-dejavu-lgc-serif.conf
|
|
@ -0,0 +1,5 @@
|
|||
build/DejaVu*Condensed*.ttf usr/share/fonts/truetype/dejavu
|
||||
build/DejaVu*ExtraLight.ttf usr/share/fonts/truetype/dejavu
|
||||
build/DejaVu*Italic.ttf usr/share/fonts/truetype/dejavu
|
||||
build/DejaVu*Oblique.ttf usr/share/fonts/truetype/dejavu
|
||||
build/DejaVu*Math*.ttf usr/share/fonts/truetype/dejavu
|
|
@ -0,0 +1 @@
|
|||
udeb-generated/DejaVuSansMono.ttf usr/share/fonts/truetype/dejavu
|
|
@ -0,0 +1,2 @@
|
|||
udeb-generated/DejaVuSans-Bold.ttf usr/share/fonts/truetype/dejavu
|
||||
udeb-generated/DejaVuSans-Oblique.ttf usr/share/fonts/truetype/dejavu
|
|
@ -0,0 +1,16 @@
|
|||
#!/usr/bin/make -f
|
||||
|
||||
%:
|
||||
dh $@
|
||||
|
||||
override_dh_auto_build:
|
||||
make full-ttf
|
||||
sh debian/scripts/generate-udeb.sh
|
||||
|
||||
override_dh_auto_clean:
|
||||
$(RM) -rf tmp/ build/ udeb-generated/ udeb-build/
|
||||
$(RM) -f debian/stamp-common-build
|
||||
dh_auto_clean
|
||||
|
||||
override_dh_installchangelogs:
|
||||
dh_installchangelogs NEWS
|
|
@ -0,0 +1,18 @@
|
|||
strip_glyphs.pe is a fontforge script (syntax is documented at
|
||||
http://fontforge.sourceforge.net/scripting.html)
|
||||
|
||||
Usage: "strip_glyphs.pe in out glyphs"
|
||||
|
||||
It strips glyphs out of a font file; glyphs can be ranges
|
||||
or single code points.
|
||||
Code points can be expressed as integers or in unicode notation (i.e
|
||||
"u215") and ranges are separated by ":".
|
||||
|
||||
As a practical example, this commands were used to eliminate
|
||||
Arabic glyphs from the freefont package:
|
||||
|
||||
./strip_glyphs.pe FreeSerif.ttf FreeSerif_strip.ttf u60c:u6d4 ufb50:ufefe
|
||||
./strip_glyphs.pe FreeSansBold.ttf FreeSansBold_strip.ttf u617:u633
|
||||
|
||||
Note that "in" and "out" can be the same file; in that case, obviously,
|
||||
"in" gets overwritten.
|
|
@ -0,0 +1,83 @@
|
|||
#! /bin/sh
|
||||
|
||||
# resulting ttf's go inside udeb-generated/
|
||||
# stripped sfd's go inside udeb-build/
|
||||
# customize using $FONTS, $STRIP_RANGES
|
||||
#
|
||||
# see /usr/share/unicode/Blocks.txt for range details
|
||||
|
||||
FONTS="DejaVuSans DejaVuSans-Bold DejaVuSans-Oblique DejaVuSansMono"
|
||||
STRIP_RANGES=""
|
||||
STRIP_RANGES="$STRIP_RANGES u0500:u052F" # Cyrillic Supplement
|
||||
STRIP_RANGES="$STRIP_RANGES u0530:u058F" # Armenian
|
||||
STRIP_RANGES="$STRIP_RANGES u0600:u06FF" # Arabic
|
||||
STRIP_RANGES="$STRIP_RANGES u0700:u074F" # Syriac
|
||||
STRIP_RANGES="$STRIP_RANGES u07C0:u07FF" # NKo
|
||||
STRIP_RANGES="$STRIP_RANGES u0E80:u0EFF" # Lao
|
||||
STRIP_RANGES="$STRIP_RANGES u1400:u167F" # Canadian Syllabics
|
||||
STRIP_RANGES="$STRIP_RANGES u1680:u169F" # Ogham
|
||||
STRIP_RANGES="$STRIP_RANGES u1D00:u1DBF" # Phonetic Extensions
|
||||
STRIP_RANGES="$STRIP_RANGES u1F00:u1FFF" # Greek Extended
|
||||
STRIP_RANGES="$STRIP_RANGES u2070:u209f" # Superscripts and Subscripts
|
||||
STRIP_RANGES="$STRIP_RANGES u20a0:u20cf" # Currency Symbols
|
||||
STRIP_RANGES="$STRIP_RANGES u2150:u218f" # Number Forms
|
||||
STRIP_RANGES="$STRIP_RANGES u2190:u21ff" # Arrows
|
||||
STRIP_RANGES="$STRIP_RANGES u2200:u24FF" # Mathematical, Techical, Control, OCR
|
||||
|
||||
STRIP_RANGES="$STRIP_RANGES u2580:u25CE" # [u2580:u25FF] Block elements, Geometric Shapes
|
||||
STRIP_RANGES="$STRIP_RANGES u25D0:u25FF" # u25CF is needed
|
||||
|
||||
STRIP_RANGES="$STRIP_RANGES u2600:u26FF" # Miscellaneous Symbols
|
||||
STRIP_RANGES="$STRIP_RANGES u2700:u27EF" # Dingbats, Miscellaneous Mathematical Symbols-A
|
||||
STRIP_RANGES="$STRIP_RANGES u27F0:u27FF" # Supplemental Arrows-A
|
||||
STRIP_RANGES="$STRIP_RANGES u2800:u28FF" # Braille Patterns
|
||||
STRIP_RANGES="$STRIP_RANGES u2900:u2BFF" # Suppl. Arrows-B, Misc Math Symbols-B, Supplath Ops, Misc Symbols and Arrows
|
||||
STRIP_RANGES="$STRIP_RANGES u2C60:u2C7F" # Latin Extended-C
|
||||
STRIP_RANGES="$STRIP_RANGES u2D30:u2D7F" # Tifinagh
|
||||
STRIP_RANGES="$STRIP_RANGES u2E00:u2E7F" # Supplemental Punctuation
|
||||
STRIP_RANGES="$STRIP_RANGES u3000:u30FF" # CJK Symbols and Punctuation
|
||||
STRIP_RANGES="$STRIP_RANGES u4DC0:u4DFF" # Yijing Hexagram Symbols
|
||||
STRIP_RANGES="$STRIP_RANGES uA640:uA69F" # Cyrillic Extended-B
|
||||
STRIP_RANGES="$STRIP_RANGES uA700:uA71F" # Modifier Tone Letters
|
||||
STRIP_RANGES="$STRIP_RANGES uA720:uA7FF" # Latin Extended-D
|
||||
STRIP_RANGES="$STRIP_RANGES uFB50:uFBFF" # Arabic Presentation Forms-A
|
||||
STRIP_RANGES="$STRIP_RANGES uFE70:uFEFF" # Arabic Presentation Forms-B
|
||||
STRIP_RANGES="$STRIP_RANGES u10300:u1032F" # Old Italic
|
||||
STRIP_RANGES="$STRIP_RANGES u1D300:u1D356" # Tai Xuan Jing Symbols
|
||||
STRIP_RANGES="$STRIP_RANGES u1D400:u1D7FF" # Mathematical Alphanumeric Symbols
|
||||
STRIP_RANGES="$STRIP_RANGES u1F030:u1F09F" # Domino Tiles
|
||||
STRIP_RANGES="$STRIP_RANGES u1F0A0:u1F0FF" # Playing Cards
|
||||
STRIP_RANGES="$STRIP_RANGES u1F400:u1F4FF" # Miscellaneous Symbols And Pictographs
|
||||
STRIP_RANGES="$STRIP_RANGES u1F600:u1F64F" # Emoticons
|
||||
# ---------------------------------------------------------------------------
|
||||
set -e
|
||||
|
||||
udir="udeb-build"
|
||||
result="udeb-generated"
|
||||
|
||||
rm -rf "$udir" "$result"
|
||||
mkdir "$udir"
|
||||
mkdir "$udir/generated"
|
||||
|
||||
for f in ${FONTS}; do
|
||||
echo "`basename $0`: stripping $f.sfd"
|
||||
|
||||
ORIG_RANGES=${STRIP_RANGES}
|
||||
|
||||
if [ $f = "DejaVuSansMono" ] ; then
|
||||
STRIP_RANGES="${STRIP_RANGES} u2100:u214F" # Letterlike Symbols
|
||||
STRIP_RANGES="${STRIP_RANGES} u2500:u257F" # Box Drawing
|
||||
STRIP_RANGES="${STRIP_RANGES} u25A0:u25FF" # Geometric Shapes
|
||||
fi
|
||||
|
||||
fontforge -script debian/scripts/strip_glyphs.pe "src/$f.sfd" "$udir/$f.sfd" ${STRIP_RANGES}
|
||||
|
||||
STRIP_RANGES=${ORIG_RANGES}
|
||||
done
|
||||
|
||||
(cd "$udir" && ../scripts/generate.pe *.sfd && for ttf in *.sfd.ttf ; do mv $ttf generated/$(echo $ttf|sed s+"\.sfd\.ttf+.ttf+g") ; done)
|
||||
|
||||
./scripts/ttpostproc.pl "$udir"/generated/*.ttf
|
||||
mv "$udir/generated" "$result"
|
||||
|
||||
# vim:set tw=0 nowrap ts=8 sw=2 sts=2:
|
|
@ -0,0 +1,83 @@
|
|||
#! /usr/bin/fontforge -script
|
||||
#
|
||||
# Copyright (C) 2005 Davide Viti <zinosat@tiscali.it>
|
||||
# June 23, 2006 adapted for ttf-dejavu to operate on *.sfd instead
|
||||
# of *.ttf (Peter Cernak)
|
||||
#
|
||||
# This program 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 2 of the License, or
|
||||
# (at your option) any later version.
|
||||
#
|
||||
# This program 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.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public
|
||||
# License along with this program; if not, write to the Free
|
||||
# Software Foundation, Inc., 59 Temple Place, Suite 330, Boston,
|
||||
# MA 02111-1307 USA
|
||||
#
|
||||
# "glyphs_to_remove" argument can be a single code point
|
||||
# or a range of codepoints separated by ":"
|
||||
#
|
||||
# code points can be specified both as integers and as unicode
|
||||
# you can also mix the two formats (i.e "48:u54")
|
||||
#
|
||||
# example:
|
||||
#
|
||||
# "strip_glyphs in.sfd out.sfd 12 u20 100:150 u200:u230 u300:65000"
|
||||
|
||||
if ($argc < 4)
|
||||
Print( "Usage: strip_glyphs in out glyphs_to_remove..." )
|
||||
Quit()
|
||||
endif
|
||||
|
||||
|
||||
Open($1); shift
|
||||
Reencode("unicodeFull")
|
||||
out = $1; shift
|
||||
|
||||
#
|
||||
# Loop through the arguments and select the glyphs
|
||||
# which need to be cleared
|
||||
#
|
||||
while ($argc > 1)
|
||||
len = Strlen($1)
|
||||
colon_idx = Strstr($1, ":")
|
||||
|
||||
#
|
||||
# argument is a single glyph
|
||||
#
|
||||
if (colon_idx == -1)
|
||||
if(Strstr($1, "u") == -1)
|
||||
SelectMore(Strtol($1)) ## Integer
|
||||
else
|
||||
SelectMore($1) ## Unicode code point (i.e "u0027")
|
||||
endif
|
||||
|
||||
#
|
||||
# argument is a range low:high
|
||||
#
|
||||
else
|
||||
low = Strsub($1, 0, colon_idx)
|
||||
if(Strstr($1, "u") == -1)
|
||||
low = Strtol(low) ## Integer
|
||||
endif
|
||||
|
||||
high = Strsub($1, colon_idx+1, len)
|
||||
if(Strstr($1, "u") == -1)
|
||||
high = Strtol(high) ## Integer
|
||||
endif
|
||||
|
||||
SelectMore(low, high);
|
||||
endif
|
||||
|
||||
shift
|
||||
endloop
|
||||
|
||||
Clear()
|
||||
|
||||
Save(out)
|
||||
Quit()
|
|
@ -0,0 +1 @@
|
|||
3.0 (quilt)
|
|
@ -0,0 +1,6 @@
|
|||
usr/share/fonts/truetype/dejavu/DejaVuSans-Bold.ttf usr/share/fonts/truetype/ttf-dejavu/DejaVuSans-Bold.ttf
|
||||
usr/share/fonts/truetype/dejavu/DejaVuSansMono-Bold.ttf usr/share/fonts/truetype/ttf-dejavu/DejaVuSansMono-Bold.ttf
|
||||
usr/share/fonts/truetype/dejavu/DejaVuSansMono.ttf usr/share/fonts/truetype/ttf-dejavu/DejaVuSansMono.ttf
|
||||
usr/share/fonts/truetype/dejavu/DejaVuSans.ttf usr/share/fonts/truetype/ttf-dejavu/DejaVuSans.ttf
|
||||
usr/share/fonts/truetype/dejavu/DejaVuSerif-Bold.ttf usr/share/fonts/truetype/ttf-dejavu/DejaVuSerif-Bold.ttf
|
||||
usr/share/fonts/truetype/dejavu/DejaVuSerif.ttf usr/share/fonts/truetype/ttf-dejavu/DejaVuSerif.ttf
|
|
@ -0,0 +1,15 @@
|
|||
usr/share/fonts/truetype/dejavu/DejaVuSans-BoldOblique.ttf usr/share/fonts/truetype/ttf-dejavu/DejaVuSans-BoldOblique.ttf
|
||||
usr/share/fonts/truetype/dejavu/DejaVuSansCondensed-BoldOblique.ttf usr/share/fonts/truetype/ttf-dejavu/DejaVuSansCondensed-BoldOblique.ttf
|
||||
usr/share/fonts/truetype/dejavu/DejaVuSansCondensed-Bold.ttf usr/share/fonts/truetype/ttf-dejavu/DejaVuSansCondensed-Bold.ttf
|
||||
usr/share/fonts/truetype/dejavu/DejaVuSansCondensed-Oblique.ttf usr/share/fonts/truetype/ttf-dejavu/DejaVuSansCondensed-Oblique.ttf
|
||||
usr/share/fonts/truetype/dejavu/DejaVuSansCondensed.ttf usr/share/fonts/truetype/ttf-dejavu/DejaVuSansCondensed.ttf
|
||||
usr/share/fonts/truetype/dejavu/DejaVuSans-ExtraLight.ttf usr/share/fonts/truetype/ttf-dejavu/DejaVuSans-ExtraLight.ttf
|
||||
usr/share/fonts/truetype/dejavu/DejaVuSansMono-BoldOblique.ttf usr/share/fonts/truetype/ttf-dejavu/DejaVuSansMono-BoldOblique.ttf
|
||||
usr/share/fonts/truetype/dejavu/DejaVuSansMono-Oblique.ttf usr/share/fonts/truetype/ttf-dejavu/DejaVuSansMono-Oblique.ttf
|
||||
usr/share/fonts/truetype/dejavu/DejaVuSans-Oblique.ttf usr/share/fonts/truetype/ttf-dejavu/DejaVuSans-Oblique.ttf
|
||||
usr/share/fonts/truetype/dejavu/DejaVuSerif-BoldItalic.ttf usr/share/fonts/truetype/ttf-dejavu/DejaVuSerif-BoldItalic.ttf
|
||||
usr/share/fonts/truetype/dejavu/DejaVuSerifCondensed-BoldItalic.ttf usr/share/fonts/truetype/ttf-dejavu/DejaVuSerifCondensed-BoldItalic.ttf
|
||||
usr/share/fonts/truetype/dejavu/DejaVuSerifCondensed-Bold.ttf usr/share/fonts/truetype/ttf-dejavu/DejaVuSerifCondensed-Bold.ttf
|
||||
usr/share/fonts/truetype/dejavu/DejaVuSerifCondensed-Italic.ttf usr/share/fonts/truetype/ttf-dejavu/DejaVuSerifCondensed-Italic.ttf
|
||||
usr/share/fonts/truetype/dejavu/DejaVuSerifCondensed.ttf usr/share/fonts/truetype/ttf-dejavu/DejaVuSerifCondensed.ttf
|
||||
usr/share/fonts/truetype/dejavu/DejaVuSerif-Italic.ttf usr/share/fonts/truetype/ttf-dejavu/DejaVuSerif-Italic.ttf
|
|
@ -0,0 +1,2 @@
|
|||
version=3
|
||||
http://sf.net/dejavu/dejavu-fonts-([\d.]*).tar.bz2
|
Loading…
Reference in New Issue