Mapper

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
18 messages Options
Reply | Threaded
Open this post in threaded view
|

Mapper

feugeniy-2
Hi!
Did you hear about OpenOrienteering Mapper
(http://oorienteering.sourceforge.net/?p=92) ?
Mapper is a tool writen on C++ with Qt GUI (like LibreCAD) for
creating orienteering maps used user symbols sets, and the result is a
vector-like map, that can be printed or exported to different formats.
It has one very interested future option: Print->Printer or
exporter->Export to PDF or PS.
As I understand, that use some native Qt to PDF export. Is it real
make analog PDF export option for LibreCAD?
Yes, I know about difference in licenses of Mapper and LibreCAD, but
Qt is licensed in many different licenses, and if PDF export is a
native Qt option it can be used in LibreCAD without license-collision.
What you think?
Regards, Eugeniy F.
Reply | Threaded
Open this post in threaded view
|

Re: Mapper

R. van Twisk
Administrator
Eugeniy,

I current feel that PDF 'export' is a task of the printing sub-system and shouldn't
be part of an application. OSX as a print to PDF function, and I am sure Linux
can do the same through CUPS. For Window I believe there are several PDF
printer drivers that do the same.

Ries


On Apr 18, 2012, at 2:36 AM, feugeniy [via LibreCAD] wrote:

Hi!
Did you hear about OpenOrienteering Mapper
(http://oorienteering.sourceforge.net/?p=92) ?
Mapper is a tool writen on C++ with Qt GUI (like LibreCAD) for
creating orienteering maps used user symbols sets, and the result is a
vector-like map, that can be printed or exported to different formats.
It has one very interested future option: Print->Printer or
exporter->Export to PDF or PS.
As I understand, that use some native Qt to PDF export. Is it real
make analog PDF export option for LibreCAD?
Yes, I know about difference in licenses of Mapper and LibreCAD, but
Qt is licensed in many different licenses, and if PDF export is a
native Qt option it can be used in LibreCAD without license-collision.
What you think?
Regards, Eugeniy F.



If you reply to this email, your message will be added to the discussion below:
http://forum.librecad.org/Mapper-tp5648450p5648450.html
To start a new topic under LibreCAD, email [hidden email]
To unsubscribe from LibreCAD, click here.
NAML

Reply | Threaded
Open this post in threaded view
|

Re: Mapper

ClaudeQC

On 2012-04-18 09:38, R. van Twisk [via LibreCAD] wrote:

 >
 > I current feel that PDF 'export' is a task of the printing sub-system
 > and shouldn't
 > be part of an application. OSX as a print to PDF function, and I am
 > sure
 > Linux
 > can do the same through CUPS. For Window I believe there are several
 > PDF
 > printer drivers that do the same.
 >

- I totally agree with you, Ries.

- For my own, (in Windows) I use PDFCreator that work very well, and is
   Open Source :-)


Claude


Reply | Threaded
Open this post in threaded view
|

Re: Mapper

dxli
In reply to this post by R. van Twisk
in unix-like, there's a cups-pdf program to do get PDF from printing. Not sure about a solution in windows though.

Regards,

Dongxu

On Wed, Apr 18, 2012 at 9:38 AM, R. van Twisk [via LibreCAD] <[hidden email]> wrote:
Eugeniy,

I current feel that PDF 'export' is a task of the printing sub-system and shouldn't
be part of an application. OSX as a print to PDF function, and I am sure Linux
can do the same through CUPS. For Window I believe there are several PDF
printer drivers that do the same.

Ries


On Apr 18, 2012, at 2:36 AM, feugeniy [via LibreCAD] wrote:

Hi!
Did you hear about OpenOrienteering Mapper
(http://oorienteering.sourceforge.net/?p=92) ?
Mapper is a tool writen on C++ with Qt GUI (like LibreCAD) for
creating orienteering maps used user symbols sets, and the result is a
vector-like map, that can be printed or exported to different formats.
It has one very interested future option: Print->Printer or
exporter->Export to PDF or PS.
As I understand, that use some native Qt to PDF export. Is it real
make analog PDF export option for LibreCAD?
Yes, I know about difference in licenses of Mapper and LibreCAD, but
Qt is licensed in many different licenses, and if PDF export is a
native Qt option it can be used in LibreCAD without license-collision.
What you think?
Regards, Eugeniy F.



If you reply to this email, your message will be added to the discussion below:
http://forum.librecad.org/Mapper-tp5648450p5648450.html
To start a new topic under LibreCAD, email [hidden email]
To unsubscribe from LibreCAD, click here.
NAML




If you reply to this email, your message will be added to the discussion below:
http://forum.librecad.org/Mapper-tp5648450p5649099.html
To start a new topic under LibreCAD-dev, email [hidden email]
To unsubscribe from LibreCAD-dev, click here.
NAML



--
Dongxu Li, Ph.D.
www.librecad.org

Reply | Threaded
Open this post in threaded view
|

Re: Mapper

feugeniy
In reply to this post by feugeniy-2
Thomas Schöps, main developer of Mapper, made a patch: "DXF Templates", - that add possibility to use DFX-files as background for making map!
Link: http://sourceforge.net/mailarchive/forum.php?thread_name=4F8830AC.6060906%40googlemail.com&forum_name=oorienteering-devel
Reply | Threaded
Open this post in threaded view
|

Re: Mapper

feugeniy
In reply to this post by ClaudeQC
About using PDFCreator:

Mostly of polygonal and straight lines exported to PDF well. But if it are curves (ellipses or cycles) in drawing then results - curves are TREMBLING in PDF.

See my test-results bellow:
http://upwap.ru/2226610
Reply | Threaded
Open this post in threaded view
|

Re: Mapper

feugeniy
In reply to this post by R. van Twisk
Rise,
I test Mapper for get PDF output by 2 ways:

1-st)  using INTERNAL exporter ("Print"=>"Printer or exporter"=>"Export to PDF or PS")
Result - perfect contours and paths.

2-nd) using EXTERNAL virtual printer ("Print"=>"Printer or exporter"=>"PDFCreator")
Result - damaged most contours "ends", many "artefacts" in paths fills, and many other problems.

