Description
The 'set_small_caps' method of TextNode does not work. It does set the 'small_caps' field successfully (evident if you call 'get_small_caps'), but it does not have any visual impact on text once generated. This works as intended on 1.10.14.
Functional example:

Non-functional example:

Steps to Reproduce
- Create this file:
from direct.showbase.ShowBase import ShowBase
from panda3d.core import NodePath, TextNode
class Demo(ShowBase):
def __init__(self):
ShowBase.__init__(self)
styling = TextNode('status')
styling.set_align(TextNode.ACenter)
styling.set_text_color(1, 1, 1, 1)
styling.set_shadow(0.075, 0.075)
styling.set_small_caps(True)
styling.set_text("Testy McTest!")
letter = NodePath(styling.generate())
letter.reparent_to(aspect2d)
letter.set_scale(0.25)
demo = Demo()
demo.run()
- Run it
- Note that the lowercase letters have not changed as expected (see documentation)
Environment
- Operating system: Linux Mint 21.3
- System architecture: x64
- Panda3D version: 1.11.0 latest master
- Installation method: pip
- Python version (if using Python): 3.10.12
- Compiler (if using C++): N/A
Description
The 'set_small_caps' method of TextNode does not work. It does set the 'small_caps' field successfully (evident if you call 'get_small_caps'), but it does not have any visual impact on text once generated. This works as intended on 1.10.14.
Functional example:

Non-functional example:

Steps to Reproduce
Environment