sravyts Posted January 14, 2008 Share Posted January 14, 2008 Hey,I'm struggling a bit with pdf rendering and fonts.I have created a very basic template with some styled text (bold and italic included). There are no fonts referenced in the design, but still the bold does not come up in the pdf file. I understand this is because I need to add a mapping for the fonts used. But since I didn't specify a special font, i presume a default font is used by Jasper (is this Arial?)?And why is the mapping for this default font not automatically set?Or am I missing something? Wkr,Sofie Link to comment Share on other sites More sharing options...
itchytoes Posted January 15, 2008 Share Posted January 15, 2008 Hi -- I'm not sure what the default PDF font is, but I've always specified my pdfFontName attribute for the text. Most PDF readers (like acrobat) have the following built-in fonts: Courier, Courier-Bold, Courier-Oblique, Courier-BoldObliqueHelvetica, Helvetica-Bold, Helvetica-Oblique, Helvetica-BoldObliqueTimes-Roman, Times-Bold, Times-Italic, Times-BoldItalicSymbolZapfDingbats Arial is a typeface developed my microsoft that is very similar to Helvetica. So, if you like that font's look, set your pdfFontName="Helvetica" or pdfFontName="Helvetica-Bold", the latter for bold Betty Link to comment Share on other sites More sharing options...
C-Box Posted January 15, 2008 Share Posted January 15, 2008 be aware of using just the HTML Tags for styled text. see my forum entry here... in simple html tags (like <i> <b> etc) it wont work. C-Box Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now