I'm encountering an issue with font sizes not matching between ckeditor-5 and react-pdf-html. When setting font sizes using em units (e.g., fontSize: em(2)) in ckeditor-5, the resulting PDF generated by react-pdf-html displays the text with slightly different font sizes, leading to visual inconsistencies. I expect the font sizes applied in ckeditor-5 to translate accurately to the PDF output rendered by react-pdf-html for consistent visual presentation. I've tried adjusting font sizes and units in both editors without success. Can you please provide guidance on resolving this font size discrepancy or recommend best practices for ensuring consistent font rendering between ckeditor-5 and react-pdf-html?
I'm encountering an issue with font sizes not matching between ckeditor-5 and react-pdf-html. When setting font sizes using em units (e.g., fontSize: em(2)) in ckeditor-5, the resulting PDF generated by react-pdf-html displays the text with slightly different font sizes, leading to visual inconsistencies. I expect the font sizes applied in ckeditor-5 to translate accurately to the PDF output rendered by react-pdf-html for consistent visual presentation. I've tried adjusting font sizes and units in both editors without success. Can you please provide guidance on resolving this font size discrepancy or recommend best practices for ensuring consistent font rendering between ckeditor-5 and react-pdf-html?