Bug 150394, contains a patch that loads the OS/2 table as follows: CFDataRef os2Table = CGFontCopyTableForTag(m_platformData.cgFont(), 'OS/2') Here 'OS/2' is a character literal (32 bit integer) used as a tag representing the TrueType table. The slash is not used as an operator, however check-webkit-style complains with the following message: ERROR: Source/WebCore/platform/graphics/cocoa/FontCocoa.mm:179: Missing spaces around / [whitespace/operators] [3]
Created attachment 263979 [details] Patch
Note that the 'OS/2' case is already in the source code: https://trac.webkit.org/browser/trunk/Source/WebCore/platform/graphics/cocoa/FontCocoa.mm#L284
Comment on attachment 263979 [details] Patch Could you please add a new unittest covers this change?
(In reply to comment #3) > Comment on attachment 263979 [details] > Patch > > Could you please add a new unittest covers this change? Sorry, please ignore this comment.
Committed r191538: <http://trac.webkit.org/changeset/191538>