message: Fix the letterSpacing support check
diff: @@ -25,12 +25,6 @@ interface ModernContext2D extends CanvasRenderingContext2D {
  letterSpacing?: number;
  }
  -// Checking that we can use moddern canvas2D api
  -// https://developer.chrome.com/origintrials/#/view_trial/3585991203293757441
  -// note: this is unstable API, Chrome less 94 use a `textLetterSpacing`, newest use a letterSpacing
  -// eslint-disable-next-line max-len
  -const supportLetterSpacing = 'letterSpacing' in CanvasRenderingContext2D.prototype || 'textLetterSpacing' in CanvasRenderingContext2D.prototype;
  -
  /**
  * A Text Object will create a line or multiple lines of text.
  *
  @@ -327,6 +321,13 @@ export class Text extends Sprite
  // letterSpacing of 0 means normal
  const letterSpacing = style.letterSpacing;
  + // Checking that we can use moddern canvas2D api
  + // https://developer.chrome.com/origintrials/#/view_trial/3585991203293757441
  + // note: this is unstable API, Chrome less 94 use a `textLetterSpacing`, newest use a letterSpacing
  + // eslint-disable-next-line max-len
  + const supportLetterSpacing = 'letterSpacing' in CanvasRenderingContext2D.prototype
  + || 'textLetterSpacing' in CanvasRenderingContext2D.prototype;
  +
  if (letterSpacing === 0 || supportLetterSpacing)
  {
  if (supportLetterSpacing)
  