I find that when I scale the fonts beyond a certain point, individual letters like ‘i’ start to loose defination and become greyed out. Why is this happening? Is there anyway to prevent this? (I’ve tried increasing setPixelsPerUnit and font.setPageSize, but it doesn’t seem to help.)
import direct.directbase.DirectStart
from pandac.PandaModules import TextNode
font = loader.loadFont('times.ttf')
font.setPixelsPerUnit(60)
font.setPageSize(512,512)
font.setNativeAntialias(False)
text = TextNode('node name')
text.setText("Every day in every way I'm getting better and better.")
textNodePath = aspect2d.attachNewNode(text)
textNodePath.setScale(0.03)
run()