WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
146463
[Cocoa] Support bold and thin italicized system fonts
https://bugs.webkit.org/show_bug.cgi?id=146463
Summary
[Cocoa] Support bold and thin italicized system fonts
Myles C. Maxfield
Reported
2015-06-30 12:06:48 PDT
[iOS] Support bold and thin italicized system fonts
Attachments
Patch
(7.86 KB, patch)
2015-06-30 13:33 PDT
,
Myles C. Maxfield
no flags
Details
Formatted Diff
Diff
Archive of layout-test-results from ews104 for mac-mavericks-wk2
(656.32 KB, application/zip)
2015-06-30 14:05 PDT
,
Build Bot
no flags
Details
Archive of layout-test-results from ews102 for mac-mavericks
(636.21 KB, application/zip)
2015-06-30 14:06 PDT
,
Build Bot
no flags
Details
Patch
(8.56 KB, patch)
2015-06-30 22:41 PDT
,
Myles C. Maxfield
darin
: review+
Details
Formatted Diff
Diff
Patch for committing
(8.51 KB, patch)
2015-07-01 11:08 PDT
,
Myles C. Maxfield
no flags
Details
Formatted Diff
Diff
Show Obsolete
(3)
View All
Add attachment
proposed patch, testcase, etc.
Myles C. Maxfield
Comment 1
2015-06-30 13:33:38 PDT
Created
attachment 255845
[details]
Patch
Myles C. Maxfield
Comment 2
2015-06-30 13:34:08 PDT
<
rdar://problem/20948885
>
Myles C. Maxfield
Comment 3
2015-06-30 13:42:33 PDT
Comment on
attachment 255845
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=255845&action=review
> Source/WebCore/ChangeLog:3 > + [iOS] Support bold and thin italicized system fonts
Should be marked as [Cocoa]
Build Bot
Comment 4
2015-06-30 14:05:03 PDT
Comment on
attachment 255845
[details]
Patch
Attachment 255845
[details]
did not pass mac-wk2-ews (mac-wk2): Output:
http://webkit-queues.appspot.com/results/6515086898233344
New failing tests: fast/text/weighted-italicized-system-font.html
Build Bot
Comment 5
2015-06-30 14:05:05 PDT
Created
attachment 255846
[details]
Archive of layout-test-results from ews104 for mac-mavericks-wk2 The attached test failures were seen while running run-webkit-tests on the mac-wk2-ews. Bot: ews104 Port: mac-mavericks-wk2 Platform: Mac OS X 10.9.5
Build Bot
Comment 6
2015-06-30 14:06:44 PDT
Comment on
attachment 255845
[details]
Patch
Attachment 255845
[details]
did not pass mac-ews (mac): Output:
http://webkit-queues.appspot.com/results/4962156378324992
New failing tests: fast/text/weighted-italicized-system-font.html
Build Bot
Comment 7
2015-06-30 14:06:47 PDT
Created
attachment 255848
[details]
Archive of layout-test-results from ews102 for mac-mavericks The attached test failures were seen while running run-webkit-tests on the mac-ews. Bot: ews102 Port: mac-mavericks Platform: Mac OS X 10.9.5
Myles C. Maxfield
Comment 8
2015-06-30 14:32:51 PDT
Looks like Mavericks doesn't have true italics. I'll try on Yosemite before updating TestExpectations.
Myles C. Maxfield
Comment 9
2015-06-30 22:41:03 PDT
Created
attachment 255900
[details]
Patch
Darin Adler
Comment 10
2015-07-01 09:38:30 PDT
Comment on
attachment 255900
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=255900&action=review
> Source/WebCore/platform/graphics/mac/FontCacheMac.mm:244 > + if (desiredTraits & NSFontItalicTrait) { > + NSFontManager *fontManager = [NSFontManager sharedFontManager]; > + result = [fontManager convertFont:result toHaveTrait:desiredTraits]; > + }
Would read better without the local variable.
> LayoutTests/platform/mac-mavericks/TestExpectations:23 > +# Mavericks doesn't have an italic system font > +fast/text/weighted-italicized-system-font.html [ Failure ]
I think a different expected.html would be a better way to deal with this than expecting failure. We want to make sure that it correctly gives a non-italic result, right?
Myles C. Maxfield
Comment 11
2015-07-01 11:08:01 PDT
Created
attachment 255933
[details]
Patch for committing
WebKit Commit Bot
Comment 12
2015-07-01 17:03:14 PDT
Comment on
attachment 255933
[details]
Patch for committing Clearing flags on attachment: 255933 Committed
r186205
: <
http://trac.webkit.org/changeset/186205
>
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