-
Notifications
You must be signed in to change notification settings - Fork 63
PostScript shape,size and position improvements. #1638
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
PostScript shape,size and position improvements. #1638
Conversation
…Device It should - insure exact position and dimension of paper (plots,[0,0,1,1,0],[0,1,1,0,0],/norm) on a postscript file whatever the size ratio and landscape/portrait - a better THICKness of lines for PostScript output - no more 'stretching' of Hershey fonts and Symbols as described in commit gnudatalanguage@d6a8e4e - a better default size for landscape PostScript outputs. However: the Hershey fonts and Symbols, while maintaining their shape, may differ from size depending on the paper size (should be harmless for most uses)
Codecov ReportAttention:
Additional details and impacted files@@ Coverage Diff @@
## master #1638 +/- ##
==========================================
+ Coverage 41.00% 41.05% +0.05%
==========================================
Files 355 356 +1
Lines 95050 95091 +41
Branches 19534 19544 +10
==========================================
+ Hits 38975 39044 +69
+ Misses 56075 56047 -28
☔ View full report in Codecov by Sentry. |
…t whatever the PS page size. (compensate defect of the plplot ps driver, most aovious now that the size and position are OK) modified symbols so they appear OK whith THICK lines (butt cap for PS problems). Apparently the Hershey with/heigh character is 1/1.3 in IDL, not 1.2 as I thought. Modofied. AFAIK this makes the PS output identical with IDL.
…e with plplot) now that PS outputs use the -a option.
… - simple C code, and it's almost impossible to get the real PS trandfrmation from plplot anyways as this is hidden in the ps.c driver.
…ow compressed with Ascii85 encoding as IDL does. Many tricks used to externally "insert" postscript code in a file opened by the (modified) plplot ps.c driver. The dirver has been modified to produce a more modern and exact ps file, without rewriting it from scratch.
The failure of test_tic_toc on OSX is due to the difficulty to estimate what should be the Systime() passed. With the new tictoc, more accurate and faster, the current test procedure is bound to fail sometimes. |
this PR concerns exclusively the PostScript driver and PostScript Device
It should
plots,[0,0,1,1,0],[0,1,1,0,0],/norm
) on a postscript file whatever the size ratio and landscape/portrait