>

🐛 Possible Bug -Font size/type for RFT in instructions

Answered

Comments

4 comments

Date Votes
  • Elizabeth Fox

    Hi Amber, this is unfortunately how it had to be implemented for the RTF to carry through with the least friction into Insights.  We had a discussion with Kristi and Kevin when working through the challenges and agreed that with the new RTF support for ProseMirror, we would have the default font size set to 9 points for Instructions and 11 pts for Emails.

    The Rich Text Editor (ProseMirror) is a plugin tool and it does not follow our system font.  The workaround here is for them to go in and “edit” their existing instruction sets so that they are updated to the rich text formatting.

  • Elizabeth Fox

    In-app default seems to be Source Sans Pro, 14 px

    Above is what I get when I inspect the text element for a "normal" text area (not heading, etc.)

    And this is the summary engineering provided:

     

    I'd just note, the app is based on pixels, but the RTF editor is based on points, which are not 1:1 conversion

    You can use a tool like this to get the converted size:  https://pixelsconverter.com/px-to-pt

  • Amber Lough

    Thanks, @Elizabeth Fox. We've confirmed that Source Sans is currently unavailable in our RTF editor, regardless of font size. I’ll go ahead and submit an enhancement request for this if you can help raise it with Prosemirror. I understand when the client has intentionally set up the RFT in different styles and sizes to call out certain things, however it’s a bit visually disruptive to see multiple instruction styles pulling into the detailing tab as a default.

  • Elizabeth Fox

    Amber Lough , I just checked and we do have Sans Serif in the editor.  Maybe try with that at 10 or 11 pts?  Source Sans is the font family, but Sans Serif is the font name.

Please sign in to leave a comment.