Google-apps-script – use other font weights in Google Documents

google docsgoogle-apps-script

How can I use other font weights (such as Book 300 for Open Sans) in my documents?

Adding Open Sans only allows me to use Normal 400, for example.

Best Answer

It looks like Google has recently added a feature to select a font weight. It appears as an arrow in the list of fonts, and clicking it reveals a menu of font weights: enter image description here