For those looking to start creating PDFs using PB, I sugest using Thorsten1867's pbPDF-Module:
https://www.purebasic.fr/english/viewto ... 27&t=72031
This update is for those who cannot change their program to pbPDF from PurePDF 2.0.
It contains all the sugestions and fixes from the forum, and it compiles with PB6.11x64 and PB6.03x64. I also included the original examples.I placed the files here:
https://normeus.com/purepdf/
When loading fonts, PurePDF will load the font from the font directory. If you are trying to use Bold or Italic there should be a separate font file for the style, for example in the fonts folder, there is a verdana.ttf,verdanab.ttf, and also verdanai.ttf
Thank you.
Norm
PurePDF 2.0 Update
PurePDF 2.0 Update
google Translate;Makes my jokes fall flat- Fait mes blagues tombent à plat- Machte meine Witze verpuffen- Eh cumpari ci vo sunari
Re: PurePDF 2.0 Update
Hi normeus
Thank you for updating PurePDF to v2.27!
Works great with PB v6.11LTS(x64).
Lord
Thank you for updating PurePDF to v2.27!
Works great with PB v6.11LTS(x64).
Lord

Re: PurePDF 2.0 Update
Don't forget that from 6.10 the Vector lib can create PDF files. May be a useful alternative for new apps.
Re: PurePDF 2.0 Update
@BarryG, Thanks for the info. I installed 6.11x64 last month and had not kept up with the new commands. Looks like PdfVectorOutput() uses "Haru Free PDF Library 2.4.4". I think it would be great for regular PDFs, but if you need Bookmarks or other specialty PDF items Like attaching files or creating notes then you are better off with pbPDF-Module.
@Lord, you are welcome. Remember, any new projects use pbPDF-Module and if it is a simple PDF project then you might want to try the Vector library of PB6.10 and greater
Happy Coding!
Norm.
@Lord, you are welcome. Remember, any new projects use pbPDF-Module and if it is a simple PDF project then you might want to try the Vector library of PB6.10 and greater
Happy Coding!
Norm.
google Translate;Makes my jokes fall flat- Fait mes blagues tombent à plat- Machte meine Witze verpuffen- Eh cumpari ci vo sunari
Re: PurePDF 2.0 Update
Hi normeus!
an elemental part of my program since 2011.
And because this program is only for my personal use, nobody is hurt
if something is not working as expected, except me.
All other implementations of pdf for PB don't fit my needs.
(Or I didn't dive deep enough in them)
I appreciate your tips, but I will stay with your PurePDF as it isnormeus wrote: Tue Jul 09, 2024 9:48 pm ...
@Lord, you are welcome. Remember, any new projects use pbPDF-Module and if it is a simple PDF project then you might want to try the Vector library of PB6.10 and greater
...
an elemental part of my program since 2011.
And because this program is only for my personal use, nobody is hurt
if something is not working as expected, except me.
All other implementations of pdf for PB don't fit my needs.
(Or I didn't dive deep enough in them)
