PurePDF 2.0 Update

Just starting out? Need help? Post your questions and find answers here.
normeus
Enthusiast
Enthusiast
Posts: 470
Joined: Fri Apr 20, 2012 8:09 pm
Contact:

PurePDF 2.0 Update

Post by normeus »

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
google Translate;Makes my jokes fall flat- Fait mes blagues tombent à plat- Machte meine Witze verpuffen- Eh cumpari ci vo sunari
User avatar
Lord
Addict
Addict
Posts: 900
Joined: Tue May 26, 2009 2:11 pm

Re: PurePDF 2.0 Update

Post by Lord »

Hi normeus

Thank you for updating PurePDF to v2.27!
Works great with PB v6.11LTS(x64).

Lord
Image
BarryG
Addict
Addict
Posts: 4123
Joined: Thu Apr 18, 2019 8:17 am

Re: PurePDF 2.0 Update

Post by BarryG »

Don't forget that from 6.10 the Vector lib can create PDF files. May be a useful alternative for new apps.
normeus
Enthusiast
Enthusiast
Posts: 470
Joined: Fri Apr 20, 2012 8:09 pm
Contact:

Re: PurePDF 2.0 Update

Post by normeus »

@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.
google Translate;Makes my jokes fall flat- Fait mes blagues tombent à plat- Machte meine Witze verpuffen- Eh cumpari ci vo sunari
User avatar
Lord
Addict
Addict
Posts: 900
Joined: Tue May 26, 2009 2:11 pm

Re: PurePDF 2.0 Update

Post by Lord »

Hi normeus!
normeus 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
...
I appreciate your tips, but I will stay with your PurePDF as it is
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)
Image
Post Reply