fonts-okolaks (0.5-5) debian-changes-0.5-3

Summary

 okolaks_g.sfd    |    6 +++---
 sfd2bold.ff      |   17 +++++++++++++++++
 sfd2condensed.ff |   17 +++++++++++++++++
 sfd2italic.ff    |   17 +++++++++++++++++
 sfd2light.ff     |   17 +++++++++++++++++
 sfd2otf.ff       |   14 ++++++++++++++
 sfd2ttf.ff       |   14 ++++++++++++++
 7 files changed, 99 insertions(+), 3 deletions(-)

    
download this patch

Patch contents

Description: Upstream changes introduced in version 0.5-3
 This patch has been created by dpkg-source during the package build.
 Here's the last changelog entry, hopefully it gives details on why
 those changes were made:
 .
 ttf-okolaks (0.5-3) unstable; urgency=low
 .
   * Team upload
   * Move this font under pkg-fonts team maintenance
   * Use "fontforge-nox | fontforge" in Build-Depends
   * Drop defoma use
   * Move to debhelper 7
   * Move to 3.0 (quilt) source format
   * Update Standards to 3.9.1 (checked)
 .
 The person named in the Author field signed this changelog entry.
Author: Christian Perrier <bubulle@debian.org>

---
The information above should follow the Patch Tagging Guidelines, please
checkout http://dep.debian.net/deps/dep3/ to learn about the format. Here
are templates for supplementary fields that you might want to add:

Origin: <vendor|upstream|other>, <url of original patch>
Bug: <url in upstream bugtracker>
Bug-Debian: http://bugs.debian.org/<bugnumber>
Bug-Ubuntu: https://launchpad.net/bugs/<bugnumber>
Forwarded: <no|not-needed|url proving that it has been forwarded>
Reviewed-By: <name and email of someone who approved the patch>
Last-Update: <YYYY-MM-DD>

--- /dev/null
+++ ttf-okolaks-0.5/sfd2light.ff
@@ -0,0 +1,17 @@
+#!/usr/bin/fontforge
+if ($argc > 1)
+    Open($argv[1])
+    ttfile = $fontname + "Light"
+    Print("Making ",ttfile)
+    SetFontNames(ttfile,ttfile,$fontname+" Light","Light")
+    SelectAll()
+    if ($argc > 2)
+	ExpandStroke($2,0,0,0,6)
+    else
+	ExpandStroke(40,0,0,0,6)
+    endif
+    Save(ttfile+".sfd")
+    Close()
+else
+    Print("Usage: $0 font.sfd [width, default 40]")
+endif
--- /dev/null
+++ ttf-okolaks-0.5/sfd2condensed.ff
@@ -0,0 +1,17 @@
+#!/usr/bin/fontforge
+if ($argc > 1)
+    Open($argv[1])
+    ttfile = $fontname + "Condensed"
+    Print("Making ",ttfile)
+    SetFontNames(ttfile,ttfile,$fontname+" Condensed","Condensed")
+    SelectAll()
+    if ($argc > 2)
+	Scale($2,100)
+    else
+	Scale(80,100)
+    endif
+    Save(ttfile+".sfd")
+    Close()
+else
+    Print("Usage: $0 font.sfd [condense, default 80%]")
+endif
--- /dev/null
+++ ttf-okolaks-0.5/sfd2italic.ff
@@ -0,0 +1,17 @@
+#!/usr/bin/fontforge
+if ($argc > 1)
+    Open($argv[1])
+    ttfile = $fontname + "Italic"
+    Print("Making ",ttfile)
+    SetFontNames(ttfile,ttfile,$fontname+" Italic","Italic")
+    SelectAll()
+    if ($argc > 2)
+	Skew($2)
+    else
+	Skew(10)
+    endif
+    Save(ttfile+".sfd")
+    Close()
+else
+    Print("Usage: $0 font.sfd [italic angle, default 10]")
+endif
--- /dev/null
+++ ttf-okolaks-0.5/sfd2otf.ff
@@ -0,0 +1,14 @@
+#!/usr/bin/fontforge
+if ($argc > 1)
+    i = 1;
+    while ( i < $argc )
+	Open($argv[i])
+	ttfile = $fontname + ".otf"
+	Print("Converting ",ttfile)
+	Generate(ttfile,"otf")
+	Close()
+	i++
+    endloop
+else
+    Print("Usage: $0 font.sfd [font.sfd ...]")
+endif
--- /dev/null
+++ ttf-okolaks-0.5/sfd2ttf.ff
@@ -0,0 +1,14 @@
+#!/usr/bin/fontforge
+if ($argc > 1)
+    i = 1;
+    while ( i < $argc )
+	Open($argv[i])
+	ttfile = $fontname + ".ttf"
+	Print("Converting ",ttfile)
+	Generate(ttfile,"ttf")
+	Close()
+	i++
+    endloop
+else
+    Print("Usage: $0 font.sfd [font.sfd ...]")
+endif
--- ttf-okolaks-0.5.orig/okolaks_g.sfd
+++ ttf-okolaks-0.5/okolaks_g.sfd
@@ -1,7 +1,7 @@
 SplineFontDB: 2.0
-FontName: okolaks_gBold
-FullName: okolaks_g Bold
-FamilyName: okolaks_g
+FontName: Okolaks
+FullName: Okolaks Bold
+FamilyName: Okolaks
 Weight: Bold
 Copyright: This Font Software is licensed under the GNU GPL License.\nCreated by gluk with FontForge (http://fontforge.sf.net)
 UComments: "2008-3-21: Created." 
--- /dev/null
+++ ttf-okolaks-0.5/sfd2bold.ff
@@ -0,0 +1,17 @@
+#!/usr/bin/fontforge
+if ($argc > 1)
+    Open($argv[1])
+    ttfile = $fontname + "Bold"
+    Print("Making ",ttfile)
+    SetFontNames(ttfile,ttfile,$fontname+" Bold","Bold")
+    SelectAll()
+    if ($argc > 2)
+	ExpandStroke($2,0,0,0,5)
+    else
+	ExpandStroke(40,0,0,0,5)
+    endif
+    Save(ttfile+".sfd")
+    Close()
+else
+    Print("Usage: $0 font.sfd [width, default 40]")
+endif