Illustrator crashes when a spot name with 4-byte and Surrogate Pair characters is applied on Freeform gradient
Last updated on May 16, 2021 04:27:57 AM GMT
When you use Japanese Illustrator build on a Japanese OS, Illustrator crashes if you perform the following task:
- Create a new CMYK document.
- Create a Spot color with a name that includes 4-byte or Surrogate Pair characters, and save it in the Swatches Panel.
- Create a rectangle object and apply Freeform gradient on this object.
- Double-click a color stop to modify its fill color.
- Now, in the Swatches panel, select the color you saved in step 2.
- Apply the selected color and close the Swatches panel.
- Click outside the artboard.
You may observe the following:
- Many new spot colors with no name start getting added to the Swatches panel. If you are using Windows OS, the loop stops when you click on the artboard. However, it does not stop for macOS.
- If you now apply another spot color with a name that contains 4-byte or Surrogate Pair characters to another color spot, Illustrator crashes.
- This issue can be seen only with 4- byte characters and Surrogate pair characters. The two-byte characters work well.