Changeset 181873 in webkit
- Timestamp:
- Mar 23, 2015, 3:04:34 PM (11 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 2 edited
-
ChangeLog (modified) (1 diff)
-
rendering/RenderThemeMac.mm (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r181870 r181873 1 2015-03-23 Conrad Shultz <conrad_shultz@apple.com> 2 3 Replace uses of kCTFontSystemFontType 4 https://bugs.webkit.org/show_bug.cgi?id=142984 5 6 Reviewed by Tim Horton. 7 8 * rendering/RenderThemeMac.mm: 9 (WebCore::AttachmentLayout::layOutTitle): 10 (WebCore::AttachmentLayout::layOutSubtitle): 11 1 12 2015-03-23 Dean Jackson <dino@apple.com> 2 13 -
trunk/Source/WebCore/rendering/RenderThemeMac.mm
r181118 r181873 2179 2179 void AttachmentLayout::layOutTitle(const RenderAttachment& attachment) 2180 2180 { 2181 RetainPtr<CTFontRef> font = adoptCF(CTFontCreateUIFontForLanguage(kCTFont SystemFontType, attachmentTitleFontSize, nullptr));2181 RetainPtr<CTFontRef> font = adoptCF(CTFontCreateUIFontForLanguage(kCTFontUIFontSystem, attachmentTitleFontSize, nullptr)); 2182 2182 baseline = CGRound(attachmentIconBackgroundSize + attachmentIconToTitleMargin + CTFontGetAscent(font.get())); 2183 2183 … … 2242 2242 return; 2243 2243 2244 RetainPtr<CTFontRef> font = adoptCF(CTFontCreateUIFontForLanguage(kCTFont SystemFontType, attachmentSubtitleFontSize, nullptr));2244 RetainPtr<CTFontRef> font = adoptCF(CTFontCreateUIFontForLanguage(kCTFontUIFontSystem, attachmentSubtitleFontSize, nullptr)); 2245 2245 NSDictionary *textAttributes = @{ 2246 2246 (id)kCTFontAttributeName: (id)font.get(),
Note:
See TracChangeset
for help on using the changeset viewer.