Bug 147964 - [Cocoa] [CJK-configured device] System font has vertical punctuation
Summary: [Cocoa] [CJK-configured device] System font has vertical punctuation
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: New Bugs (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Myles C. Maxfield
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2015-08-12 18:28 PDT by Myles C. Maxfield
Modified: 2015-08-13 13:41 PDT (History)
5 users (show)

See Also:


Attachments
WIP (7.88 KB, patch)
2015-08-12 18:43 PDT, Myles C. Maxfield
no flags Details | Formatted Diff | Diff
Patch (9.15 KB, patch)
2015-08-12 18:52 PDT, Myles C. Maxfield
dino: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Myles C. Maxfield 2015-08-12 18:28:12 PDT
[Cocoa] Force the system font to use horizontal glyphs
Comment 1 Myles C. Maxfield 2015-08-12 18:43:53 PDT
Created attachment 258869 [details]
WIP
Comment 2 Myles C. Maxfield 2015-08-12 18:52:15 PDT
Created attachment 258873 [details]
Patch
Comment 3 Dean Jackson 2015-08-12 19:02:25 PDT
Comment on attachment 258873 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=258873&action=review

> Source/WebCore/platform/graphics/FontPlatformData.h:140
> +    bool isForTextCombine() const { return widthVariant() != RegularWidth; } // Keep in sync with callers of FontDescription::setWidthVariant()

Nit: missing punctuation.

> LayoutTests/ChangeLog:10
> +        * fast/text/system-font-punctuation.html: Added.

I think you are missing results.
Comment 4 Myles C. Maxfield 2015-08-12 22:36:46 PDT
Committed r188377: <http://trac.webkit.org/changeset/188377>
Comment 5 Myles C. Maxfield 2015-08-12 22:37:34 PDT
<rdar://problem/22256660>
Comment 6 Alexey Proskuryakov 2015-08-13 08:47:54 PDT
Comment on attachment 258873 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=258873&action=review

>> LayoutTests/ChangeLog:10
>> +        * fast/text/system-font-punctuation.html: Added.
> 
> I think you are missing results.

Still missing results in the landed patch. ChangeLog says that they are there, but Mac results aren't.
Comment 7 Alexey Proskuryakov 2015-08-13 08:54:46 PDT
Looks like the results are the same for all OS X versions; landed in r188383.
Comment 8 Myles C. Maxfield 2015-08-13 09:06:51 PDT
Thanks Alexey.
Comment 9 Enrica Casucci 2015-08-13 13:41:25 PDT
Comment on attachment 258873 [details]
Patch

The patch sounds very reasonable to me.