Skip to content

Modify name table to pass more fontbakery checks#42

Open
madig wants to merge 1 commit intodaltonmaag:masterfrom
madig:name-fixes
Open

Modify name table to pass more fontbakery checks#42
madig wants to merge 1 commit intodaltonmaag:masterfrom
madig:name-fixes

Conversation

@madig
Copy link
Contributor

@madig madig commented Dec 26, 2017

  1. Delete openTypeNameDescription as it was deemed too long.
  2. Change openTypeNameDesigner and openTypeNameManufacturer to "Dalton
    Maag Limited", as that is what the vendor id DAMA resolves to
    officially.
  3. Insert openTypeNameLicense and openTypeNameLicenseURL.

More modifications are necessary: should openTypeNameLicense spell out the entire license text?

1. Delete openTypeNameDescription as it was deemed too long.
2. Change openTypeNameDesigner and openTypeNameManufacturer to "Dalton
Maag Limited", as that is what the vendor id DAMA resolves to
officially.
3. Insert openTypeNameLicense and openTypeNameLicenseURL.

More modifications are necessary.
<integer>693</integer>
<key>copyright</key>
<string>Copyright 2011 Canonical Ltd. Licensed under the Ubuntu Font Licence 1.0</string>
<string>Copyright 2011 Canonical Ltd.</string>
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Probably useful to leave the libre licence for the moment. It is included in the GF release, so changing this would increase the diff size.

<key>openTypeNameDescription</key>
<string>The Ubuntu Font Family are libre fonts funded by Canonical Ltd on behalf of the Ubuntu project. The font design work and technical implementation is being undertaken by Dalton Maag. The typeface is sans-serif, uses OpenType features and is manually hinted for clarity on desktop and mobile computing screens.

The scope of the Ubuntu Font Family includes all the languages used by the various Ubuntu users around the world in tune with Ubuntu's philosophy which states that every user should be able to use their software in the language of their choice. The project is ongoing, and we expect the family will be extended to cover many written languages in the coming years.</string>
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Perhaps better to replace this with something shorter, than simply delete it wholesale.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Mind you, that would increase the diff, as the GF version has it deleted, too.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should be enough to just

<!--
comment it out
-->

on the lines before/after. Nice small diff, same effect.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ufonormalizer then kills it dead :D

The scope of the Ubuntu Font Family includes all the languages used by the various Ubuntu users around the world in tune with Ubuntu's philosophy which states that every user should be able to use their software in the language of their choice. The project is ongoing, and we expect the family will be extended to cover many written languages in the coming years.</string>
<key>openTypeNameDesigner</key>
<string>Dalton Maag Ltd</string>
<string>Dalton Maag Limited</string>
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Might be better to fix this upstream by teaching the checker that "Ltd" is an abbreviation of "Limited".

@sladen
Copy link
Collaborator

sladen commented Dec 28, 2017

Can we split this into what is useful for reaching baseline parity vs. what is useful for making FontBakery happier?

@madig
Copy link
Contributor Author

madig commented Dec 28, 2017

The only real baseline change would be to remove the description.

The other diffs to baseline are:

  1. No Mac name table in the UFO
  2. Version and UniqueID are different, intentionally so if I see this correctly (Update names #1):
--- /tmp/font1/Ubuntu-R.ttx	2017-12-28 21:42:45.814749674 +0100
+++ /tmp/font2/Ubuntu-R.ttx	2017-12-28 21:42:46.542746366 +0100
@@ -2,40 +2,4 @@
 
   <name>
-    <namerecord nameID="0" platformID="1" platEncID="0" langID="0x0" unicode="True">
-      Copyright 2011 Canonical Ltd.  Licensed under the Ubuntu Font Licence 1.0
-    </namerecord>
-    <namerecord nameID="1" platformID="1" platEncID="0" langID="0x0" unicode="True">
-      Ubuntu
-    </namerecord>
-    <namerecord nameID="2" platformID="1" platEncID="0" langID="0x0" unicode="True">
-      Regular
-    </namerecord>
-    <namerecord nameID="3" platformID="1" platEncID="0" langID="0x0" unicode="True">
-      0.83;DAMA;Ubuntu-Regular
-    </namerecord>
-    <namerecord nameID="4" platformID="1" platEncID="0" langID="0x0" unicode="True">
-      Ubuntu Regular
-    </namerecord>
-    <namerecord nameID="5" platformID="1" platEncID="0" langID="0x0" unicode="True">
-      0.83
-    </namerecord>
-    <namerecord nameID="6" platformID="1" platEncID="0" langID="0x0" unicode="True">
-      Ubuntu-Regular
-    </namerecord>
-    <namerecord nameID="7" platformID="1" platEncID="0" langID="0x0" unicode="True">
-      Ubuntu and Canonical are registered trademarks of Canonical Ltd.
-    </namerecord>
-    <namerecord nameID="8" platformID="1" platEncID="0" langID="0x0" unicode="True">
-      Dalton Maag Ltd
-    </namerecord>
-    <namerecord nameID="9" platformID="1" platEncID="0" langID="0x0" unicode="True">
-      Dalton Maag Ltd
-    </namerecord>
-    <namerecord nameID="11" platformID="1" platEncID="0" langID="0x0" unicode="True">
-      http://www.daltonmaag.com/
-    </namerecord>
-    <namerecord nameID="12" platformID="1" platEncID="0" langID="0x0" unicode="True">
-      http://www.daltonmaag.com/
-    </namerecord>
     <namerecord nameID="0" platformID="3" platEncID="1" langID="0x409">
       Copyright 2011 Canonical Ltd.  Licensed under the Ubuntu Font Licence 1.0
@@ -48,5 +12,5 @@
     </namerecord>
     <namerecord nameID="3" platformID="3" platEncID="1" langID="0x409">
-      0.83;DAMA;Ubuntu-Regular
+      Ubuntu Regular Version 0.83
     </namerecord>
     <namerecord nameID="4" platformID="3" platEncID="1" langID="0x409">
@@ -54,5 +18,5 @@
     </namerecord>
     <namerecord nameID="5" platformID="3" platEncID="1" langID="0x409">
-      0.83
+      Version 0.83
     </namerecord>
     <namerecord nameID="6" platformID="3" platEncID="1" langID="0x409">

@sladen
Copy link
Collaborator

sladen commented Feb 5, 2018

The openTypeNameDescription was already already commited in:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants