<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>150329</bug_id>
          
          <creation_ts>2015-10-19 07:11:55 -0700</creation_ts>
          <short_desc>Strange characters when using OpenType ligatures and soft hyphens</short_desc>
          <delta_ts>2015-10-21 08:05:48 -0700</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>Text</component>
          <version>Safari 9</version>
          <rep_platform>Mac</rep_platform>
          <op_sys>OS X 10.11</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Mathias Nater">mnater</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>ap</cc>
    
    <cc>mmaxfield</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1134570</commentid>
    <comment_count>0</comment_count>
      <attachid>263480</attachid>
    <who name="Mathias Nater">mnater</who>
    <bug_when>2015-10-19 07:11:55 -0700</bug_when>
    <thetext>Created attachment 263480
reduction showing the described bug

If a text is rendered with an OpenType font supporting the &quot;liga&quot; feature (e.g. Source Sans Pro) and this text also contains soft hyphens, strange characters are displayed around the soft hyphens following a ligature on the same rendered line.

If ligatures are disabled by -webkit-font-variant-ligatures: no-common-ligatures; or -webkit-font-feature-settings: &quot;liga&quot; 0; text is displayed correctly.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1134930</commentid>
    <comment_count>1</comment_count>
    <who name="Myles C. Maxfield">mmaxfield</who>
    <bug_when>2015-10-20 10:58:01 -0700</bug_when>
    <thetext>Please try in a nightly build. I think I fixed this in http://trac.webkit.org/changeset/190891</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1134948</commentid>
    <comment_count>2</comment_count>
    <who name="Mathias Nater">mnater</who>
    <bug_when>2015-10-20 11:35:02 -0700</bug_when>
    <thetext>I tested the above in WebKit-SVN-r191175 and now in WebKit-SVN-r191340: no changes.

Although I&apos;m not sure if this is really the nightly build since &quot;About Safari&quot; says &quot;Version 9.0 (11601.1.56)&quot; when I launch the nightly build. Is that normal or did I make a mistake?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1134967</commentid>
    <comment_count>3</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2015-10-20 12:49:18 -0700</bug_when>
    <thetext>Unfortunately, nightly builds don&apos;t currently work on OS X El Capitan.

As far as I know, they should work if you temporarily disable System Integrity Protection.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1135211</commentid>
    <comment_count>4</comment_count>
    <who name="Mathias Nater">mnater</who>
    <bug_when>2015-10-21 08:05:48 -0700</bug_when>
    <thetext>It&apos;s very unfortunate that there&apos;s no note about nightlies not working on El Capitan on nightly.webkit.org

I used the workaround on https://trac.webkit.org/wiki/WebKitNightlyElCapWorkaround and now I can confirm that this bug has been fixed indeed.

Thanks for the fix and sorry for the double post.

Kind regards,
Mathias</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>263480</attachid>
            <date>2015-10-19 07:11:55 -0700</date>
            <delta_ts>2015-10-19 07:11:55 -0700</delta_ts>
            <desc>reduction showing the described bug</desc>
            <filename>test121.html</filename>
            <type>text/html</type>
            <size>1445</size>
            <attacher name="Mathias Nater">mnater</attacher>
            
              <data encoding="base64">PCFET0NUWVBFIGh0bWw+CjxodG1sIGxhbmc9ImVuIj4KICAgIDxoZWFkPgogICAgICAgIDxtZXRh
