<div style="color:rgb(0, 0, 0);font-family:arial,sans-serif;font-size:12pt"><p style="margin: 0.1rem 0; line-height: 1.0;">PBS had a ten-minute (or so) segment in yesterday's News Hour program about glasses emoji and moving beyond the "nerd" stigma, so I'm not surprised there's chatter on the Unicode list.</p>
<p style="margin: 0.1rem 0; line-height: 1.0;"> </p>
<p style="margin: 0.1rem 0; line-height: 1.0;">William, I'm curious: Why are you leading with a ZWNJ instead of placing it between the to-be-ligated characters?</p>
<p style="margin: 0.1rem 0; line-height: 1.0;">thanks,</p>
<p style="margin: 0.1rem 0; line-height: 1.0;">David Lemon</p>
<p style="margin: 0.1rem 0; line-height: 1.0;"> </p>
</div>
<div class="elnk-inline-message-container" style="border-left: 1px solid #aaa; box-sizing: border-box; padding: 10px 0 10px 15px; margin: 0;">
<p>-----Original Message-----<br>From: William_J_G Overington <wjgo_10009@btinternet.com><br>Sent: Oct 14, 2022 2:46 AM<br>To: 'MPEG OT Spec list' <mpeg-otspec@lists.aau.at>, Vladimir Levantovsky <vladimir.levantovsky@gmail.com><br>Subject: [MPEG-OTSPEC] Is it valid to use a GSUB sequence with a leading ZWJ character please?</p>
<p style="margin: 0.1rem 0; line-height: 1.0;"> </p>
<div class="auto-created-dir-div" dir="auto" style="unicode-bidi: embed;">
<p>An interesting discussion about glasses emoji is taking place in the Unicode public mailing list.</p>
<p> </p>
<p>https://corp.unicode.org/pipermail/unicode/2022-October/date.html</p>
<p> </p>
<p>Thinking about this, earlier this morning here in England I adapted one of my own fonts to add some additional glyphs to run a test, and it worked. I used the High-Logic FontCreator program to make the font and Serif Affinity Publisher to run the test.</p>
<p> </p>
<p>The font that I adapted is the Mariposa.otf font that is available from the following web page, though in fact I started with a copy of the unpublished High-Logic project file for the font.</p>
<p> </p>
<p>http://www.users.globalnet.co.uk/~ngo/mariposa_novel.htm</p>
<p> </p>
<p>To the font I added glyphs for three Unicode characters and for one unmapped glyph.</p>
<p> </p>
<p>U+200D ZERO WIDTH JOINER though I used a wide visible glyph design</p>
<p> </p>
<p>U+1F453 EYEGLASSES</p>
<p> </p>
<p>U+1F469 WOMAN</p>
<p> </p>
<p>unmapped ceyeglasses, a copy of the glyph used for eyeglasses, moved 2048 font units to the left and the glyph having zero advance width.</p>
<p> </p>
<p>Within the liga table I added the following line.</p>
<p> </p>
<p>sub uni200D u1F453 -> ceyeglasses;</p>
<p> </p>
<p>that is, for "combining eyeglasses".</p>
<p> </p>
<p>Please note that the substitution starts with a ZERO WIDTH JOINER</p>
<p> </p>
<p>In the test in Affinity Publisher I used the Glyph Browser to enter the three characters</p>
<p> </p>
<p>U+1F469 U+200D U+1F4F3</p>
<p> </p>
<p>and the result displayed was of a woman wearing the eyeglasses as the display was of the glyph for WOMAN with the glyph for ceyeglasses superimposed upon it.</p>
<p> </p>
<p>So if it is valid to use a glyph substitution with a leading ZWJ in this way then the issue appears to be solved.</p>
<p> </p>
<p><span style="display: inline !important;">Is it valid to use a glyph substitution with a leading ZWJ in this way please?</span></p>
<p> </p>
<p>One could go further with a sequence also involving a pink square and a large circle to produce stylish large round pink rimmed glasses for the lady to be wearing.</p>
<p> </p>
<p>Indeed the technique could be adapted so that the lady is also wearing a U+1F452 WOMANS HAT in a stylish purple colour.</p>
<p> </p>
<p>William Overington</p>
<p> </p>
<p>Friday 14 October 2022</p>
<p> </p>
<p> </p>
</div>
</div>
<p style="margin: 0.1rem 0; line-height: 1.0;"> </p>
<p style="margin: 0.1rem 0; line-height: 1.0;"> </p>