WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
43499
WebKit2 on Windows should use Windows fonts for the various standard font families
https://bugs.webkit.org/show_bug.cgi?id=43499
Summary
WebKit2 on Windows should use Windows fonts for the various standard font fam...
Adam Roben (:aroben)
Reported
2010-08-04 11:52:19 PDT
WebKit2 on Windows (specifically, WebPreferencesStore) currently uses Mac fonts for the various standard font families. But we should use Windows fonts instead!
Attachments
Patch
(4.68 KB, patch)
2010-09-29 19:49 PDT
,
Jon Honeycutt
aroben
: review+
jhoneycutt
: commit-queue-
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Adam Roben (:aroben)
Comment 1
2010-08-04 11:52:49 PDT
<
rdar://problem/8272758
>
Jon Honeycutt
Comment 2
2010-09-29 19:49:25 PDT
Created
attachment 69299
[details]
Patch
Adam Roben (:aroben)
Comment 3
2010-09-30 04:13:41 PDT
Comment on
attachment 69299
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=69299&action=review
> WebKitTools/WebKitTestRunner/TestController.cpp:216 > + static WKStringRef standardFontFamily = WKStringCreateWithCFString(CFSTR("Times")); > + static WKStringRef cursiveFontFamily = WKStringCreateWithCFString(CFSTR("Apple Chancery")); > + static WKStringRef fantasyFontFamily = WKStringCreateWithCFString(CFSTR("Papyrus")); > + static WKStringRef fixedFontFamily = WKStringCreateWithCFString(CFSTR("Courier")); > + static WKStringRef sansSerifFontFamily = WKStringCreateWithCFString(CFSTR("Helvetica")); > + static WKStringRef serifFontFamily = WKStringCreateWithCFString(CFSTR("Times"));
This is going to upset people in
bug 45393
, but there's no other way right now.
Darin Adler
Comment 4
2010-09-30 11:24:45 PDT
Comment on
attachment 69299
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=69299&action=review
> WebKit2/Shared/WebPreferencesStore.cpp:48 > +#if PLATFORM(WIN)
Should this be WIN or !MAC?
Jon Honeycutt
Comment 5
2010-09-30 15:40:14 PDT
(In reply to
comment #4
)
> (From update of
attachment 69299
[details]
) > View in context:
https://bugs.webkit.org/attachment.cgi?id=69299&action=review
> > > WebKit2/Shared/WebPreferencesStore.cpp:48 > > +#if PLATFORM(WIN) > > Should this be WIN or !MAC?
I'm not sure if any other platforms are using this code, so I'll only change Windows for now.
Jon Honeycutt
Comment 6
2010-09-30 16:18:27 PDT
Landed in
r68849
.
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