QB64 Phoenix Edition
PDF Generation and Mystery Mania - Printable Version

+- QB64 Phoenix Edition (https://qb64phoenix.com/forum)
+-- Forum: QB64 Rising (https://qb64phoenix.com/forum/forumdisplay.php?fid=1)
+--- Forum: Code and Stuff (https://qb64phoenix.com/forum/forumdisplay.php?fid=3)
+---- Forum: Programs (https://qb64phoenix.com/forum/forumdisplay.php?fid=7)
+---- Thread: PDF Generation and Mystery Mania (/showthread.php?tid=3504)

Pages: 1 2 3 4 5


RE: PDF Generation and Mystery Mania - Mad Axeman - 03-11-2025

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"


RE: PDF Generation and Mystery Mania - justsomeguy - 03-11-2025

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.