Using a TrueType font in a dynamic document may vary depending on how the rendering stylesheet works. If going to FO, the input to the FO processor should resemble the following:
<fo:inline font-family="Comic">Hello World!</fo:inline>