[cantarell-fonts/wip/jimmac/generated-oblique] generate oblique variants with FF
- From: Jakub Steiner <jimmac src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [cantarell-fonts/wip/jimmac/generated-oblique] generate oblique variants with FF
- Date: Mon, 7 Dec 2015 11:35:19 +0000 (UTC)
commit a5361d5c344c4cc5c1d163333655ef096836927e
Author: Jakub Steiner <jimmac gmail com>
Date: Mon Dec 7 12:10:31 2015 +0100
generate oblique variants with FF
- even though we get this at runtime, Cantarell won't
ship with Google fonts unles we provide an Oblique variant
FIXME:
- Set proper Name (can't find what 'Fontname' and 'Name for Humans'
is in SetPref()
- set the proper $italicangle
- shifted accents (solvable with anchors?)
otf/Cantarell-Bold-Oblique.otf | Bin 0 -> 57804 bytes
otf/Cantarell-Bold.otf | Bin 55376 -> 55376 bytes
otf/Cantarell-Regular-Oblique.otf | Bin 0 -> 58440 bytes
otf/Cantarell-Regular.otf | Bin 55428 -> 55428 bytes
scripts/generate.sh | 9 +++++++++
5 files changed, 9 insertions(+), 0 deletions(-)
---
diff --git a/otf/Cantarell-Bold-Oblique.otf b/otf/Cantarell-Bold-Oblique.otf
new file mode 100644
index 0000000..1232e2a
Binary files /dev/null and b/otf/Cantarell-Bold-Oblique.otf differ
diff --git a/otf/Cantarell-Bold.otf b/otf/Cantarell-Bold.otf
index d948d17..ac9b591 100644
Binary files a/otf/Cantarell-Bold.otf and b/otf/Cantarell-Bold.otf differ
diff --git a/otf/Cantarell-Regular-Oblique.otf b/otf/Cantarell-Regular-Oblique.otf
new file mode 100644
index 0000000..4b587e3
Binary files /dev/null and b/otf/Cantarell-Regular-Oblique.otf differ
diff --git a/otf/Cantarell-Regular.otf b/otf/Cantarell-Regular.otf
index 9e84564..192d30b 100644
Binary files a/otf/Cantarell-Regular.otf and b/otf/Cantarell-Regular.otf differ
diff --git a/scripts/generate.sh b/scripts/generate.sh
index 0320f99..3913ba1 100755
--- a/scripts/generate.sh
+++ b/scripts/generate.sh
@@ -18,6 +18,15 @@ while (i < $argc)
ClearHints()
AutoHint()
Generate($fontname + ".otf")
+ #generate oblique
+ Skew(8)
+ Simplify()
+ AddExtrema()
+ RoundToInt()
+ CorrectDirection()
+ ClearHints()
+ AutoHint()
+ Generate($fontname + "-Oblique.otf")
Close()
i++
endloop
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]