WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
UNCONFIRMED
33385
Small caps height is rendered too small
https://bugs.webkit.org/show_bug.cgi?id=33385
Summary
Small caps height is rendered too small
hcabbos
Reported
2010-01-08 08:02:00 PST
On Safari 4.0.4 and no doubt previous versions, the height of "lowercase" letters is too short. I've found this to be the case when using ems. I don'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'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 "lowercase" letters on the first line are not tall enough. You'll see a slight gap between the top of the letters and the guide. This isn'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.
Attachments
Add attachment
proposed patch, testcase, etc.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug