<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body dir="auto"><div></div><div>You guys are awesome. I think we talked more about en-dashes than actual spec corrections now. </div><div><br></div><div><br></div><div><br>On 05.01.2017, at 22:22, Peter Constable <a href="mailto:petercon@microsoft.com">petercon@microsoft.com</a> [mpeg-OTspec] <<a href="mailto:mpeg-OTspec-noreply@yahoogroups.com">mpeg-OTspec-noreply@yahoogroups.com</a>> wrote:<br><br></div><blockquote type="cite"><div>












 

<span style="display:none"> </span>



    <div id="ygrp-text">
      
      
      <p>


</p><div class="WordSection1">
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;">For OT1.8.1, I’ve made changes to CFF2.htm to consistently use “to” for ranges, hyphen-minus for negation, and en dash with surrounding spaces for subtraction (except in the
 case of “n–1” as an index subscript). I have no intention of applying these conventions throughout the OT spec, however: the discussion of operands and their interpretation in the CFF2 context is a special case.<o></o></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;"><o> </o></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;"><o> </o></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;">Peter<o></o></span></p>
<p class="MsoNormal"><a name="_MailEndCompose"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;"><o> </o></span></a></p>
<span></span>
<div>
<div style="border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0in 0in 0in;">
<p class="MsoNormal"><b><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;">From:</span></b><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;"> Levantovsky, Vladimir [<a href="mailto:Vladimir.Levantovsky@monotype.com">mailto:Vladimir.Levantovsky@monotype.com</a>]
<br>
<b>Sent:</b> Thursday, January 5, 2017 1:00 PM<br>
<b>To:</b> Peter Constable <<a href="mailto:petercon@microsoft.com">petercon@microsoft.com</a>>; Ken Lunde <<a href="mailto:lunde@adobe.com">lunde@adobe.com</a>>; Opstad, Dave <<a href="mailto:Dave.Opstad@monotype.com">Dave.Opstad@monotype.com</a>><br>
<b>Cc:</b> <a href="mailto:mpeg-OTspec@yahoogroups.com">mpeg-OTspec@yahoogroups.com</a><br>
<b>Subject:</b> RE: [mpeg-OTspec] OFF Font variations Working Draft for review<o></o></span></p>
</div>
</div>
<p class="MsoNormal"><o> </o></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;">I agree. It is even more confusing when the same character is used to describe the range of negative values, as is sometimes the case for operand encoding.<o></o></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;">What I did as part of the editorial changes when introducing the CFF2 content into the 14496-22 4<sup>th</sup> edition working draft is to use hyphen-minus for
 all arithmetic operations (both negation and subtraction) with no spaces, and en dash with spaces for value range, when it’s defined using both negative and positive numbers. I think that using verbal definition “X to Y” would be much less confusing, but the
 amount of editorial changes that would be required to make it consistent throughout the spec makes it a daunting task.<o></o></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;"><o> </o></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;">Vladimir<o></o></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;"><o> </o></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;"><o> </o></span></p>
<div>
<div style="border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in;">
<p class="MsoNormal"><b><span style="font-size:10.0pt;font-family:"Tahoma",sans-serif;">From:</span></b><span style="font-size:10.0pt;font-family:"Tahoma",sans-serif;">
<a href="mailto:mpeg-OTspec@yahoogroups.com">mpeg-OTspec@yahoogroups.com</a> [<a href="mailto:mpeg-OTspec@yahoogroups.com">mailto:mpeg-OTspec@yahoogroups.com</a>]
<b>On Behalf Of </b>Peter Constable <a href="mailto:petercon@microsoft.com">petercon@microsoft.com</a> [mpeg-OTspec]<br>
<b>Sent:</b> Thursday, January 05, 2017 3:37 PM<br>
<b>To:</b> Ken Lunde; Opstad, Dave<br>
<b>Cc:</b> <a href="mailto:mpeg-OTspec@yahoogroups.com">mpeg-OTspec@yahoogroups.com</a><br>
<b>Subject:</b> RE: [mpeg-OTspec] OFF Font variations Working Draft for review<o></o></span></p>
</div>
</div>
<p class="MsoNormal"><o> </o></p>
<div style="border-top:solid white 1.0pt;padding:3.0pt 0in 0in 0in;">
<p class="MsoNormal">  <o></o></p>
<div id="ygrp-mlmsg">
<div id="ygrp-msg">
<div id="ygrp-text">
<div>
<p class="MsoNormal">I agree. Having a B. Math degree, I like that notation, but it’s not going to be familiar enough to the general audience of the spec.<o></o></p>
<p class="MsoNormal"> <o></o></p>
<p class="MsoNormal">I’ve reviewed all the cases in which the HTML files for the OT spec have an &ndash; entity reference. In cases like head.flags or OS/2.ulUnicodeRange where a numeric range of bits
 is specified, there’s no ambiguity in using an en dash. <o></o></p>
