chiark / gitweb /
Update comment on compare_glyphs_by_ffid()
authorBen Harris <bjh21@bjh21.me.uk>
Sun, 3 Nov 2024 13:17:23 +0000 (13:17 +0000)
committerBen Harris <bjh21@bjh21.me.uk>
Thu, 14 Nov 2024 22:27:18 +0000 (22:27 +0000)
It's not necessary any more, but it does seem to make the output file
smaller so it can stay for now.

bedstead.c

index 7012f49882fe9f441459273f0222a2566cbedc0f..3af9c02e4afc9a4d42de52d263530359f83e6acf 100644 (file)
@@ -2742,9 +2742,8 @@ get_glyph_by_name(char const *name)
 
 /*
  * Compare glyphs in a way that will put them in an order that
- * FontForge won't change.  This should mean that our glyph IDs match
- * FontForge's, so that we can use them in tables that FontForge
- * doesn't understand.
+ * FontForge wouldn't change.  We don't actually use FontForge any
+ * more, but this sorting still makes the OTF file a few K shorter.
  */
 static int
 compare_glyphs_by_ffid(const void *va, const void *vb)