<html>
    <head>
      <base href="https://bugs.webkit.org/" />
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - [Win] Some fonts aren't rendered due to a failure of Uniscribe"
   href="https://bugs.webkit.org/show_bug.cgi?id=151651">151651</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>[Win] Some fonts aren't rendered due to a failure of Uniscribe
          </td>
        </tr>

        <tr>
          <th>Classification</th>
          <td>Unclassified
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>WebKit
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>Other
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>Unspecified
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>Windows 7
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>Normal
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>P2
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>Text
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>webkit-unassigned&#64;lists.webkit.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>hur.ims&#64;navercorp.com
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>mmaxfield&#64;apple.com
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Created <span class=""><a href="attachment.cgi?id=266236" name="attach_266236" title="simple web page showing the problem">attachment 266236</a> <a href="attachment.cgi?id=266236&amp;action=edit" title="simple web page showing the problem">[details]</a></span>
simple web page showing the problem

On Windows, some web fonts(e.g. Droid Serif, Titillium Web) aren't rendered with 'text-rendering: optimizelegibility' CSS value. [1][2]
After some debugging, I found that ScriptShape(), which is in UniscribeController::shape(), returns E_FAIL[1] with those problematic fonts. (I couldn't find any reasons for the failure)
It seems that when it fails, there is no fallback mechanism, so no texts are displayed on the screen.

It would be helpful if somebody look into this.


[1] <a href="http://vimawesome.com/">http://vimawesome.com/</a>
[2] <a href="http://www.dotcss.io/">http://www.dotcss.io/</a></pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>