Patterns has white and black (red) color. ForeColor return black color. (see the attachment).
If white color (0xffffffff) replace with different color then all works properly.
These shapes didn’t have any fore color at all in the properties.
Probably white color is a default color for patterns.
I added workaround for that in 1.7.10 hot fix.
It is now better But, instead of being white, a checkered (black and white) pattern is produced including in the preview.
Patterns is work, but white rectangle in the center is not filling.
Please check 1.7.11 hot fix.
Also rotating text by 90 degrees was implemented.
But without drawing it on thumbnails yet.