code: function write(writer, ttf) {
              var table = ttf[this.name];
  
              if (!table) {
                  error.raise(10203, this.name);
              }
  
              this.struct.forEach(function (item) {
                  var name = item[0];
                  var type = item[1];
  
                  switch (type) {
                      case struct.Int8:
                      case struct.Uint8:
                      case struct.Int16:
                      case struct.Uint16:
                      case struct.Int32:
                      case struct.Uint32:
                          var typeName = struct.names[type];
                          writer.write(typeName, table[name]);
                          break;
  
                      case struct.Fixed:
                          writer.writeFixed(table[name]);
                          break;
  
                      case struct.LongDateTime:
                          writer.writeLongDateTime(table[name]);
                          break;
  
                      case struct.Bytes:
                          writer.writeBytes(table[name], item[2] || 0);
                          break;
  
                      case struct.Char:
                          writer.writeChar(table[name]);
                          break;
  
                      case struct.String:
                          writer.writeString(table[name], item[2] || 0);
                          break;
  
                      default:
                          error.raise(10003, name, type);
                  }
              });
  
              return writer;
          }
docs: 写表结构
  
  @param {Object} writer writer对象
  @param {Object} ttf 已解析的ttf对象
  
  @return {Writer} 返回writer对象