if i create a textfield and generate the content in its onRender()-Method, my assigned font (style and size) are ignored when rendering to pdf. Output is always a serif font, but my setting is arial. this only seems to appear in pdfemitter, html/doc/odt works as expected. i guess it's something wrong with my pdf viewer, isnt it?
You could check your fontsConfig_pdf file, to see if there is a mapping set up that would map Arial to serif, in PDF. You also might make sure you have a ttf file for Arial in one of the directories pointed to by your fontsConfig.