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: 101)
.bm   pdfGen.bm (Size: 38.11 KB / Downloads: 103)
.bas   textTest.bas (Size: 709 bytes / Downloads: 119)
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  PDF Generation update justsomeguy 7 589 12-22-2025, 12:34 AM
Last Post: justsomeguy
  Mystery Mania an 80's Logic Problem Generator justsomeguy 4 1,105 02-09-2025, 08:18 PM
Last Post: justsomeguy

Forum Jump:


Users browsing this thread: 3 Guest(s)