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

Issue 7204026: Changed fontlist to list all avalilable fonts. (Closed)

Created:
9 years, 6 months ago by keishi-hattori
Modified:
8 years, 1 month ago
Reviewers:
csilv, brettw, keishi1, nobuyoshi.miyokawa
CC:
chromium-reviews, joi+watch-content_chromium.org, jam
Visibility:
Public.

Description

Changed fontlist to list all avalilable fonts. Right now, GetFontList_SlowBlocking only lists up font family names. For example only Osaka shows up and you cannot select Osaka-mono. I changed it to list all available fonts. Fonts that start with a period are hidden fonts so we ignore them. BUG=86734

Patch Set 1 #

Patch Set 2 : Sort by localized font name #

Patch Set 3 : Just adds Osaka #

Total comments: 6

Patch Set 4 : fixed patch #

Unified diffs Side-by-side diffs Delta from patch set Stats (+59 lines, -16 lines) Patch
M chrome/browser/ui/webui/options/font_settings_utils_mac.mm View 1 2 3 2 chunks +14 lines, -5 lines 0 comments Download
M content/common/font_list_mac.mm View 1 2 3 1 chunk +45 lines, -11 lines 0 comments Download

Messages

Total messages: 11 (0 generated)
keishi-hattori
font_settings_utils_mac.mm tells me that it used to store font names but later changed to store ...
9 years, 6 months ago (2011-06-22 07:44:01 UTC) #1
brettw
What does the preferences list look like with this change? How does this compare to ...
9 years, 6 months ago (2011-06-22 15:59:09 UTC) #2
csilv
I think it would be a mistake make this change. The fonts menu can already ...
9 years, 6 months ago (2011-06-22 18:54:04 UTC) #3
Nobuyoshi.Miyokawa_gmail.com
just FYI. Firefox 4.0.1 and 5.0 can allow us to select Osaka-mono without showing other ...
9 years, 6 months ago (2011-06-22 23:18:57 UTC) #4
keishi-hattori
On 2011/06/22 18:54:04, csilv wrote: > I think it would be a mistake make this ...
9 years, 6 months ago (2011-06-23 02:24:19 UTC) #5
keishi-hattori
Here is a screenshot comparison before and after the patch. Only Osaka-Mono is added and ...
9 years, 6 months ago (2011-06-24 06:51:19 UTC) #6
csilv
Looking good. See comments. http://codereview.chromium.org/7204026/diff/4002/chrome/browser/ui/webui/options/font_settings_utils_mac.mm File chrome/browser/ui/webui/options/font_settings_utils_mac.mm (right): http://codereview.chromium.org/7204026/diff/4002/chrome/browser/ui/webui/options/font_settings_utils_mac.mm#newcode27 chrome/browser/ui/webui/options/font_settings_utils_mac.mm:27: NSFontManager* fontManager = [[[NSFontManager alloc] ...
9 years, 6 months ago (2011-06-24 20:51:30 UTC) #7
brettw
I'm not a Mac or Obj-C person, so I defer to csilv on style and ...
9 years, 6 months ago (2011-06-24 20:56:26 UTC) #8
keishi1
I fixed the issues and had to move the patch to my google.com account http://codereview.chromium.org/7248065/
9 years, 5 months ago (2011-07-04 09:52:37 UTC) #9
brettw
Rubber stamp LGTM for content (I assume csilv actually checked the code well).
9 years, 5 months ago (2011-07-07 17:02:05 UTC) #10
csilv
9 years, 5 months ago (2011-07-07 18:36:30 UTC) #11
On 2011/07/07 17:02:05, brettw wrote:
> Rubber stamp LGTM for content (I assume csilv actually checked the code well).

Yup, gave the lgtm on the new issue.

Powered by Google App Engine
This is Rietveld 408576698