nl_tokens: Returns a document - specific font key - a label assigned to a font name + font type combination at the time the font was added to the font inventory .
pl_tokens: function getFont ( fontName , fontStyle , options ) { var key = undefined , fontNameLowerCase ; options = options || { } ; fontName = fontName !== undefined ? fontName : fonts [ activeFontKey ] . fontName ; fontStyle = fontStyle !== undefined ? fontStyle : fonts [ activeFontKey ] . fontStyle ; fontNameLowerCase = fontName . toLowerCase ( ) ; if ( fontmap [ fontNameLowerCase ] !== undefined && fontmap [ fontNameLowerCase ] [ fontStyle ] !== undefined ) { <mask> = fontmap [ fontNameLowerCase ] [ fontStyle ] ; } else if ( fontmap [ fontName ] !== undefined && fontmap [ fontName ] [ fontStyle ] !== undefined ) { key = fontmap [ fontName ] [ fontStyle ] ; } else { if ( options . disableWarning === false ) { console . warn ( "Unable to look up font label for font '" + fontName + "', '" + fontStyle + "'. Refer to getFontList() for available fonts." ) ; } } if ( ! key && ! options . noFallback ) { key = fontmap [ 'times' ] [ fontStyle ] ; if ( key == null ) { key = fontmap [ 'times' ] [ 'normal' ] ; } } return key ; }