Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
PDF Generation and Mystery Mania
#41
It looks like you've missed out the built in font 'Helvetica-BoldOblique' in your 'pdfGen.bi' file. At least it's missing in the one I downloaded. I added the following to mine :-
 
Const PDF_FONT_HELVETICA_BOLD_OBLIQUE = "Helvetica-BoldOblique"
Oh look. A sig line :-)
Reply
#42
Quote:Const PDF_FONT_HELVETICA_BOLD_OBLIQUE = "Helvetica-BoldOblique"
Good Catch! Thanks it has been added.

I've done a few quality of life improvements and added few more commands.

You can now access the special characters that are in Appendix D of PDF ref 1.7v

When add text in your string you simply use a '\' followed by a 3 digit octal number. The example hopefully makes it clear.

Code: (Select All)
SUB pdfSetTitle (s AS STRING)
SUB pdfSetAuthor (s AS STRING)
SUB pdfSetKeywords (s AS STRING)
SUB pdfSetCreator (s AS STRING)
SUB pdfSetProducer (s AS STRING)

Hope fully these command will make life a little easier, plus they also can take special characters.


Attached Files
.bi   pdfGen.bi (Size: 11.12 KB / Downloads: 1)
.bm   pdfGen.bm (Size: 38.11 KB / Downloads: 1)
.bas   textTest.bas (Size: 709 bytes / Downloads: 1)
Reply




Users browsing this thread: 3 Guest(s)