Scaling Text Using the Credit Card Method

OS (e.g. Win10): Mac
PsychoPy version (e.g. 1.84.x): 2021.1.4
**Standard Standalone? yes

**What are you trying to achieve?:
I am trying to present words superimposed on a rectangle. So I have used the credit card scaling method to scale the rectangles. However, the text appears too big on some screens and too small on others. The experiment currently runs fine on pavlovia, just the text is the problem.

I am a beginner to psychopy so I am not sure how to apply the credit scaling method so that my text also scales according to the screen size. How can I do this?

Thanks for any help!

Multiply the desired text height in cm by scale_y

Thank you!