Because Helvetica is NOT a bold or italic font face.  If you want the bold 
version, you need "Helvetica Bold".  If you want the italic version, you need 
"Helvetica Italic".

Leonard

From: Ismael Schellemberg [mailto:isma...@gmail.com]
Sent: Tuesday, September 04, 2012 2:44 PM
To: podofo-users@lists.sourceforge.net
Subject: [Podofo-users] bold/italic fonts

is there a reason why a font wouldn't be bold or italic when created like this?:

PdfFont *font = document->CreateFont("Helvetica", true, true);

font->IsBold()
font->IsItalic()

both return false ...
How could I create a bold (and if possible, italic) font? even if it's a 
different type/name
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Podofo-users mailing list
Podofo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/podofo-users

Reply via email to