Index: chrome/common/extensions/docs/extensions/experimental.fontSettings.html |
diff --git a/chrome/common/extensions/docs/extensions/experimental.fontSettings.html b/chrome/common/extensions/docs/extensions/experimental.fontSettings.html |
index c244aef49be2fa871e783d3971dc9f5283845be6..056bfdadb86625fa87ec3d443b30e6bb675994d1 100644 |
--- a/chrome/common/extensions/docs/extensions/experimental.fontSettings.html |
+++ b/chrome/common/extensions/docs/extensions/experimental.fontSettings.html |
@@ -320,12 +320,12 @@ font covers, such as Latin.</p> |
<p>The following code gets the standard font for Arabic.</p> |
<pre>chrome.experimental.fontSettings.getFont( |
{ genericFamily: 'standard', script: 'Arab' }, |
- function(details) { console.log(details.fontName); } |
+ function(details) { console.log(details.fontId); } |
); |
</pre> |
<p>The next snippet sets the sans-serif font for Japanese.</p> |
<pre>chrome.experimental.fontSettings.setFont( |
- { genericFamily: 'sansserif', script: 'Jpan', fontName: 'MS PGothic' } |
+ { genericFamily: 'sansserif', script: 'Jpan', fontId: 'MS PGothic' } |
); |
</pre> |
<p>You can find a sample extension using the Font Settings API in the |
@@ -1234,7 +1234,7 @@ directory. For other examples and for help in viewing the source code, see |
<div> |
<div> |
<dt> |
- <var>fontName</var> |
+ <var>fontId</var> |
<em> |
<!-- TYPE --> |
<div style="display:inline"> |
@@ -1248,7 +1248,7 @@ directory. For other examples and for help in viewing the source code, see |
</div> |
</em> |
</dt> |
- <dd>The font name. Rather than the literal font name preference value, this may be the name of the font that the system resolves the preference value to. The empty string signifies fallback to the global script font setting.</dd> |
+ <dd>The font ID. Rather than the literal font ID preference value, this may be the ID of the font that the system resolves the preference value to. So, <var>fontId</var> can differ from the font passed to <code>setFont</code>, if, for example, the font is not available on the system. The empty string signifies fallback to the global script font setting.</dd> |
<!-- OBJECT PROPERTIES --> |
<!-- OBJECT METHODS --> |
<!-- OBJECT EVENT FIELDS --> |
@@ -1857,7 +1857,7 @@ directory. For other examples and for help in viewing the source code, see |
</div><div> |
<div> |
<dt> |
- <var>fontName</var> |
+ <var>fontId</var> |
<em> |
<!-- TYPE --> |
<div style="display:inline"> |
@@ -1871,7 +1871,7 @@ directory. For other examples and for help in viewing the source code, see |
</div> |
</em> |
</dt> |
- <dd>The font name. If a script is specified, the empty string means to fallback to the global script font setting.</dd> |
+ <dd>The font ID. The empty string means to fallback to the global script font setting.</dd> |
<!-- OBJECT PROPERTIES --> |
<!-- OBJECT METHODS --> |
<!-- OBJECT EVENT FIELDS --> |
@@ -2286,7 +2286,7 @@ directory. For other examples and for help in viewing the source code, see |
<div> |
<div> |
<dt> |
- <var>fontName</var> |
+ <var>fontId</var> |
<em> |
<!-- TYPE --> |
<div style="display:inline"> |
@@ -2300,9 +2300,7 @@ directory. For other examples and for help in viewing the source code, see |
</div> |
</em> |
</dt> |
- <dd class="todo"> |
- Undocumented. |
- </dd> |
+ <dd>The font ID. See the description in <code>getFont</code>.</dd> |
<!-- OBJECT PROPERTIES --> |
<!-- OBJECT METHODS --> |
<!-- OBJECT EVENT FIELDS --> |
@@ -2524,7 +2522,7 @@ directory. For other examples and for help in viewing the source code, see |
<div> |
<div> |
<dt> |
- <var>fontName</var> |
+ <var>fontId</var> |
<em> |
<!-- TYPE --> |
<div style="display:inline"> |
@@ -2538,7 +2536,7 @@ directory. For other examples and for help in viewing the source code, see |
</div> |
</em> |
</dt> |
- <dd>The font name.</dd> |
+ <dd>The font ID.</dd> |
<!-- OBJECT PROPERTIES --> |
<!-- OBJECT METHODS --> |
<!-- OBJECT EVENT FIELDS --> |
@@ -2547,7 +2545,7 @@ directory. For other examples and for help in viewing the source code, see |
</div><div> |
<div> |
<dt> |
- <var>localizedName</var> |
+ <var>diplayName</var> |
<em> |
<!-- TYPE --> |
<div style="display:inline"> |
@@ -2561,7 +2559,7 @@ directory. For other examples and for help in viewing the source code, see |
</div> |
</em> |
</dt> |
- <dd>The font name localized for the current locale.</dd> |
+ <dd>The display name of the font.</dd> |
<!-- OBJECT PROPERTIES --> |
<!-- OBJECT METHODS --> |
<!-- OBJECT EVENT FIELDS --> |