Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(53)

Issue 2928011: linux: Add patterns for subpixel test to fonts.conf. (Closed)

Created:
10 years, 5 months ago by Daniel Erat
Modified:
9 years, 7 months ago
Reviewers:
Evan Martin
CC:
chromium-reviews, darin-cc_chromium.org, dpranke+watch_chromium.org, pam+watch_chromium.org
Visibility:
Public.

Description

linux: Add patterns for subpixel test to fonts.conf. This updates our layout test fontconfig settings to define one font family that explicitly enables subpixel rendering and one that disables it. I'm using this in a test for a change that fixes https://bugs.webkit.org/show_bug.cgi?id=42220. BUG=chromium-os:4638 TEST=upcoming Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=52562

Patch Set 1 #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+24 lines, -0 lines) Patch
M webkit/tools/test_shell/resources/fonts.conf View 1 chunk +24 lines, -0 lines 1 comment Download

Messages

Total messages: 5 (0 generated)
Daniel Erat
10 years, 5 months ago (2010-07-14 22:20:37 UTC) #1
Evan Martin
LGTM http://codereview.chromium.org/2928011/diff/1/2 File webkit/tools/test_shell/resources/fonts.conf (right): http://codereview.chromium.org/2928011/diff/1/2#newcode213 webkit/tools/test_shell/resources/fonts.conf:213: <const>rgb</const> Isn't there another attr you need to ...
10 years, 5 months ago (2010-07-14 22:21:56 UTC) #2
Daniel Erat
On Wed, Jul 14, 2010 at 3:21 PM, <evan@chromium.org> wrote: > LGTM > > > ...
10 years, 5 months ago (2010-07-14 22:28:13 UTC) #3
Daniel Erat
On Wed, Jul 14, 2010 at 3:27 PM, Daniel Erat <derat@chromium.org> wrote: > On Wed, ...
10 years, 5 months ago (2010-07-15 00:36:25 UTC) #4
Evan Martin
10 years, 5 months ago (2010-07-15 18:03:18 UTC) #5
On 2010/07/15 00:36:25, Daniel Erat wrote:
> The fontconfig documentation claims this:
> 
> "The initial pattern is modified by applying the list of editing
> instructions specific to patterns found in the configuration; each
> consists of a match predicate and a set of editing operations. They
> are executed in the order they appeared in the configuration."
> 
> , but when I add a
> 
> <match target="font">
>   <edit name="antialias" mode="assign"><bool>true</bool></edit>
> </match>
> 
> stanza to the top of the file, it appears to override any later
> matches; the "NonAntiAliasedSans" family is antialiased, for instance.
>  Have you seen this before?

I haven't, but I haven't fought with fontconfig much.

> I guess I'll just check this in as-is after I manage to get it through
> the buildbots.

Yes, that is a good course of action.

Powered by Google App Engine
This is Rietveld 408576698