From ea656fc3771004e5c88a60aabdbdf0a66452bfe1 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Andr=C3=A9=20Wobst?= Date: Fri, 15 Jul 2016 13:22:49 +0000 Subject: [PATCH] fix typo: ItalicAngles -> ItalicAngle (thanks to Ross Moore) git-svn-id: http://svn.code.sf.net/p/pyx/code/trunk/pyx@3683 a4f5e268-e194-4f32-bce1-d30804cbbcc5 --- CHANGES | 1 + pyx/font/afmfile.py | 2 +- pyx/font/pfmfile.py | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/CHANGES b/CHANGES index 804a4cb4..42b1c309 100644 --- a/CHANGES +++ b/CHANGES @@ -6,6 +6,7 @@ - non-ASCII TeX encoding - t1font - use integers in auto-guessed font descriptors to prevent an issue in pdftex + - fix typo: ItalicAngles -> ItalicAngle (thanks to Ross Moore) 0.14.1 (2015/11/02): - distribution: diff --git a/pyx/font/afmfile.py b/pyx/font/afmfile.py index 93dcad13..a862a171 100644 --- a/pyx/font/afmfile.py +++ b/pyx/font/afmfile.py @@ -1419,7 +1419,7 @@ class AFMfile(metric.metric): flags += 1<<6 file.write("/Flags %d\n" % flags) if self.italicangles[0] is not None: - file.write("/ItalicAngles %d\n" % self.italicangles[0]) + file.write("/ItalicAngle %d\n" % self.italicangles[0]) if self.ascender is not None: ascent = self.ascender elif self.fontbbox is not None: diff --git a/pyx/font/pfmfile.py b/pyx/font/pfmfile.py index b18ff28b..363033b2 100644 --- a/pyx/font/pfmfile.py +++ b/pyx/font/pfmfile.py @@ -389,7 +389,7 @@ class PFMfile(metric.metric): if self.dfItalic: flags += 1<<6 file.write("/Flags %d\n" % flags) - file.write("/ItalicAngles %d\n" % (self.etmSlant/10)) + file.write("/ItalicAngle %d\n" % (self.etmSlant/10)) file.write("/Ascent %d\n" % self.dfAscent) file.write("/Descent %d\n" % -self.etmLowerCaseDescent) file.write("/FontBBox [%s]\n" % fontbboxpattern.search(self.t1file.data1).groups('fontbbox')[0]) -- 2.11.4.GIT