It is currently Thu Apr 02, 2020 10:42 am

All times are UTC + 1 hour




Post new topic Reply to topic  [ 54 posts ]  Go to page Previous  1, 2, 3, 4
Author Message
 Post subject: Re: [Module] pbPDF-Module
PostPosted: Thu Dec 05, 2019 8:04 am 
Offline
Addict
Addict
User avatar

Joined: Wed Aug 24, 2005 4:02 pm
Posts: 1199
Location: Germany
Bugfixes

_________________
Sorry for my English. My language is German.
(Translated with http://www.DeepL.com/Translator)

Download of PureBasic - Modules

[Windows 10 x64] [PB V5.7x]


Top
 Profile  
Reply with quote  
 Post subject: Re: [Module] pbPDF-Module
PostPosted: Thu Dec 05, 2019 4:56 pm 
Offline
Addict
Addict

Joined: Fri Nov 09, 2012 11:04 pm
Posts: 1750
Location: Uttoxeter, UK
@Thorsten1867,
Thank you.

_________________
DE AA EB


Top
 Profile  
Reply with quote  
 Post subject: Re: [Module] pbPDF-Module
PostPosted: Mon Dec 16, 2019 8:49 pm 
Offline
User
User

Joined: Fri Dec 06, 2013 11:57 am
Posts: 36
Hi,

I found other bugs:

1. Line 3664: PDF()\Page\Y = PDF()\Margin\Right
I think, that the Y coordinate should be set with the Top Margin and not the Right Margin.

2. In the docs it says for SetOpenAction 'Zoom in Prozent (z.B. "50%")'
Setting Zoom var to "100%" gives me a PDF with 6400% view scale and "50%" gives me 5000%, setting Zoom simply to "1" shows the PDF in 100% view scale, so I think percentage is the wrong unit.

Greetings, Hoerbie


Top
 Profile  
Reply with quote  
 Post subject: Re: [Module] pbPDF-Module
PostPosted: Tue Dec 17, 2019 1:04 pm 
Offline
Addict
Addict
User avatar

Joined: Wed Aug 24, 2005 4:02 pm
Posts: 1199
Location: Germany
Bugfixes

_________________
Sorry for my English. My language is German.
(Translated with http://www.DeepL.com/Translator)

Download of PureBasic - Modules

[Windows 10 x64] [PB V5.7x]


Top
 Profile  
Reply with quote  
 Post subject: Re: [Module] pbPDF-Module
PostPosted: Wed Dec 18, 2019 9:58 am 
Offline
User
User

Joined: Fri Dec 06, 2013 11:57 am
Posts: 36
Thanks, but with your fix of the % bug, now you killed the use of at line 442ff predefined settings of SetOpenAction:
Code:
  ;{ ----- Zoom: SetOpenAction() -----
  #PageTop   = "PageTop"
  #FullPage  = "FullPage"
  #PageWidth = "PageWidth"
  ;}

The reworked lines 4560ff
Code:
      Factor = Val(RTrim(Zoom, "%")) / 100
      PDF()\Catalog\OpenAction\Zoom = StrF(Factor, 2)

should be changed to something like this (untested):
Code:
      If Zoom = #PageTop Or Zoom = #FullPage Or Zoom = #PageWidth
        PDF()\Catalog\OpenAction\Zoom = Zoom
      Else
        Factor = Val(RTrim(Zoom, "%")) / 100
        PDF()\Catalog\OpenAction\Zoom = StrF(Factor, 2)
      EndIf 


Top
 Profile  
Reply with quote  
 Post subject: Re: [Module] pbPDF-Module
PostPosted: Wed Dec 18, 2019 12:44 pm 
Offline
Addict
Addict
User avatar

Joined: Wed Aug 24, 2005 4:02 pm
Posts: 1199
Location: Germany
Bugfix

@hoerbie
You're right, I changed it in the wrong place. Please try it again.

_________________
Sorry for my English. My language is German.
(Translated with http://www.DeepL.com/Translator)

Download of PureBasic - Modules

[Windows 10 x64] [PB V5.7x]


Top
 Profile  
Reply with quote  
 Post subject: Re: [Module] pbPDF-Module
PostPosted: Thu Jan 30, 2020 9:43 am 
Offline
Addict
Addict
User avatar

Joined: Wed Aug 24, 2005 4:02 pm
Posts: 1199
Location: Germany
Update: PDF::GetStringHeight() added

_________________
Sorry for my English. My language is German.
(Translated with http://www.DeepL.com/Translator)

Download of PureBasic - Modules

[Windows 10 x64] [PB V5.7x]


Top
 Profile  
Reply with quote  
 Post subject: Re: [Module] pbPDF-Module
PostPosted: Sun Mar 15, 2020 2:43 pm 
Offline
Addict
Addict
User avatar

Joined: Sat Apr 26, 2003 2:15 pm
Posts: 866
Location: Cuernavaca, Mexico
Thorsten...

I took your pbPDF help file pbPDF-Doku_DE.pdf and converted it to English..

1 - I dropped the document unto: https://pdf2docx.com/

2 - I dropped this converted document unto: https://www.deepl.com/Translator

3 - I opened the document in Microsoft Word and saved it as a PDF.

Now I have an English version of a German Help file... cool. :mrgreen:

_________________
- It was too lonely at the top.

Current Machine: Win 10 Pro 64-bit, Dual Xeon E5-2670, 64 gigs ram, Geforce GTX 1660 Ti w/6 gigs ram


Top
 Profile  
Reply with quote  
 Post subject: Re: [Module] pbPDF-Module
PostPosted: Sun Mar 15, 2020 3:02 pm 
Offline
Addict
Addict
User avatar

Joined: Sat Apr 26, 2003 2:15 pm
Posts: 866
Location: Cuernavaca, Mexico
Thorsten,

Just noticed that the command PDF::HeaderProcedure() is missing in the manual.

_________________
- It was too lonely at the top.

Current Machine: Win 10 Pro 64-bit, Dual Xeon E5-2670, 64 gigs ram, Geforce GTX 1660 Ti w/6 gigs ram


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 54 posts ]  Go to page Previous  1, 2, 3, 4

All times are UTC + 1 hour


Who is online

Users browsing this forum: No registered users and 3 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  

 


Powered by phpBB © 2008 phpBB Group
subSilver+ theme by Canver Software, sponsor Sanal Modifiye