SKLabelNode with Width > 2048 is all black

Hi,


I'm noticing when I create SKLabelNodes with an intrinsic width of greater than 2048 pts, the node shows up as solid black. I'm curious if this is a known thing? For now my workaround is to halve the font size and double the scale, e.g. node.fontSize /= 2, node.setScale(2). This works for me because I don't have any nodes longer than 4096 pts, and the degradation in visual quality isn't too severe at setScale 2 (setScale 4 produces noticeably fuzzy text).

Replies

Just curious, why is the label that big anyway. Are you intentionally making it a lot wider than the area on the screen?