<p class="MsoNormal"> <o></o></p>
<p class="MsoNormal">The CFF2 and CFF2 CharString specs are a little different, though, since there are sections in which ranges of byte codes are given that are interpreted as encoded numeric values,
 and then in the same context there are formulas for the interpretation that involve negation and subtraction operators. There are some inconsistencies, particularly use of both en dash and hyphen-minus for a negation operator. E.g., in table 3 within CFF2.htm,
 these strings occur:<o></o></p>
<p class="MsoNormal"> <o></o></p>
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:"Verdana",sans-serif;color:green;">-107 – +107</span><o></o></p>
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:"Verdana",sans-serif;color:green;">–(b0 – 251) * 256 – b1 – 108</span><o></o></p>
<p class="MsoNormal"> <o></o></p>
<p class="MsoNormal">Both use en dash for the subtraction operator, but they differ in the character used as a negation operator.<o></o></p>
<p class="MsoNormal"> <o></o></p>
<p class="MsoNormal">I’m inclined to use hyphen-minus for the negation operator, en dash with spaces for the subtraction operator, and list all the ranges using “to”. But I welcome input from those
 that are better-qualified typographers than I.<o></o></p>
<p class="MsoNormal"> <o></o></p>
<p class="MsoNormal">Peter<o></o></p>
<p class="MsoNormal"> <o></o></p>
<div>
<div style="border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0in 0in 0in;">
<p class="MsoNormal"><b>From:</b>
<a href="mailto:mpeg-OTspec@yahoogroups.com">mpeg-OTspec@yahoogroups.com</a> [<a href="mailto:mpeg-OTspec@yahoogroups.com">mailto:mpeg-OTspec@yahoogroups.com</a>]
<b>On Behalf Of </b>Ken Lunde <a href="mailto:lunde@adobe.com">lunde@adobe.com</a> [mpeg-OTspec]<br>
<b>Sent:</b> Thursday, January 5, 2017 12:18 PM<br>
<b>To:</b> Opstad, Dave <<a href="mailto:dave.opstad@monotype.com">dave.opstad@monotype.com</a>><br>
<b>Cc:</b> <a href="mailto:mpeg-OTspec@yahoogroups.com">mpeg-OTspec@yahoogroups.com</a><br>
<b>Subject:</b> Re: [mpeg-OTspec] OFF Font variations Working Draft for review<o></o></p>
</div>
</div>
<p class="MsoNormal"> <o></o></p>
<p class="MsoNormal"> 
<o></o></p>
<div id="ygrp-mlmsg">
<div id="ygrp-msg">
<div id="ygrp-text">
<p style="margin-bottom:12.0pt;">Dave, <br>
<br>
In the spirit of making specifications easier to read and understand, I would very strongly advise against using such notations, on the grounds that most people are not familiar with them.
<br>
<br>
Regards... <br>
<br>
-- Ken <br>
<br>
> On Jan 5, 2017, at 12:09 PM, 'Opstad, Dave' <a href="mailto:dave.opstad@monotype.com">
dave.opstad@monotype.com</a> [mpeg-OTspec] <<a href="mailto:mpeg-OTspec-noreply@yahoogroups.com">mpeg-OTspec-noreply@yahoogroups.com</a>> wrote:
<br>
> <br>
> <br>
> Mathematics already provides an alternative and unambiguous notation for ranges: [a, b] for closed (i.e. includes a and b), and (a, b) for open (does not include a or b). These may be mixed as well: [0, 1000) for instance specifies a value from 0 through
 999. <br>
