<?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>33385</bug_id>
          
          <creation_ts>2010-01-08 08:02:00 -0800</creation_ts>
          <short_desc>Small caps height is rendered too small</short_desc>
          <delta_ts>2010-01-08 08:02:00 -0800</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>528+ (Nightly build)</version>
          <rep_platform>Mac</rep_platform>
          <op_sys>OS X 10.5</op_sys>
          <bug_status>UNCONFIRMED</bug_status>
          <resolution></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>0</everconfirmed>
          <reporter>hcabbos</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>hcabbos</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>178677</commentid>
    <comment_count>0</comment_count>
    <who name="">hcabbos</who>
    <bug_when>2010-01-08 08:02:00 -0800</bug_when>
    <thetext>On Safari 4.0.4 and no doubt previous versions, the height of &quot;lowercase&quot; letters is too short. I&apos;ve found this to be the case when using ems. I don&apos;t know if pixels render the same way.

Here are screenshots of Safari on left and Firefox 3.6b5 on right:

===============
Make sure your browser hasn&apos;t scaled the image down so you can see this crisp…
===============

With guides:
http://www.fuzendesign.com/safaribug/smallcaps-guides.png

Without guides:
http://www.fuzendesign.com/safaribug/smallcaps-rendering.png

The guides shown are based on the x-height for that paragraph (meaning lowercase letters for the regular text--not the first line).

Although not shown, Safari and Firefox have the same exact rendering of x-height for the regular body text. So the reference point (the spacing of guides) is true for both browsers. Excellent!

The problem lies with how Safari renders font-variant: small caps. In this case, the &quot;lowercase&quot; letters on the first line are not tall enough. You&apos;ll see a slight gap between the top of the letters and the guide. This isn&apos;t the case with Firefox which renders it right.

I believe that difference makes a huge difference in the practical use of small caps in Safari.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>