WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
Bug 27513
[Chromium] Linux: add static functions to FontPlatformData which allow for setting the global font rendering preferences.
https://bugs.webkit.org/show_bug.cgi?id=27513
Summary
[Chromium] Linux: add static functions to FontPlatformData which allow for se...
Adam Langley
Reported
2009-07-21 13:34:09 PDT
Chromium Linux: add static functions to FontPlatformData which allow for setting the global font rendering preferences.
Attachments
patch
(4.95 KB, patch)
2009-07-21 13:39 PDT
,
Adam Langley
no flags
Details
Formatted Diff
Diff
patch
(3.13 KB, patch)
2009-07-21 17:17 PDT
,
Adam Langley
fishd
: review+
Details
Formatted Diff
Diff
Show Obsolete
(1)
View All
Add attachment
proposed patch, testcase, etc.
Adam Langley
Comment 1
2009-07-21 13:39:38 PDT
Created
attachment 33208
[details]
patch
Darin Fisher (:fishd, Google)
Comment 2
2009-07-21 16:34:28 PDT
Comment on
attachment 33208
[details]
patch
> + enum HintingLevel { > + Normal, > + None, > + Slight, > + Full, > + }; > + enum Smoothing { > + Gray, > + Mono, > + Subpixel, > + }; > + enum LCDOrder { > + RGB, > + BGR, > + }; > + enum LCDOrientation { > + Horizontal, > + Vertical, > + };
Why not just use the Skia defined enums? Now that I see this, I wonder the same about the WebKit API patch I reviewed earlier. The WebKit API has the WEBKIT_USING_SKIA define, which allows for you to use Skia types directly. -Darin
Adam Langley
Comment 3
2009-07-21 17:17:13 PDT
Created
attachment 33229
[details]
patch
Darin Fisher (:fishd, Google)
Comment 4
2009-07-22 07:24:21 PDT
Comment on
attachment 33229
[details]
patch
> + static void setHinting(SkPaint::Hinting); > + static void setAntiAlias(bool on); > + static void setSubpixelGlyphs(bool on);
nit: i think webkit style is to leave these bool parameters unnamed. otherwise, r=me
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