![]() |
|
|
|
#1
|
|||
|
|||
|
I'm not sure why it's not showing up in the editor. I'll look into that.
To display subscript characters in the text object, you will need to change the font to one that supports it. For example, Cambria Math seems to support subscript: Code:
import viz
viz.go()
text = viz.addText('C₁C₂C²C³',parent=viz.ORTHO,fontSize=30)
text.font('cambria.ttc')
viz.link(viz.CenterCenter,text)
|
|
#2
|
|||
|
|||
|
Thanks.The Cambria Math is not the perfect font for us to display the message, but at least we have one to use. Just wonderring why so many fonts support supscript, but not subscript.
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|