font sizes in Blender.BGL

(bowen) #1

How would I specify this? I use glRasterPos2i to specify where I want my text and then I use Text() function to enter some text. The text appears bold, and larger then the other text in blender interface. How do I specify font size to match the blender interface a little better?

(zr) #2

Sadly, you can’t. The API never exposed ways to access all
of Blender’s fonts - if you want richer font support you will have
to pull them in from somewhere else.