See test-results bellow:
http://upwap.ru/2226592

Maybe INTERNAL EXPORTER for LibreCAD not so bad idea ?!

P.S.: About using PDFCreator for LibreCAD and problems with it I wrote in previos post!
Reply | Threaded
Open this post in threaded view
|

Re: Mapper

R. van Twisk
Administrator
Hey,

these are interesting findings, although I couldn't open the test results URL…

I do wonder what causes this and before anybody climbs on there kjeyboards to write a exporter,
we should research this a bit more.

I did had a brief talk with Dongxu about it and there might be some solutions we can look into
without writing complete exporters because somebody has to write and maintain that somehow.

Can we try this? Send me the DXF, I export ito a PDF and you import that.

Then take a look at the differences.

Ries



On Apr 30, 2012, at 7:05 PM, feugeniy [via LibreCAD] wrote:

Rise,
I test Mapper for get PDF output by 2 ways:

1-st)  using INTERNAL exporter ("Print"=>"Printer or exporter"=>"Export to PDF or PS")
Result - perfect contours and paths.

2-nd) using EXTERNAL virtual printer ("Print"=>"Printer or exporter"=>"PDFCreator")
Result - damaged most contours "ends", many "artefacts" in paths fills, and many other problems.

See test-results bellow:
http://upwap.ru/2226592

Maybe INTERNAL EXPORTER for LibreCAD not so bad idea ?!

P.S.: About using PDFCreator for LibreCAD and problems with it I wrote in previos post!


If you reply to this email, your message will be added to the discussion below:
http://forum.librecad.org/Mapper-tp5648450p5677208.html
To start a new topic under LibreCAD, email [hidden email]
To unsubscribe from LibreCAD, click here.
NAML

Reply | Threaded
Open this post in threaded view
|

Re: Mapper

feugeniy
In reply to this post by feugeniy
for download test-results click [Скачать] on page, from previos link.
Reply | Threaded
Open this post in threaded view
|

Re: Mapper

R. van Twisk
Administrator
In reply to this post by feugeniy
I could download the files now, my Russion isn't what is was…

Apparently in LibreCAD 2.0.x there has been something changed
when it comes to printing.

In LibreCAD 1.0.1 this works fine. I do admit printing is not the best 
think in LibreCAD, but the PDF looked correct.

The below image is a screenshot when I used export to PDF in OSX.






On Apr 30, 2012, at 6:42 PM, feugeniy [via LibreCAD] wrote:

About using PDFCreator:

