Comment #3 on issue 29805 by [email protected]: weird @font-face font
rendering: thatwasnotok.com
http://code.google.com/p/chromium/issues/detail?id=29805
The issue can be reproduced regardless of the value of
ENABLE_OPENTYPE_SANITIZER. The minimum HTML which reproduces the issue is
something like this:
<style type="text/css">
@font-face {
font-family: C;
src: url('Chunkfive.otf') format('opentype');
}
.y {
font-family:C,Impact;
font-weight:normal;
}
</style>
<h2 class="y">xyz</h2>
<!-- You can download the font from
http://thatwasnotok.com/fonts/Chunkfive.otf or
http://www.fontsquirrel.com/fonts/ChunkFive -->
I added some debug code to TransparencyAwareGlyphPainter::drawGlyphs() in
FontChromiumWin.cpp and found that only the 'y' character is
rendered with 'Impact' font, not the webfont.
I'm going to look into the CSS font fallback code for Chromium Windows...
--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings
--
Automated mail from issue updates at http://crbug.com/
Subscription options: http://groups.google.com/group/chromium-bugs