Skip to content

Commit

Permalink
Merge pull request #619 from bstell/master
Browse files Browse the repository at this point in the history
JsDoc changes.
  • Loading branch information
bstell committed Apr 21, 2015
2 parents bc46b52 + 03d0a15 commit 306a89e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions run_time/src/gae_server/www/js/tachyfont/incrementalfont.js
Original file line number Diff line number Diff line change
Expand Up @@ -258,7 +258,7 @@ tachyfont.IncrementalFont.obj_ = function(fontInfo, params, backendService) {
/**
* The character to format 4 / format 12 mapping.
*
* @private {Object.<string, !tachyfont.CharCmapInfo>}
* @private {Object.<number, !tachyfont.CharCmapInfo>}
*/
this.cmapMapping_;

Expand Down Expand Up @@ -505,8 +505,8 @@ tachyfont.IncrementalFont.obj_.prototype.writeCmap4 = function(baseFontView) {
* Inject glyphs in the glyphData to the baseFontView
* @param {DataView} baseFontView Current base font
* @param {tachyfont.GlyphBundleResponse} bundleResponse New glyph data
* @param {Object.<number, !number>} glyphToCodeMap The glyph Id to code point
* mapping;
* @param {Object.<number, Array.<!number>>} glyphToCodeMap The glyph Id to
* code point mapping;
* @return {DataView} Updated base font
*/
tachyfont.IncrementalFont.obj_.prototype.injectCharacters =
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -323,7 +323,7 @@ tachyfont.IncrementalFontUtils.setCssFontRule =
/**
* Get the character to glyphId mapping.
* @param {Object} headerInfo Header information.
* @return {Object.<string, tachyfont.CharCmapInfo>} Map of chars to glyphId,
* @return {Object.<number, tachyfont.CharCmapInfo>} Map of chars to glyphId,
* format4Seg, format12Seg.
*/
tachyfont.IncrementalFontUtils.getCmapMapping = function(headerInfo) {
Expand Down Expand Up @@ -368,7 +368,7 @@ tachyfont.IncrementalFontUtils.getCmapMapping = function(headerInfo) {


if (!headerInfo.compact_gos.cmap12) {
if (goog.Debug) {
if (goog.DEBUG) {
debugger; // TODO(bstell): need to handle this.
}
return cmapMapping;
Expand Down

0 comments on commit 306a89e

Please sign in to comment.