Re: [MBS] pdf.SetFont problem

2017-10-25 Thread giulio
Hi Christian thank you so much for your answer, I have ‘scrambled’ a little the code and now it works, I suspect the problem was given by me calling pdf.SetFont to set the font for single strings, and then calling again with the same parameters to set the variables.. anyway, all working fine no

Re: [MBS] pdf.SetFont problem

2017-10-25 Thread Christian Schmitz
> > TimesBoldHandle=pdf.SetFont("Times", pdf.kfsBold, 20.0, true, pdf.kcp1252) > TimesHandle=pdf.SetFont("Times", pdf.kfsItalic, 20.0, true, pdf.kcp1252) Are you inside a page? dim pdf as new DynaPDFMBS call pdf.CreateNewPDF(nil) call pdf.Append dim TimesBoldHandle as integer = pdf.SetFont

[MBS] pdf.SetFont problem

2017-10-25 Thread Giulio Mastrosanti
Hi, I have a console application handling invoice and licence automatic generation using dynapdf. I have no problem with the invoice, and I can handle bold or normal different chunk of text using pdf.SetFont before every chunk of text. For the licence text I have a bunch of text from a databa