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

<bugzilla version="5.0.4"
          urlbase="https://www.w3.org/Bugs/Public/"
          
          maintainer="sysbot+bugzilla@w3.org"
>

    <bug>
          <bug_id>27889</bug_id>
          
          <creation_ts>2015-01-24 00:36:10 +0000</creation_ts>
          <short_desc>pick up font-indicated default ligatures without having to specify liga=1</short_desc>
          <delta_ts>2015-01-26 00:43:35 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>CSS</product>
          <component>Fonts</component>
          <version>unspecified</version>
          <rep_platform>PC</rep_platform>
          <op_sys>Windows NT</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>INVALID</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="Mike Kamermans">pomax</reporter>
          <assigned_to name="John Daggett">jdaggett</assigned_to>
          
          
          <qa_contact>public-css-bugzilla</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>117467</commentid>
    <comment_count>0</comment_count>
    <who name="Mike Kamermans">pomax</who>
    <bug_when>2015-01-24 00:36:10 +0000</bug_when>
    <thetext>In fonts that come with default ligatures that should simply always be turned on, it seems counter-roductive to require that the &quot;liga&quot; feature be enabled in CSS as well. The expectation would be that those ligatures &quot;just work&quot;, because the font indicates this always.

Smallest demonstrator I have is the font used in http://pomax.github.io/CFF-glyphlet-fonts/, which has a default GSUB ligature to replace &apos;~&apos;, as well as the string &apos;custom&apos;, neither of which work without explicitly turning on the liga opentype feature in CSS.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>117475</commentid>
    <comment_count>1</comment_count>
    <who name="John Daggett">jdaggett</who>
    <bug_when>2015-01-26 00:43:35 +0000</bug_when>
    <thetext>Hi Mike,

The mechanism by which ligatures &quot;just work&quot; is that OpenType defines a set of features that should be applied by default, which is precisely what good layout applications do. The wording of the CSS3 Fonts spec is that user agents should apply these default features to all text. Currently only Firefox does this but I expect Chrome will at some point switch to doing this also.

So I don&apos;t think there&apos;s anything here that&apos;s a spec bug per se, you should be filing bugs against Chrome and Webkit since they don&apos;t implement default feature support (it needs to be enabled explictly or via &apos;text-rendering: optimizeLegibility&apos;).</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>