~ubuntu-branches/ubuntu/vivid/fonts-century-catalogue/vivid

« back to all changes in this revision

Viewing changes to debian/scripts/ConvertFont.ff

  • Committer: Bazaar Package Importer
  • Author(s): Christian Perrier
  • Date: 2011-08-27 09:01:41 UTC
  • Revision ID: james.westby@ubuntu.com-20110827090141-9mwbe28kyn66bdo5
Tags: 001.001-5
* Team upload
* Rename source package to "fonts-century-catalogue" to fit the Font
  Packages Naming Policy.
* Bump Standards to 3.9.2 (checked)
* Change fonts install directory from
  usr/share/fonts/truetype/ttf-century-catalogue to
  usr/share/fonts/truetype/century-catalogue

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#!/usr/bin/fontforge
 
2
# $Id: ConvertFont,v 1.1.1.1 2004/11/09 19:19:49 markos Exp $
 
3
#
 
4
# Convert fonts from PfaEdit's native format to TrueType format
 
5
 
 
6
if ($argc > 1)
 
7
    i = 1;
 
8
    while ( i < $argc )
 
9
        Open($argv[i])
 
10
        ttfile = $fontname + ".ttf"
 
11
        Print("Converting ",ttfile)
 
12
        Generate(ttfile)
 
13
        Close()
 
14
        i++
 
15
    endloop
 
16
else
 
17
    Print("Usage: $0 font.sfd [font.sfd ...]")
 
18
endif