[cantarell-fonts/wip/jimmac/generated-oblique] clean up oblique
- From: Jakub Steiner <jimmac src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [cantarell-fonts/wip/jimmac/generated-oblique] clean up oblique
- Date: Mon, 7 Dec 2015 16:39:37 +0000 (UTC)
commit 0ddad46fba6320a48b2bd95fd6daf7ef32941cb3
Author: Jakub Steiner <jimmac gmail com>
Date: Mon Dec 7 17:38:36 2015 +0100
clean up oblique
- make sure the accents are correctly positioned
- set the correct style PS and TTF metadata
otf/Cantarell-Bold-Oblique.otf | Bin 57804 -> 63180 bytes
otf/Cantarell-Bold.otf | Bin 55376 -> 55376 bytes
otf/Cantarell-Oblique.otf | Bin 0 -> 64160 bytes
otf/Cantarell-Regular-Oblique.otf | Bin 58440 -> 0 bytes
otf/Cantarell-Regular.otf | Bin 55428 -> 55428 bytes
scripts/generate.sh | 11 ++++++++++-
6 files changed, 10 insertions(+), 1 deletions(-)
---
diff --git a/otf/Cantarell-Bold-Oblique.otf b/otf/Cantarell-Bold-Oblique.otf
index 1232e2a..74462dc 100644
Binary files a/otf/Cantarell-Bold-Oblique.otf and b/otf/Cantarell-Bold-Oblique.otf differ
diff --git a/otf/Cantarell-Bold.otf b/otf/Cantarell-Bold.otf
index ac9b591..7e20768 100644
Binary files a/otf/Cantarell-Bold.otf and b/otf/Cantarell-Bold.otf differ
diff --git a/otf/Cantarell-Oblique.otf b/otf/Cantarell-Oblique.otf
new file mode 100644
index 0000000..b677fd4
Binary files /dev/null and b/otf/Cantarell-Oblique.otf differ
diff --git a/otf/Cantarell-Regular.otf b/otf/Cantarell-Regular.otf
index 192d30b..e3b296a 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 3913ba1..f5e7ac3 100755
--- a/scripts/generate.sh
+++ b/scripts/generate.sh
@@ -19,6 +19,15 @@ while (i < $argc)
AutoHint()
Generate($fontname + ".otf")
#generate oblique
+ weight=GetTTFName(0x409,2)
+ if($weight=="Regular")
+ SetTTFName(0x409,2,"Oblique")
+ SetFontNames("Cantarell-Oblique", "", "Cantarell Oblique", "","","")
+ else
+ SetTTFName(0x409,2,"Bold-Oblique")
+ SetFontNames("Cantarell-Bold-Oblique", "", "Cantarell Bold Oblique", "","","")
+ endif
+ UnlinkReference() #workaround for shifting diacritics
Skew(8)
Simplify()
AddExtrema()
@@ -26,7 +35,7 @@ while (i < $argc)
CorrectDirection()
ClearHints()
AutoHint()
- Generate($fontname + "-Oblique.otf")
+ Generate($fontname + ".otf")
Close()
i++
endloop
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]