PDF Module available?


👉 BlitzCoder will be building a new platform and other plans to preserve and continue the Blitz legacy.

To be able to achieve this goal, we need your support by becoming a Patreon Paid Member 👈

 

Tweet
Dabzy

Hi peeps,

I've had a nosy, and, there doesnt seem to be one available, hopefully I'm proven wrong, so, I might as well ask if there is such a thing tucked out of the way people know about... Be dead handy! :)

Fanks

Dabz

BlitzCoder commented:

Hey Dabz, you can try cairo.mod as it seems to support some pdf features:

https://archive.blitzcoder.org/forums/bmx-brucey/84676.html

Dabzy commented:

Oh... One will peek! :)

Thanks very much Ron matey!

Dabz

Dabzy commented:

Well do you know what it is Ron... How stupid is me...

I had a quick look in my mods folder to see if I had BaH in there all ready because I'm using the wx mod in another project, and you will never guess what I stumbled on in there...

Only bloody $BLITZMAX_ROOT$\mod\text.mod\pdf.mod

Face palm

Dabz

BlitzCoder commented:

happens to the best of us, so no worries.. at least you finally got it sorted out.

First time I heard about that text.mod and it's not even included in the bah.mod's repo now. Interesting.

Dabzy commented:

I know, lol, I just spied the text mod, thought "I wonder whats in here", and there she was... PDF.mod! :D

I was like "Well would you believe that!" Hehehe

Right under me nose all the time! :P

Anyway, it does what I need, after a play... Just to note though, I had to remove the line:-

pdf.SetCompressionMode(EPDFCompressionMode.COMP_ALL)

To get the text example to run, seems to complain about "EPDFCompressionMode.COMP_ALL"

Dabz

BlitzCoder commented:

good catch and thanks for sharing that info, in case someone ran into that same issue. cheers.

Dabzy commented:

Hiya Ron,

Just got back from holiday, one has been to Bodrum in Turkey for the week... Back to reality [AKA work] tomorrow!

So yeah, no worries me auld fruit!

Dabz

BlitzCoder commented:

Heya Dabzy, good to have you back 👍

Reply To Topic (minimum 10 characters)

Please log in to reply