IGh0dHAtZXF1aXY9ImNvbnRlbnQtdHlwZSIgY29udGVudD0idGV4dC9odG1sOyBjaGFyc2V0PXV0
Zi04IiAvPgogICAgICAgIDx0aXRsZT5UZXN0PC90aXRsZT4KICAgICAgICA8bGluayBocmVmPSdo
dHRwczovL2ZvbnRzLmdvb2dsZWFwaXMuY29tL2Nzcz9mYW1pbHk9U291cmNlK1NhbnMrUHJvJyBy
ZWw9J3N0eWxlc2hlZXQnIHR5cGU9J3RleHQvY3NzJz4KICAgICAgICA8c3R5bGUgdHlwZT0idGV4
dC9jc3MiPgogICAgICAgICAgICBib2R5IHsKICAgICAgICAgICAgICAgIHdpZHRoOjUwJTsKICAg
ICAgICAgICAgICAgIG1hcmdpbi1sZWZ0OjI1JTsKICAgICAgICAgICAgICAgIG1hcmdpbi1yaWdo
dDoyNSU7CiAgICAgICAgICAgIH0KICAgICAgICAgICAgZGl2Lm5vcm1hbCB7CiAgICAgICAgICAg
ICAgICBmb250LWZhbWlseTogJ1NvdXJjZSBTYW5zIFBybycsIHNhbnMtc2VyaWY7CiAgICAgICAg
ICAgIH0KICAgICAgICAgICAgZGl2Lm5vbGlnYSB7CiAgICAgICAgICAgICAgICBmb250LWZhbWls
eTogJ1NvdXJjZSBTYW5zIFBybycsIHNhbnMtc2VyaWY7CiAgICAgICAgICAgICAgICAtd2Via2l0
LWZvbnQtdmFyaWFudC1saWdhdHVyZXM6IG5vLWNvbW1vbi1saWdhdHVyZXM7CiAgICAgICAgICAg
ICAgICAvKi13ZWJraXQtZm9udC1mZWF0dXJlLXNldHRpbmdzOiAibGlnYSIgMDsqLwogICAgICAg
ICAgICB9CiAgICAgICAgPC9zdHlsZT4KICAgIDwvaGVhZD4KICAgIDxib2R5PgogICAgICAgIDxk
aXYgY2xhc3M9Imh5cGhlbmF0ZSBub3JtYWwiPgogICAgICAgICAgICA8aDI+dXNpbmcgc29mdCBo
eXBoZW5zIGFuZCBsaWdhdHVyZXMgaW4gT3BlblR5cGUtRm9udCBlbmFibGVkOjwvaDI+CiAgICAg
ICAgICAgIDxwPmxpZyZzaHk7YSZzaHk7dHVyZSBmZiBzb21lJnNoeTt0aW1lcyBjb3Imc2h5O3J1
cHRzIGh5JnNoeTtwaGVuJnNoeTthdGlvbjwvcD4KICAgICAgICAgICAgPHA+bGlnJnNoeTthJnNo
eTt0dXJlIGZ0IHNvbWUmc2h5O3RpbWVzIGNvciZzaHk7cnVwdHMgaHkmc2h5O3BoZW4mc2h5O2F0
aW9uPC9wPgogICAgICAgIDwvZGl2PgogICAgICAgIDxkaXYgY2xhc3M9Imh5cGhlbmF0ZSBub2xp
Z2EiPgogICAgICAgICAgICA8aDI+dXNpbmcgc29mdCBoeXBoZW5zIGFuZCBsaWdhdHVyZXMgaW4g
T3BlblR5cGUtRm9udCBkaXNhYmxlZDo8L2gyPgogICAgICAgICAgICA8cD5saWcmc2h5O2Emc2h5
O3R1cmUgZmYgc29tZSZzaHk7dGltZXMgY29yJnNoeTtydXB0cyBoeSZzaHk7cGhlbiZzaHk7YXRp
b248L3A+CiAgICAgICAgICAgIDxwPmxpZyZzaHk7YSZzaHk7dHVyZSBmdCBzb21lJnNoeTt0aW1l
cyBjb3Imc2h5O3J1cHRzIGh5JnNoeTtwaGVuJnNoeTthdGlvbjwvcD4KICAgICAgICA8L2Rpdj4K
CiAgICA8L2JvZHk+CjwvaHRtbD4=
</data>

          </attachment>
      

    </bug>

</bugzilla>