old_contents: // Copyright 2013-2017, University of Colorado Boulder
  
  /**
   * Encapsulation of the font used for PhET simulations.
   * Provides PhET-specific defaults, and guarantees a fallback for font family.
   *
   * Sample use:
   * new PhetFont( { family: 'Futura', size: 24, weight: 'bold' } )
   * new PhetFont( 24 )
   *
   * @author Chris Malley (PixelZoom, Inc.)
   */
  define( function( require ) {
    'use strict';
  
    // modules
    var Font = require( 'SCENERY/util/Font' );
    var FontIO = require( 'SCENERY/util/FontIO' ); // TODO: we should have PhetFontIO
    var inherit = require( 'PHET_CORE/inherit' );
    var sceneryPhet = require( 'SCENERY_PHET/sceneryPhet' );
  
    /**
     * @param {number|string|Object} [options] if number this is the font size, otherwise same options as scenery.Font
     * @constructor
     */
    function PhetFont( options ) {
  
      assert && assert( arguments.length === 0 || arguments.length === 1, 'Too many arguments' );
  
      // convenience constructor: new PhetFont( {number|string} size )
      if ( typeof options === 'number' || typeof options === 'string' ) {
        options = { size: options };
      }
  
      // PhET defaults
      options = _.extend( {
        family: 'Arial',
        phetioType: FontIO
      }, options );
  
      // Guarantee a fallback family
      assert && assert( options.family );
      options.family = options.family + ', sans-serif';
  
      Font.call( this, options );
    }
  
    sceneryPhet.register( 'PhetFont', PhetFont );
  
    return inherit( Font, PhetFont );
  } );
  
new_contents: // Copyright 2013-2017, University of Colorado Boulder
  
  /**
   * Encapsulation of the font used for PhET simulations.
   * Provides PhET-specific defaults, and guarantees a fallback for font family.
   *
   * Sample use:
   * new PhetFont( { family: 'Futura', size: 24, weight: 'bold' } )
   * new PhetFont( 24 )
   *
   * @author Chris Malley (PixelZoom, Inc.)
   */
  define( function( require ) {
    'use strict';
  
    // modules
    var Font = require( 'SCENERY/util/Font' );
    var FontIO = require( 'SCENERY/util/FontIO' ); // TODO: we should have PhetFontIO
    var inherit = require( 'PHET_CORE/inherit' );
    var sceneryPhet = require( 'SCENERY_PHET/sceneryPhet' );
  
    /**
     * @param {number|string|Object} [options] number or string indicate the font size, otherwise same options as scenery.Font
     * @constructor
     */
    function PhetFont( options ) {
  
      assert && assert( arguments.length === 0 || arguments.length === 1, 'Too many arguments' );
  
      // convenience constructor: new PhetFont( {number|string} size )
      if ( typeof options === 'number' || typeof options === 'string' ) {
        options = { size: options };
      }
  
      // PhET defaults
      options = _.extend( {
        family: 'Arial',
        phetioType: FontIO
      }, options );
  
      // Guarantee a fallback family
      assert && assert( options.family );
      options.family = options.family + ', sans-serif';
  
      Font.call( this, options );
    }
  
    sceneryPhet.register( 'PhetFont', PhetFont );
  
    return inherit( Font, PhetFont );
  } );
  
subject: fix param doc https://github.com/phetsims/scenery-phet/issues/348