text1.embedFonts = text2.embedFonts = true;
text1.defaultTextFormat = format1; text2.defaultTextFormat = format2;