I have the Enterprise version 5.1 and I'm using a Word template via CreateDocxFromTemplate. I have a couple private functions in the phpdocx file and one of the functions seems to keep the font type and size. The other does not and seems to default to Word "normal" default. I've tried creating Word Styles, I've tried embedding fonts, nothing is consistent with pretty much any font and formatting settings for the replace variable method. I've read over the forums and seen multiple instances of people with issues formatting/font problems. The few suggestions like styles have not helped. Is there some other setting somewhere that forces the formatting to work properly? defaultfont() doesn't work either I guess because it's a template. I'm completely new to phpdocx and the documentation has good samples, but no meat that I can find on actually troubleshooting anything. Thanks for any help provided!