Mostly of polygonal and straight lines exported to PDF well. But if it are curves (ellipses or cycles) in drawing then results - curves are TREMBLING in PDF.

See my test-results bellow:
http://upwap.ru/2226610


If you reply to this email, your message will be added to the discussion below:
http://forum.librecad.org/Mapper-tp5648450p5677197.html
To start a new topic under LibreCAD, email [hidden email]
To unsubscribe from LibreCAD, click here.
NAML

Reply | Threaded
Open this post in threaded view
|

Re: Mapper

feugeniy
In reply to this post by R. van Twisk
And also try next link (work 12 hours from this moment):
http://wapinet.ru/archive/temp/1335835780.zip 

This archive include ALL test-results!
Reply | Threaded
Open this post in threaded view
|

Re: Mapper

feugeniy
In reply to this post by R. van Twisk
This screenshot from LibreCAD print-window or from pdf-reader?
Because in (LibreCAD 2.0a3, win7) print-window my drawing look not so bad, but in pdf-reader (SumatraPDF and Foxit) output PDF-file looked bad.
Reply | Threaded
Open this post in threaded view
|

Re: Mapper

R. van Twisk
Administrator


The screenshot was from my PDF viewer and generated (using export PDF) from 1.0.1.

it seems like that for 2.0.x there was something changed because with the 2.0.x branch (master)
the print was incorrect.

Ries


On Apr 30, 2012, at 9:09 PM, feugeniy [via LibreCAD] wrote:

This screenshot from LibreCAD print-window or from pdf-reader?
Because in (LibreCAD 2.0a3, win7) print-window my drawing look not so bad, but in pdf-reader (SumatraPDF and Foxit) output PDF-file looked bad.


If you reply to this email, your message will be added to the discussion below:
http://forum.librecad.org/Mapper-tp5648450p5677318.html
To start a new topic under LibreCAD, email [hidden email]
To unsubscribe from LibreCAD, click here.
NAML

Reply | Threaded
Open this post in threaded view
|

Re: Mapper

Andre
In reply to this post by feugeniy-2
I experienced the same problem with the jittery curves. They look fine on LibreCAD but once exported (print to Adobe PDF), they look jittery. Exporting as any image format (jpg, png, bmp) has the same issue, also jittery.

I'm using version 1.0.2, win xp, 32bits.
Reply | Threaded
Open this post in threaded view
|

Re: Mapper

Andre
Here is an example.

http://i.imgur.com/SuUUw.jpg

(zoomed in PDF)
Reply | Threaded
Open this post in threaded view
|

Re: Mapper

dxli
In reply to this post by Andre
Hi Andre,

Please test our 2.0 series, as this bug was fixed.

It might not be straight forward to backport the fix back to 1.0 series.

dxli

Andre wrote
I experienced the same problem with the jittery curves. They look fine on LibreCAD but once exported (print to Adobe PDF), they look jittery. Exporting as any image format (jpg, png, bmp) has the same issue, also jittery.

I'm using version 1.0.2, win xp, 32bits.
Reply | Threaded
Open this post in threaded view
|

Re: Mapper

Andre
dxli,

I downloaded version 2.0.0 alpha4 and repeated the PDF generation process, it still persists.

I opened a file originally created using 1.0.4 on the new version and printed as PDF. Seeing that it was still jittery, I drew another curve on 2.0.0alpha4 to check if the issue was on which version the circle was drawn. The blue circle was drawn using 1.x and the green drawn on 2.0.0alpha4.

http://i.imgur.com/4CFFj.jpg

andre





Reply | Threaded
Open this post in threaded view
|

Re: Mapper

dxli
Actually, I think I can reproduce this bug here.

I will try to come up with a fix, but I'm very busy on travelling now.

Hope Rallaz or Ries can have some time to review the function:

void QC_ApplicationWindow::slotFilePrint();

line 3299 of file librecad/src/main/qc_applicationwindow.cpp


Andre wrote
dxli,

I downloaded version 2.0.0 alpha4 and repeated the PDF generation process, it still persists.

I opened a file originally created using 1.0.4 on the new version and printed as PDF. Seeing that it was still jittery, I drew another curve on 2.0.0alpha4 to check if the issue was on which version the circle was drawn. The blue circle was drawn using 1.x and the green drawn on 2.0.0alpha4.

http://i.imgur.com/4CFFj.jpg

andre