> <br>
> Maybe it makes sense to adopt something like this? <br>
> <br>
> Cheers, <br>
> Dave <br>
> <br>
> From: <<a href="mailto:mpeg-OTspec@yahoogroups.com">mpeg-OTspec@yahoogroups.com</a>> on behalf of "Peter
<a href="mailto:Constablepetercon@microsoft.com">Constablepetercon@microsoft.com</a> [mpeg-OTspec]" <<a href="mailto:mpeg-OTspec-noreply@yahoogroups.com">mpeg-OTspec-noreply@yahoogroups.com</a>>
<br>
> Reply-To: Peter Constable <<a href="mailto:petercon@microsoft.com">petercon@microsoft.com</a>>
<br>
> Date: Thursday, January 5, 2017 at 11:37 <br>
> To: John Hudson <<a href="mailto:john@tiro.ca">john@tiro.ca</a>>, Indra Kupferschmid <<a href="mailto:kupfers@gmail.com">kupfers@gmail.com</a>>, "<a href="mailto:mpeg-OTspec@yahoogroups.com">mpeg-OTspec@yahoogroups.com</a>" <<a href="mailto:mpeg-OTspec@yahoogroups.com">mpeg-OTspec@yahoogroups.com</a>>
<br>
> Subject: RE: [mpeg-OTspec] OFF Font variations Working Draft for review <br>
> <br>
> <br>
> I looked a bit more into what's actually being done in the OT spec. Interestingly, I discovered that the CFF2 and CFF2 CharString chapters, which Adobe primarily authored, have many instances of en dash surrounded by spaces to indicate a numeric range. These
 chapters also have en dashes used as a negation sign (without space between the dash and the number), and as a minus operator — sometimes with and sometimes without spaces.
<br>
> <br>
> In a technical spec like this, the biggest pitfall to avoid would be confusion about numeric range versus negation or subtraction. In some contexts, it may reasonably clear, but using words "from... to..." for numeric ranges, as in OT's wording for OS/2.usWeightClass,
 eliminates ambiguity. Words may not be desirable in every context, though. Perhaps that's why the CFF2 authors put spaces before/after en dash when indicating a numeric range.
<br>
> <br>
> <br>
> Peter <br>
> <br>
> -----Original Message----- <br>
> From: John Hudson [<a href="mailto:john@tiro.ca">mailto:john@tiro.ca</a>] <br>
> Sent: Thursday, January 5, 2017 10:24 AM <br>
> To: Indra Kupferschmid <<a href="mailto:kupfers@gmail.com">kupfers@gmail.com</a>>; Peter Constable <<a href="mailto:petercon@microsoft.com">petercon@microsoft.com</a>>;<a href="mailto:mpeg-OTspec@yahoogroups.com">mpeg-OTspec@yahoogroups.com</a>
<br>
> Subject: Re: [mpeg-OTspec] OFF Font variations Working Draft for review <br>
> <br>
> On 05/01/17 09:54, Indra Kupferschmid <a href="mailto:kupfers@gmail.com">kupfers@gmail.com</a> [mpeg-OTspec] wrote:
<br>
> <br>
> > Oh disregard, I did not read well enough. I thought you were talking <br>
> > about dashes – like this. Ranges, list 0–100 are set with en-dash <br>
> > without space. <br>
> <br>
> Yes. The distinction is between whether the dash is used to separate items or to link them as in a number range.
<br>
> <br>
> JH <br>
> <br>
> <br>
> -- <br>
> <br>
> John Hudson <br>
> Tiro Typeworks Ltd <a href="http://www.tiro.com">www.tiro.com</a> <br>
> Salish Sea, BC <a href="mailto:tiro@tiro.com">tiro@tiro.com</a> <br>
> <br>
> NOTE: In the interests of productivity, I am currently dealing with email on only two days per week, usually Monday and Thursday unless this schedule is disrupted by travel. If you need to contact me urgently, please use some other method of communication.
 Thank you. <br>
> <br>
> <br>
> <br>
> <o></o></p>
</div>
</div>
</div>
</div>
</div>
<div>
<p class="MsoNormal"><span style="color:white;"><o></o></span></p>
</div>
</div>
</div>


</div></div><p></p>

    </div>
     

    





<!-- end group email -->

</div></blockquote></body></html>