Clone in a terminal:
Commit fabfe16
Johan Mattsson - 2015-10-30T08:12:41+00:00
fabfe16d20abb2c4b3d94aceea091f4ccf253c88johan.mattsson.m@gmail.com

Remove prefered family and prefered style from name table

Changed files (1)

Diff

diff --git a/libbirdfont/OpenFontFormat/NameTable.vala b/libbirdfont/OpenFontFormat/NameTable.valaindex 17345d5..e249203 100644--- a/libbirdfont/OpenFontFormat/NameTable.vala+++ b/libbirdfont/OpenFontFormat/NameTable.vala@@ -277,12 +277,6 @@ public class NameTable : OtfTable { 		text.add (font.license_url); 		type.add (LICENSE_URL); 		-		text.add (validate_name (font.name));-		type.add (PREFERED_FAMILY);-		-		text.add (validate_name (font.subfamily));-		type.add (PREFERED_SUB_FAMILY);-		 		num_records = (uint16) text.size; 		 		fd.add_ushort (0); // format 1

Contact

Email: johan.mattsson.m@gmail.com
Mastodon: typo.social/@birdfont
GitHub: johanmattssonm
LinkedIn: johan-mattsson-2ab324112