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

Issue 28181: A fix for Issue 4400 (or maybe 4222).... (Closed)

Created:
11 years, 10 months ago by Hironori Bono
Modified:
9 years, 7 months ago
CC:
chromium-reviews_googlegroups.com
Visibility:
Public.

Description

A fix for Issue 4400 (or maybe 4222). Sorry for my slow change. I noticed we should use the DLU size to calculate the expected text width only when it is smaller than average character width, i.e. ave_char_width(). (The DLU size becomes smaller than the average character width only when a font contains lots of CJK characters because most of CJK characters are much wider than alphabets.) So, this change uses the DLU size only when it is smaller than the average character width. I wish this makes you happy. Also, this change replaces TAB characters with spaces. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=10586

Patch Set 1 #

Patch Set 2 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+2 lines, -2 lines) Patch
M chrome/common/gfx/chrome_font_win.cc View 1 2 chunks +2 lines, -2 lines 0 comments Download

Messages

Total messages: 1 (0 generated)
Hironori Bono
11 years, 10 months ago (2009-02-26 10:57:21 UTC) #1

          

Powered by Google App Engine
This is Rietveld 408576698