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

Issue 213673011: [DirectWrite] Force full hinting for certain fonts (Closed)

Created:
6 years, 8 months ago by eae
Modified:
6 years, 6 months ago
CC:
blink-reviews, jamesr, krit, dsinclair, jbroman, danakj, Rik, Stephen Chennney, pdr., rwlbuis
Visibility:
Public.

Description

[DirectWrite] Force full hinting for certain fonts Change FontCacheSkiaWin to force the use of full hinting (which in turn will trigger GDI style rendering with the next skia update) for certain fonts. The list of fonts is limited to "Courier New" for now but will likely need to be expanded somewhat. R=cpu@chromium.org BUG=357864 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=170668

Patch Set 1 : #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+18 lines, -0 lines) Patch
M Source/platform/fonts/harfbuzz/FontPlatformDataHarfBuzz.h View 1 chunk +5 lines, -0 lines 0 comments Download
M Source/platform/fonts/win/FontCacheSkiaWin.cpp View 2 chunks +13 lines, -0 lines 1 comment Download

Messages

Total messages: 9 (0 generated)
eae
6 years, 8 months ago (2014-04-02 01:39:12 UTC) #1
eae
6 years, 8 months ago (2014-04-02 02:42:20 UTC) #2
Stephen White
LGTM. This seems unfortunate, though. Is there a way to characterize which fonts require this? ...
6 years, 8 months ago (2014-04-02 14:04:35 UTC) #3
eae
On 2014/04/02 14:04:35, Stephen White wrote: > LGTM. This seems unfortunate, though. Is there a ...
6 years, 8 months ago (2014-04-02 15:45:36 UTC) #4
eae
The CQ bit was checked by eae@chromium.org
6 years, 8 months ago (2014-04-02 15:52:46 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/eae@chromium.org/213673011/40001
6 years, 8 months ago (2014-04-02 15:52:57 UTC) #6
commit-bot: I haz the power
Change committed as 170668
6 years, 8 months ago (2014-04-02 16:17:42 UTC) #7
Stephen White
(ancient comment, but apparently I never sent it, so...) https://codereview.chromium.org/213673011/diff/40001/Source/platform/fonts/win/FontCacheSkiaWin.cpp File Source/platform/fonts/win/FontCacheSkiaWin.cpp (right): https://codereview.chromium.org/213673011/diff/40001/Source/platform/fonts/win/FontCacheSkiaWin.cpp#newcode227 Source/platform/fonts/win/FontCacheSkiaWin.cpp:227: ...
6 years, 6 months ago (2014-05-28 13:12:51 UTC) #8
eae
6 years, 6 months ago (2014-05-28 16:20:01 UTC) #9
Message was sent while issue was closed.
On 2014/05/28 13:12:51, Stephen White wrote:
> (ancient comment, but apparently I never sent it, so...)
> 
>
https://codereview.chromium.org/213673011/diff/40001/Source/platform/fonts/wi...
> File Source/platform/fonts/win/FontCacheSkiaWin.cpp (right):
> 
>
https://codereview.chromium.org/213673011/diff/40001/Source/platform/fonts/wi...
> Source/platform/fonts/win/FontCacheSkiaWin.cpp:227: if
> (equalIgnoringCase(familyName, courierNew))
> BTW, it looks from the code like a case-insensitive comparison of AtomicString
> doesn't get hashed. I guess this can't be case-sensitive?

Good question. This code has been replace by heuristics inspecting the font
looking for embedded bitmaps. We no longer have the font name lookup.

Powered by Google App Engine
This is Rietveld 408576698