Bug 134473

Summary: [iOS] languageSpecificFallbackFont() is not consistent
Product: WebKit Reporter: Myles C. Maxfield <mmaxfield>
Component: New BugsAssignee: Myles C. Maxfield <mmaxfield>
Status: RESOLVED FIXED    
Severity: Normal CC: bunhere, cdumez, commit-queue, darin, dino, gyuyoung.kim, jonlee, sergio, simon.fraser, thorton
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch
none
Patch
none
Patch darin: review+

Myles C. Maxfield
Reported 2014-06-30 16:57:56 PDT
[iOS] languageSpecificFallbackFont() is not consistent
Attachments
Patch (4.13 KB, patch)
2014-06-30 16:59 PDT, Myles C. Maxfield
no flags
Patch (4.18 KB, patch)
2014-06-30 17:07 PDT, Myles C. Maxfield
no flags
Patch (4.23 KB, patch)
2014-06-30 17:11 PDT, Myles C. Maxfield
darin: review+
Myles C. Maxfield
Comment 1 2014-06-30 16:59:36 PDT
WebKit Commit Bot
Comment 2 2014-06-30 17:02:37 PDT
Attachment 234121 [details] did not pass style-queue: ERROR: Source/WebCore/ChangeLog:1: ChangeLog entry has no bug number [changelog/bugnumber] [5] Total errors found: 1 in 2 files If any of these errors are false positives, please file a bug against check-webkit-style.
Darin Adler
Comment 3 2014-06-30 17:06:20 PDT
Comment on attachment 234121 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=234121&action=review > Source/WebCore/platform/graphics/ios/FontCacheIOS.mm:155 > + if (c < 0x1401) > + return LanguageSpecificFont::None; Looks to me like this changes behavior. The old code would return LanguageSpecificFont::Khmer for 0x1200-0x1400.
Myles C. Maxfield
Comment 4 2014-06-30 17:07:06 PDT
Myles C. Maxfield
Comment 5 2014-06-30 17:08:35 PDT
Comment on attachment 234121 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=234121&action=review >> Source/WebCore/platform/graphics/ios/FontCacheIOS.mm:155 >> + return LanguageSpecificFont::None; > > Looks to me like this changes behavior. The old code would return LanguageSpecificFont::Khmer for 0x1200-0x1400. Yeah, you're right. Yet another reason why we need to be consistent!
Myles C. Maxfield
Comment 6 2014-06-30 17:11:34 PDT
Myles C. Maxfield
Comment 7 2014-06-30 17:27:06 PDT
Note You need to log in before you can comment on or make changes to this bug.