<div dir="ltr"><div class="gmail_default" style="font-family:verdana,sans-serif">Note: I remember a reason for 27 instead of 29 or 31. It was so we (Adobe) could have a filename of the format "PSFontName.afm" and have it still come out at 31 characters or less, for compatibility with Mac Classic and/or really old versions of Windows.</div>
<div class="gmail_default" style="font-family:verdana,sans-serif"><br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Jun 10, 2014 at 4:59 PM, Ken Lunde <a href="mailto:lunde@adobe.com">lunde@adobe.com</a> [mpeg-OTspec] <span dir="ltr"><<a href="mailto:mpeg-OTspec@yahoogroups.com" target="_blank">mpeg-OTspec@yahoogroups.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Thomas and others,<br>
<br>
I looked into this a week or two ago. Page 14 of Adobe Tech Note #5176 ("The Compact Font Format Specification") states the following:<br>
<br>
> For compatibility with client software, such as PostScript interpreters and Acrobat®, font names should be no longer than 127 characters and should not contain any of the following ASCII characters: [, ], (, ), {, }, <, >, /, %, null (NUL), space, tab, carriage return, line feed, form feed. It is recommended that font names be restricted to the printable ASCII subset, codes 33 through 126. Adobe Type Manager® (ATM®) software imposes a further restriction on the font name length of 63 characters.<br>
><br>
> Note 3: For compatibility with earlier PostScript interpreters, see Technical Note #5088, "Font Naming Issues."<br>
<br>
The following is from page 8 of Adobe Tech Note #5088 ("Font Naming Issues"):<br>
<br>
> The FontName generally consists of a family name (specifically, the one used for FamilyName), followed by a hyphen and style attributes in the same order as in the FullName. For compatibility with the earliest versions of PostScript interpreters and with the file systems in some operating systems, Adobe limits the number of characters in the FontName to 29 characters.<br>
<br>
In other words, there appears to be three length limits for the FontName string: 29, 63, and 127.<br>
<br>
The quoted Adobe Tech Notes can be obtained here:<br>
<br>
<a href="http://www.adobe.com/devnet/font.html" target="_blank">http://www.adobe.com/devnet/font.html</a><br>
<br>
Cheers!<br>
<br>
-- Ken<br>
<div class=""><br>
On Jun 10, 2014, at 4:40 PM, Thomas Phinney <a href="mailto:tphinney@cal.berkeley.edu">tphinney@cal.berkeley.edu</a> [mpeg-OTspec] <<a href="mailto:mpeg-OTspec@yahoogroups.com">mpeg-OTspec@yahoogroups.com</a>> wrote:<br>
<br>
><br>
> Yes, the 31 vs 63 thing caught me off guard as well. When did it change?<br>
><br>
><br>
> On Tue, Jun 10, 2014 at 2:53 PM, James Cloos <a href="mailto:cloos%2Bmpeg-otspec@jhcloos.com">cloos+mpeg-otspec@jhcloos.com</a> [mpeg-OTspec] <<a href="mailto:mpeg-OTspec@yahoogroups.com">mpeg-OTspec@yahoogroups.com</a>> wrote:<br>
><br>
> The simplification is good, but:<br>
><br>
><br>
><br>
> > translated to ASCII, the name string must be no longer than 63 characters<br>
><br>
> How long have PostScript interpreters supported names longer than 31?<br>
><br>
> Should it note that ps name used to be limited to 31?<br>
><br>
> -JimC<br>
> --<br>
> James Cloos <<a href="mailto:cloos@jhcloos.com">cloos@jhcloos.com</a>> OpenPGP: 0x997A9F17ED7DAEA6<br>
><br>
><br>
><br>
><br>
</div><div class="">> --<br>
> On paper books and ebooks: “Paper books are the packaging that books come in.”<br>
> —Cory Doctorow<br>
><br>
><br>
<br>
<br>
<br>
</div>------------------------------------<br>
<br>
------------------------------------<br>
<br>
Yahoo Groups Links<br>
<br>
<*> To visit your group on the web, go to:<br>
<a href="http://groups.yahoo.com/group/mpeg-OTspec/" target="_blank">http://groups.yahoo.com/group/mpeg-OTspec/</a><br>
<br>
<*> Your email settings:<br>
Individual Email | Traditional<br>
<br>
<*> To change settings online go to:<br>
<a href="http://groups.yahoo.com/group/mpeg-OTspec/join" target="_blank">http://groups.yahoo.com/group/mpeg-OTspec/join</a><br>
(Yahoo! ID required)<br>
<br>
<*> To change settings via email:<br>
<a href="mailto:mpeg-OTspec-digest@yahoogroups.com">mpeg-OTspec-digest@yahoogroups.com</a><br>
<a href="mailto:mpeg-OTspec-fullfeatured@yahoogroups.com">mpeg-OTspec-fullfeatured@yahoogroups.com</a><br>
<br>
<*> To unsubscribe from this group, send an email to:<br>
<a href="mailto:mpeg-OTspec-unsubscribe@yahoogroups.com">mpeg-OTspec-unsubscribe@yahoogroups.com</a><br>
<br>
<*> Your use of Yahoo Groups is subject to:<br>
<a href="https://info.yahoo.com/legal/us/yahoo/utos/terms/" target="_blank">https://info.yahoo.com/legal/us/yahoo/utos/terms/</a><br>
<br>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div dir="ltr"><font style="background-color:rgb(255,255,255)" face="verdana, sans-serif"><span style="line-height:18px">On paper books and ebooks: “</span><span style="color:rgb(0,0,0);white-space:pre-wrap">Paper books are the packaging that books come in</span><span style="line-height:18px">.”</span><span style="line-height:18px"><br>
</span><span style="border:0px;margin:0px;padding:0px">—Cory Doctorow</span></font></div>
</div>