"test3", "url(resources/GenI102.woff2)");
  document.fonts.add(f4);
  let f5 = new FontFace("test4", "url(resources/GenR102.woff2)", { unicodeRange: "U+002?" });
  document.fonts.add(f5);
  let f6 = new FontFace("test4", "url(resources/GenI102.woff2)", { unicodeRange: "U+00??" });
  document.fonts.add(f6);

  // Change family name to make f2 match #test2
  f2.family = "test2";

  // Swap weight descriptors so that f3 is regular and f4 (italic face) is regarded as bold
  f3.weight = 400;
  f4.weight = 700;

