Submit a request
Submit a request

Controlling Font Size Using the Rich Text Toolbar

Formatting your widget text becomes more flexible with the rich text editor font size option. Using this option, Authors can increase or decrease the size of the selected text to create well-formatted Questions for learners.

 

font_size.png

The default font size used in the widget editor is 16px, and this is the size in which text is rendered in the assessment player by default. When you apply a font size in rich text editor, the size applied is in em, which is a scalable unit that is used in web document media. An em is equal to the current font-size, for instance, if the font-size of the document is 16px, 1em is equal to 16px. Ems are scalable in nature, so 2em would equal 32px, .5em would equal 8px, etc.

Specifying the font size in em ensures that accessibility features will work perfectly in the assessment player.

 

The following table shows the font sizes shown in the rich text editor and their corresponding em value which gets applied to the selected text.

px size em value
8px  0.5em 
10px  0.6em
12px  0.8em
14px  0.9em 
15px  0.9em 
16px  1em 
18px  1.1em 
20px  1.3em 
24px  1.5em 
25px 1.6em
28px 1.8em
32px 2em
40px 3em 

 

Was this article helpful?

Did you arrive here by accident? If so, learn more about Learnosity by clicking here.