sivarajankumar / alivepdf

Automatically exported from code.google.com/p/alivepdf
0 stars 0 forks source link

Style.BOLD == Style.NORMAL #158

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Hi, I'm using alivePDF 1.4.9 on windows XP. 

For me, there is no difference between:
myPDF.setFont(FontFamily.ARIAL, Style.BOLD, 20);
and:
myPDF.setFont(FontFamily.ARIAL, Style.NORMAL, 20);

However when doing this:
myPDF.setFont(FontFamily.ARIAL, Style.ITALIC, 20);

The font gets rendered in the correct style (not bold and italic)

Oh and the text gets written with:  
myPDF.addMultiCell(textWidth, 5, "this is a test", 0, "L");

PS: keep up the good work!!

Original issue reported on code.google.com by steel.st...@gmail.com on 24 Sep 2009 at 10:16

GoogleCodeExporter commented 8 years ago
I just checked on Windows Vista and there it seems fine.

Original comment by steel.st...@gmail.com on 25 Sep 2009 at 1:25