debian/0000755000000000000000000000000012201250040007150 5ustar debian/README.source0000644000000000000000000000231312201241074011335 0ustar Merging upstream releases ========================= (copied from samba, original text by Steve Langasek) $ svn-load -t packages/ttf-tmuni/tags/upstream_${version} \ svn+ssh://svn.debian.org/svn/pkg-fonts packages/fonts-tibetan-machine/branches/upstream . The svn-load command is in the aptly-named "svn-load" package. The above is the simplest use of svn-load to merge a new upstream version into the "upstream" branch and copy it to a per-version tag directory; please see "svn-load --help" for a list of other options that are of interest. In particular, you may find that the --wc option saves time if you're on a slow connection, and the "-m" option may be needed if files are moved around in the upstream repository and this needs to be indicated to prevent subversion treating this as addition and deletion of unrelated files. Note that this only imports the new upstream version into the branch, it doesn't merge it onto the trunk. For this, you should go to your (clean) working copy of the trunk and run: $ svn merge \ svn+ssh://svn.debian.org/svn/pkg-fonts/packages/ttf-tmuni/tags/upstream_{prev_version,new_version} $ svn diff # (to make sure the diff makes sense) $ svn commit -m "merge upstream $version" debian/gbp.conf0000644000000000000000000000004712201240761010601 0ustar [git-buildpackage] compression = bzip2 debian/control0000644000000000000000000000247412201243647010601 0ustar Source: fonts-tibetan-machine Section: fonts Priority: optional Maintainer: Debian Fonts Task Force Uploaders: Jaldhar H. Vyas ,Tom Soderlund , Christian Perrier Build-Depends-Indep: fontforge-nox|fontforge Build-Depends: debhelper (>= 9~) Standards-Version: 3.9.4 Vcs-Git: git://anonscm.debian.org/pkg-fonts/fonts-tibetan-machine.git Vcs-Browser: http://anonscm.debian.org/gitweb/?p=pkg-fonts/fonts-tibetan-machine.git;a=summary Homepage: https://collab.itc.virginia.edu/wiki/tibetan-script/Tibet%20Machine%20Web.html Package: fonts-tibetan-machine Architecture: all Multi-Arch: foreign Depends: ${misc:Depends} Breaks: ttf-tmuni (<< 1.901b-3) Conflicts: ttf-tmuni (<< 1.901b-3) Description: font for Tibetan, Dzongkha and Ladakhi (OpenType Unicode) This package provides the Tibetan Machine Unicode font from the THDL project (http://www.thdl.org/). The font contains around 5,100 glyphs and can generate over 20,000 different combinations with full support for the Sanskrit combinations found in 'chos skad' texts. Package: fonts-tibetan-machine-udeb Package-Type: udeb Section: debian-installer Provides: ttf-installer Architecture: all Depends: ${misc:Depends} Description: font for Tibetan, Dzongkha and Ladakhi (OpenType Unicode) debian/preinst0000644000000000000000000000173012201241074010567 0ustar #!/bin/sh set -e VERSION=1.901b-2 PKG=ttf-tmuni FILE=/etc/defoma/hints/${PKG}.hints # Remove a no-longer used conffile rm_conffile() { local PKGNAME="$1" local CONFFILE="$2" [ -e "$CONFFILE" ] || return 0 local md5sum="$(md5sum $CONFFILE | sed -e 's/ .*//')" local old_md5sum="$(dpkg-query -W -f='${Conffiles}' $PKGNAME | \ sed -n -e "\' $CONFFILE ' { s/ obsolete$//; s/.* //; p }")" if [ "$md5sum" != "$old_md5sum" ]; then echo "Obsolete conffile $CONFFILE has been modified by you." echo "Saving as $CONFFILE.dpkg-bak ..." mv -f "$CONFFILE" "$CONFFILE".dpkg-bak else echo "Removing obsolete conffile $CONFFILE ..." rm -f "$CONFFILE" fi } case "$1" in install|upgrade) if dpkg --compare-versions "$2" lt-nl "$VERSION"; then if [ -f $FILE ]; then if [ -x /usr/bin/defoma-font ]; then defoma-font purge-all $FILE || true fi fi rm_conffile $PKG $FILE fi esac #DEBHELPER# debian/copyright0000644000000000000000000000202612201247540011116 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Contact: THDL Project, http://www.thdl.org/ Upstream-Source: https://collab.itc.virginia.edu/access/wiki/site/26a34146-33a6-48ce-001e-f16ce7908a6a/tibetan%20machine%20uni.html Upstream-Name: Tibetan Machine Uni Font Files: * Copyright: © 2003-2007 by Tibetan and Himalayan Digital Library (THDL). © 1989-2001 by Tony Duff for portions © by URW++ for portions License: GPL-1+ Files: debian/* Copyright: © 2008, Tom Soderlund © 2009, Davide Viti © 2009, Jaldhar H. Vyas License: GPL-1+ License: GPL-1+ 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 1, or (at your option) any later version. On Debian GNU/Linux systems, the complete text of the GNU General Public License can be found in `/usr/share/common-licenses/GPL-1 debian/docs0000644000000000000000000000001312201241074010024 0ustar ReadMe.txt debian/source/0000755000000000000000000000000012201241074010457 5ustar debian/source/format0000644000000000000000000000001412201241074011665 0ustar 3.0 (quilt) debian/scripts/0000755000000000000000000000000012201241074010646 5ustar debian/scripts/strip0000644000000000000000000000076512201241074011742 0ustar #! /bin/bash 2> /dev/null exepath=$(dirname $0) strip=$exepath/strip_glyphs.pe if [ $# -ne 2 ] ; then echo "Usage: $(basename $0) fontfile_in fontfile_out" exit 0 fi if [ ! -x "$strip" ] ; then echo "Script not found: $strip" exit 1 fi if [ ! -f "$1" ] ; then echo "File does not exist: $1" exit 1 fi if [ -z "$2" ] ; then echo "You need to specify the output file" exit 1 fi ranges="$ranges u2070:u209F" ranges="$ranges u2190:u21FF" ranges="$ranges uF0031:uF15B2" $strip $1 $2 $ranges debian/scripts/strip_glyphs.pe0000644000000000000000000000376512201241074013736 0ustar #! /usr/bin/fontforge # # Copyright (C) 2005 Davide Viti # # 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.ttf out.ttf 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("unicode") 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() Generate(out, "") Quit() debian/changelog0000644000000000000000000000656212201250040011033 0ustar fonts-tibetan-machine (1.901b-5) unstable; urgency=low * Update Standards to 3.9.4 (checked) * Bump debhelper compatibility to 9 * Drop ttf-tmuni transitional package * Use Breaks instead of Conflicts. Drop Provides as it is no longer needed (installations should have transitioned since wheezy and the package has anyway no reverse dependency. * Use xz extreme compression for deb packages * Add Vcs-* fields after the switch to git * Add Multi-Arch: foreign field * Add myself to Uploaders * Add Homepage field * Fix copyright file format -- Christian Perrier Fri, 09 Aug 2013 22:25:04 +0200 fonts-tibetan-machine (1.901b-4) unstable; urgency=low * Team upload * Really install fonts in the udeb package by properly naming the .install file * Use Package-Type instead of XC-Package-Type for the udeb * Update Standard to 3.9.3 (checked) * Change trnasitional package priority to extra * Explicitly link GPL-1 document in debian/copyright * Change URL for the copyright format specification in debian/copyright * Add ${misc:Depends} to udeb dependencies * Fix debian/copyright syntax for some copyrights -- Christian Perrier Sat, 12 May 2012 19:40:17 +0200 fonts-tibetan-machine (1.901b-3) unstable; urgency=low * Team upload * Rename source package to "fonts-tibetan-machine" to fit the Font Packages Naming Policy. * Bump Standards to 3.9.2 (checked) * Bump debhelper compatibility to 8 * Change fonts install directory from usr/share/fonts/truetype/ttf-tmuni to usr/share/fonts/truetype/tibetan-machine * Drop preinst script with defoma removal handling as even the package in stable has no more defoma-related stuff. -- Christian Perrier Wed, 09 Nov 2011 19:24:14 +0100 ttf-tmuni (1.901b-2) unstable; urgency=low * Team upload * Package adopted by the pkg-fonts team * Drop defoma use * Move to debhelper v7 and minimal rules file * Add README.source * Use "fontforge-nox|fontforge" in Build-Depends * Change section to fonts * Move to 3.0 source format * Update Standards to 3.9.1 (checked) -- Christian Perrier Sat, 19 Feb 2011 14:09:19 +0100 ttf-tmuni (1.901b-1) unstable; urgency=medium [ Tom Soderlund ] * New upstream release [ Davide Viti ] * Strip glyphs from the udeb to reduce file size (Closes: #518331) [ Jaldhar H. Vyas ] * Uploaded for Tom by Jaldhar H. Vyas * Build depend on fontforge for the glyph stripping script. * updated policy version, added machine-readable copyright and fixed other lintian warnings. -- Jaldhar H. Vyas Fri, 13 Mar 2009 03:39:16 -0400 ttf-tmuni (0.0.20040806-1.2) unstable; urgency=low * Non-maintainer upload. * Generate a udeb for the Debian-Installer with TibetanMachineUniAlpha. Patch by Tenzin Dendup. Closes: #397906. -- Frans Pop Fri, 10 Nov 2006 12:09:26 +0100 ttf-tmuni (0.0.20040806-1.1) unstable; urgency=high * Non-maintainer upload. * Urgency high due to RC bug fix. * debian/prerm: Removed. (Closes: #308411) -- Luk Claes Fri, 13 May 2005 17:22:02 +0200 ttf-tmuni (0.0.20040806-1) unstable; urgency=low * Initial Release of Tibetan Machine Uni (alpha version). (Closes: #293688) -- Tom Soderlund Mon, 7 Feb 2005 19:49:11 +0200 debian/fonts-tibetan-machine-udeb.install0000644000000000000000000000007412201241074015644 0ustar stripped-ttf/*.ttf usr/share/fonts/truetype/tibetan-machine debian/compat0000644000000000000000000000000212201241074010355 0ustar 9 debian/install0000644000000000000000000000006412201241074010550 0ustar tmp/*.ttf usr/share/fonts/truetype/tibetan-machine/ debian/README.Debian0000644000000000000000000000604512201241074011225 0ustar ttf-tmuni for Debian -------------------- Extra notes from upstream maintainers History Tibet Machine Uni began by taking the Tibet Machine typeface originally created by Tony Duff over the course of many years, and then was significantly transformed from 2004-2007 with many hours of work by Chris Fynn and Nathaniel Grove to become the font it now is. In this process, many glphys have been added, and many changes made to the original Tibet Machine font that affect its look. While THDL has tried to remain true to the original design, the changes have been extensive. One rationale driving these changes is that Tibetan fonts are now increasingly used for Web pages, which is not a factor previous developers had to worry about overly much. A few changes have been noted below. Baseline in Tibetan Machine We moved the baseline up in Tibetan Machine Uni to match the height of the Latin glyphs. There is indeed a hanging baseline tag in the OpenType spec for scripts like Tibetan so that if you reduce the font size of some of the Tibetan text the glyphs should move up to match the (top) baseline of the surrounding larger Tibetan glyphs. Unfortunately this aspect of OpenType is not yet supported anywhere (unless it is in Vista) and there are not yet any are practical tools to implement this feature in a font. Of course this is something which should be fixed as soon as practical and the results tested to see if it works -we have always been aware of it. Previously Tibet Machine had the baseline set so that the top of Tibetan characters at the position of the bottom of Latin Glyphs (which is also incorrect). Though this makes it easier to format Tibetan texts (pecha) it is impractical in a font which also contains Latin glyphs, and impractical to use in web pages where Latin and Tibetan script text is mixed. The previous design appears to have focused on serving the formatting of pecha, whereas with TMU we are trying to address web pages as well. Space Space was reduced for similar reasons - so that it would work with the Latin glyphs as well. You can always insert two spaces to get larger spacing for Tibetan and there are now also a number of space characters of different sizes included in the font which may be used. It may be possible to automatically have a larger space with Tibetan than with Latin by including a contextual substitution for space based on the surrounding glyphs. Size The size of the glyphs was initially about the same as the original Tibet Machine font. We ultimately changed it so that "12pt" Tibetan more or less visually matched 12pt Latin type in a typical Latin font like Times New Roman after consistent feedback that the glyphs were too small. This is intended to help with Web pages where it is sometimes difficult to control the size of a font and Tibetan would have displayed much too small. -- Tom Soderlund , Fri, 6 Jun 2008 23:27:01 +0800 debian/rules0000755000000000000000000000070612201241074010242 0ustar #!/usr/bin/make -f %: dh $@ override_dh_auto_build: mkdir tmp ln TibMachUni-1.901b.ttf tmp/TibetanMachineUni.ttf chmod u+x debian/scripts/strip chmod u+x debian/scripts/strip_glyphs.pe # Strip fonts for the udeb used in the Debian installer mkdir stripped-ttf/ debian/scripts/strip TibMachUni-1.901b.ttf stripped-ttf/TibMachUni-1.901b.ttf override_dh_clean: rm -fr tmp/ stripped-ttf/ override_dh_builddeb: dh_builddeb -- -Zxz -Sextreme -z9