-
mitz@apple.com authored
- make synthetic bold and synthetic italics work in GDI text - account for synthetic bold in complex text on Windows * platform/graphics/win/FontCGWin.cpp: (WebCore::Font::drawGlyphs): Adjusted the text rectangle's x coordinates to fit italics. Added a skew transform for synthetic italics and a second paint pass for synthetic bold. * platform/graphics/win/SimpleFontDataWin.cpp: (WebCore::SimpleFontData::widthForGDIGlyph): Added the synthetic bold offset. * platform/graphics/win/UniscribeController.cpp: (WebCore::UniscribeController::shapeAndPlaceItem): Added the synthetic bold offset. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@32781 268f45cc-cd09-0410-ab3c-d52691b4dbfc
e5a7a74a