The version on the left is the output from the RMarkdown / Quarto template. The version on the right is the docx version.

The fonts are inconsistent across both versions. I suspect the font in the Word doc (on the right) is the right one.
I tried to play with the following commands in JDF.cls, by changing them to the suggestions listed here :

But I'm still unsuccessful. Perhaps something to do with my OS (Mac/ Sonoma) Any help?