Traveller Store CotI Features New Posts Mark Forums Read Register


Go Back TravellerRPG.com > Citizens of the Imperium > General Traveller Discussions > Software Solutions

Software Solutions Discussions on Traveller related software.

Reply
 
Thread Tools Display Modes
  #151  
Old April 20th, 2005, 12:19 PM
robject's Avatar
robject robject is offline
Marquis
 
Join Date: Mar 2002
Posts: 13,926
Gallery : 9
Visit robject's Blog
robject has disabled reputation
Post

Mr. Greely (et al),

I've started breaking your script into bits -- namely, packages. In doing so I'm learning your script's logic flow and intents. I'd like your opinions and suggestions.

First, I'm building three helper packages:

Grid.pm - this package manages grid-related data, such as edge data, dimensional data, etc.

StyleMgr.pm - this packages is an API for accessing style-related data. I've reformatted style and configuration data into YAML documents (which have built-in parsing support into native data structures anyway).

PDFWriter.pm - this package is an API for the specific drawing routines for the program. All of the drawXYZ functions are in here. This package calls methods on the PDF object, Grid object, and StyleMgr object.

Orchestrating the effort is the script, Uwp2Pdf.pl, which reads in the main configuration file, uses the UWP and UWPTools packages to parse in UWP data, and calls methods on the other three packages to actually build the output file.

I'm still working on the whole thing, so I've yet to know if my efforts are successful.
__________________
Imperiallines magazine
My Helpful Stuff for Traveller5
IMTU tc+ t5++ 3i(+) au ls+ / OTU 44% an+ dt+ ge- j- jf+ n- pi+ pp+ tr+ tv- uwp+ xb+
Tools Link
Reply With Quote
  #152  
Old June 7th, 2005, 05:28 PM
Flynn's Avatar
Flynn Flynn is offline
Citizen: SOC-14
 
Join Date: Aug 2002
Location: Austin, TX, USA
Posts: 2,720
Gallery : 0
Visit Flynn's Blog
Flynn Citizen
Send a message via AIM to Flynn
Post

Can anyone help me figure out how to shift the images of the maps so that they are centered on the page? Mr. Greely hasn't been active of late, and so I can't go to the source with my request.

Thanks In Advance,
Flynn
__________________
Jason "Flynn" Kemp
Editor of Stellar Reaches, a free fanzine for Traveller T20 and Classic Traveller
http://stellarreaches.nwgamers.org/
Reply With Quote
  #153  
Old June 8th, 2005, 10:19 AM
tjoneslo tjoneslo is offline
Citizen: SOC-14
 
Join Date: Feb 2001
Location: Ferrisburgh, VT, USA
Posts: 2,885
Gallery : 2
Visit tjoneslo's Blog
tjoneslo Citizen+tjoneslo Citizen+tjoneslo Citizen+
Post

I can give you a hint, but not tell you exactly.

Look at the sub gridseup()

Line 306: sets the $grid(origY)
Line 356: sets the $grid(width)

These two values need to be adjusted so $grid(origY) and $paper($PaperSize)(y) - $grid(width) are the same value.

Perl is not one of my first languages, so I'm a little hazy on what changes to make, exactly.

You may also want to make a direct inquiry on his site
__________________
Archduke of the Solomani Rim - Terra (Solomani Rim 1827)
Duke Akumid - Akumid (Vland 1628)
Marquis Yeremyh - Yeremyh (Solomani Rim 1804)
Marquis Hysyl - Hysyl (Deneb 2425)
Baron Regina - Regina (Spinward Marches 1910)
TAS member - Vipan (Empty Quarter 1038)
Be part of the Traveller history:http://wiki.travellerrpg.com/Main_Page
Reply With Quote
  #154  
Old June 8th, 2005, 10:54 AM
Flynn's Avatar
Flynn Flynn is offline
Citizen: SOC-14
 
Join Date: Aug 2002
Location: Austin, TX, USA
Posts: 2,720
Gallery : 0
Visit Flynn's Blog
Flynn Citizen
Send a message via AIM to Flynn
Post

I'll definitely leave a post on his site, just in case.

In the meantime, any PERL gurus want to take a swing at this one?

-Flynn
__________________
Jason "Flynn" Kemp
Editor of Stellar Reaches, a free fanzine for Traveller T20 and Classic Traveller
http://stellarreaches.nwgamers.org/
Reply With Quote
  #155  
Old June 9th, 2005, 05:49 PM
Flynn's Avatar
Flynn Flynn is offline
Citizen: SOC-14
 
Join Date: Aug 2002
Location: Austin, TX, USA
Posts: 2,720
Gallery : 0
Visit Flynn's Blog
Flynn Citizen
Send a message via AIM to Flynn
Post

No response so far from Mr Greely's 'Gateway To PDF' site, but then again, no update on his blog either, so he may not have computer access right now...

Still hoping to hear from a PERL guru,
Flynn
__________________
Jason "Flynn" Kemp
Editor of Stellar Reaches, a free fanzine for Traveller T20 and Classic Traveller
http://stellarreaches.nwgamers.org/
Reply With Quote
  #156  
Old June 14th, 2005, 10:32 AM
Flynn's Avatar
Flynn Flynn is offline
Citizen: SOC-14
 
Join Date: Aug 2002
Location: Austin, TX, USA
Posts: 2,720
Gallery : 0
Visit Flynn's Blog
Flynn Citizen
Send a message via AIM to Flynn
Post

No PERL gurus out there? robject? Anyone?

Still hopeful,
Flynn
__________________
Jason "Flynn" Kemp
Editor of Stellar Reaches, a free fanzine for Traveller T20 and Classic Traveller
http://stellarreaches.nwgamers.org/
Reply With Quote
  #157  
Old June 14th, 2005, 11:19 PM
robject's Avatar
robject robject is offline
Marquis
 
Join Date: Mar 2002
Posts: 13,926
Gallery : 9
Visit robject's Blog
robject has disabled reputation
Post

Hi Flynn! (wave)

I can probably puzzle this out, but my free time has just recently dwindled to about zero... stay tuned.
__________________
Imperiallines magazine
My Helpful Stuff for Traveller5
IMTU tc+ t5++ 3i(+) au ls+ / OTU 44% an+ dt+ ge- j- jf+ n- pi+ pp+ tr+ tv- uwp+ xb+
Tools Link
Reply With Quote
  #158  
Old June 15th, 2005, 09:42 AM
Flynn's Avatar
Flynn Flynn is offline
Citizen: SOC-14
 
Join Date: Aug 2002
Location: Austin, TX, USA
Posts: 2,720
Gallery : 0
Visit Flynn's Blog
Flynn Citizen
Send a message via AIM to Flynn
Post

Thanks for putting your attention to it, when and as you can. I appreciate it. [img]smile.gif[/img]

With Regards,
Flynn
__________________
Jason "Flynn" Kemp
Editor of Stellar Reaches, a free fanzine for Traveller T20 and Classic Traveller
http://stellarreaches.nwgamers.org/
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

This website and its contents are copyright ©2010- Far Future Enterprises. All rights reserved. Traveller is a registered trademark of Far Future Enterprises .
Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2010-2013, Far Future Enterprises. All Rights Reserved.