From bb812cb63ab8393b76461d5819d1046767f50435 Mon Sep 17 00:00:00 2001 From: Miguel Sousa Date: Tue, 25 Jul 2017 08:56:00 -0700 Subject: [PATCH] Refactor name table FEA --- familyTables.fea | 11 ----------- familynameIDs.fea | 7 +++++++ features.fea | 16 ++++++++++------ 3 files changed, 17 insertions(+), 17 deletions(-) create mode 100644 familynameIDs.fea diff --git a/familyTables.fea b/familyTables.fea index b98f157057..1339d49aa1 100644 --- a/familyTables.fea +++ b/familyTables.fea @@ -3,17 +3,6 @@ table head { } head; -table name { - nameid 0 "Copyright 2010 - 2012 Adobe Systems Incorporated (http://www.adobe.com/), with Reserved Font Name \2018Source\2019."; - nameid 7 "Source is a trademark of Adobe Systems Incorporated in the United States and/or other countries."; - nameid 8 "Adobe Systems Incorporated"; - nameid 9 "Paul D. Hunt, Teo Tuominen"; - nameid 11 "http://www.adobe.com/type"; - nameid 13 "This Font Software is licensed under the SIL Open Font License, Version 1.1. This license is available with a FAQ at: http://scripts.sil.org/OFL. This Font Software is distributed on an \2018AS IS\2019 BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the SIL Open Font License for the specific language, permissions and limitations governing your use of this Font Software."; - nameid 14 "http://scripts.sil.org/OFL"; -} name; - - table hhea { # NOTE: The OS/2.winAscent and OS/2.winDescent values are set by MakeOTF and vary depending on the font's bounding box Ascender 984; # Must match OS/2.winAscent for cross-platform consistency diff --git a/familynameIDs.fea b/familynameIDs.fea new file mode 100644 index 0000000000..92b33bda2e --- /dev/null +++ b/familynameIDs.fea @@ -0,0 +1,7 @@ +nameid 0 "\00a9 2010 - 2012 Adobe Systems Incorporated (http://www.adobe.com/), with Reserved Font Name \2018Source\2019."; +nameid 7 "Source is a trademark of Adobe Systems Incorporated in the United States and/or other countries."; +nameid 8 "Adobe Systems Incorporated"; +nameid 9 "Paul D. Hunt, Teo Tuominen"; +nameid 11 "http://www.adobe.com/type"; +nameid 13 "This Font Software is licensed under the SIL Open Font License, Version 1.1. This license is available with a FAQ at: http://scripts.sil.org/OFL. This Font Software is distributed on an \2018AS IS\2019 BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the SIL Open Font License for the specific language, permissions and limitations governing your use of this Font Software."; +nameid 14 "http://scripts.sil.org/OFL"; diff --git a/features.fea b/features.fea index 8c8b4c6650..52aab56d29 100644 --- a/features.fea +++ b/features.fea @@ -1,10 +1,14 @@ -include (../../familyTables.fea); +include (../../../../familyTables.fea); table OS/2 { - include (os2.fea); - include (../familyUnicodeRange.fea); - include (../../familyOS2.fea); + include (../os2.fea); + include (../../../familyUnicodeRange.fea); + include (../../../../familyOS2.fea); } OS/2; -include (../familyGSUB.fea); -include (../../familyGPOS.fea); +table name { + include (../../../../familynameIDs.fea); +} name; + +include (../../../familyGSUB.fea); +include (../../../../familyGPOS.fea);