World: r3wp
[!REBOL3-OLD1]
older newer | first last |
Pekr 15-Aug-2007 [4072] | so, if we don't wrap upon OS specific printing support imo, then we already have our solution - generate html, pdf, postscript, but always - do the work twice ... |
Graham 15-Aug-2007 [4073x2] | the problem with pdf and html is that we don't have native viewers |
but with postscript, we might be able to get a decent preview in draw | |
Pekr 15-Aug-2007 [4075x2] | that is true ... but ghostscript is not native too, no? |
ah, so you mean - give me the ability to use such draw commands, which will automatically translate into postscript ... | |
Graham 15-Aug-2007 [4077x4] | I'm not suggesting writing a postscript interpreter ... |
that would work .. automatic translation of draw into postscript | |
Of course we could just have display postscript :) | |
next pcs had that years ago | |
Pekr 15-Aug-2007 [4081x2] | I remember, in SAP, they had their SAP Script - the tool you used to do your forms for printing. They left it, and integrated PDF instead. I wonder if the requirement for PDF reader is problem for you? I know it is a dependency, but it is imo being regarded de-facto standard, no? |
so, as for me, I would maybe prefer PS too, otoh, from the practical pov, I would maybe prefer PDF, because I can generate .pdf file, and send it to others too .... | |
Graham 15-Aug-2007 [4083] | I guess the question is whether one wants to use pdf as a print preview mechanism . or use draw |
Pekr 15-Aug-2007 [4084] | I had something different in mind - simply when you want to prepare and send electronic files for your customers, at least for me pdf is de-facto standard. So by having ability to generate pdf, I have two works done in one way. Of course there is that Adobe Reader dependency, but .... however, I understand your case ... |
Graham 15-Aug-2007 [4085] | generating pdf from ps is easy enough with ghostscript installed |
btiffin 15-Aug-2007 [4086] | Umm, it's not directly R3 related, but I think Gabriele's PDF-Maker.r is a fairly large step toward cross-platform printing. It's three flavour right now, pdf-maker.r in rebol.org, pdf-maker version 2 on Gabriele's site (the target for future work and with some wicked powerful REBOL directed typesetting) and inside the rebol.org qml-ed package with the ease of qml input, pumping out pdf. V2 at http://www.colellachiara.com/soft/PDFM2/is where x-platform printing may come from, methinks. |
Graham 15-Aug-2007 [4087] | except this commits us to using a 3rd party viewer |
Pekr 15-Aug-2007 [4088] | but it is like saying that something commits us to use web browser - there is no decent platform without Adobe Reader or the clone. Even on Amiga :-) |
Graham 15-Aug-2007 [4089] | I'd like more options while draw is in the cooking pot as it were. |
Cyphre 15-Aug-2007 [4090x2] | I don't know PS/PDF formats in depth but is there any problem to write PS/PDF->DRAW viewer even with R2 DRAW abilities? |
AFAIK one guy here at Rebol3 world did even own chinese(or was it japanese?) font viewer/editor using R2 DRAW.... | |
Henrik 15-Aug-2007 [4092x4] | There are some problems with text alignment and sizes. |
Under R2 Draw, it's impossible to center and right align text correctly. | |
Draw and View sizes for text do not match. | |
I think this is all solved in R3 draw, but I don't know about text sizes. | |
Gabriele 15-Aug-2007 [4096x2] | graham: previewing ps is as hard as previewing pdf, as long as the source is a rebol dialect. |
graham: i don't know any user whit gs installed. every single pc i have ever seen has a pdf reader of some kind installed (usually just adobe) | |
Henrik 15-Aug-2007 [4098x2] | I'm personally more interested in using Windows printing directly and feed data to that. I don't know yet though how that works, but I'll be working on a solution for that for R3. |
right now I'm stuck in a mix of GS, Printfile and using postscript.r to generate printable output. | |
Louis 15-Aug-2007 [4100] | I'm still trying to figure out a way to kick Pekr for making me think the 14th was THE DAY! :>) LOL |
james_nak 15-Aug-2007 [4101] | I've been away so long was this the rumor? |
Pekr 15-Aug-2007 [4102] | it was a joke, of course. The bad part of the joke, which makes it joke a less, is the fact I dared to post it to Announce channel :-) |
james_nak 15-Aug-2007 [4103] | As opposed to the 'Humour' channel... :) Louis will 3.0 have what you need for your program? |
Maarten 15-Aug-2007 [4104] | I can't help being disappointed (although I trust the team to do great work) |
Geomol 15-Aug-2007 [4105x2] | I need something being tested on older versions of REBOL. So if some of you could run this little piece of code and report, what the end value is, and what version of REBOL under what OS and on what hardware. The piece of code: x: 1.0 while [(1.0 + (x / 2.0)) > 1.0] [x: x / 2.0] |
On my G4 iBook, system/version is 2.7.5.2.4 and I get: 3.5527136788005E-15 | |
james_nak 15-Aug-2007 [4107x2] | REBOL/Core 2.5.0.3.1 >> x: 1.0 while [(1.0 + (x / 2.0)) > 1.0] [x: x / 2.0] == 3.5527136788005E-15 |
XP P 4 2.66 1 GB | |
Geomol 15-Aug-2007 [4109x2] | REBOL/View 1.3.1.3.1 17-Jun-2005 Core 2.6.0 under Win2000 (not sure which CPU): 1.77635683940025E-15 |
REBOL/Core 2.5.6.7.1 under FreeBSD i386: 3.5527136788005E-15 | |
Rebolek 15-Aug-2007 [4111] | >> system/version ;View 1.3.2.3.1 5-Dec-2005 Core 2.6.3 == 1.3.2.3.1 >> x: 1.0 while [(1.0 + (x / 2.0)) > 1.0] [x: x / 2.0] == 1.77635683940025E-15 ;Athlon64 2.0GHz/w32 5.1 |
PatrickP61 15-Aug-2007 [4112] | REBOL/View 1.3.2.3.1 5-Dec-2005 Core 2.6.3 Copyright 2000-2005 REBOL Technologies. All rights reserved. REBOL is a trademark of REBOL Technologies. WWW.REBOL.COM >> x: 1.0 while [(1.0 + (x / 2.0)) > 1.0] [x: x / 2.0] == 1.77635683940025E-15 Microsoft Windows XP Home Edition Version 2002 Service Pack 2 Compaq Presario AMD Athlon XP 2200+ 1.80 GHz 1.00 GB of RAMS |
Louis 15-Aug-2007 [4113] | James, not sure yet. Probably not, as I need unicode support. |
Sunanda 16-Aug-2007 [4114x2] | REBOL/Core 2.5.6.3.1 / win XP / AMD-TL50 3.5527136788005E-15 |
REBOL/View 1.3.1.3.1 17-Jun-2005 Core 2.6.0 -- same op sys and machine as above: 1.77635683940025E-15 | |
sqlab 16-Aug-2007 [4116] | Windows XP Pro, Prozessor x86 Family 15 Model 2 Stepping 9 GenuineIntel ~2807 Mhz REBOL/Command 2.6.2.3.1 1.77635683940025E-15 REBOL/Pro 2.6.2.3.1 1.77635683940025E-15 REBOL/Core 2.6.0.3.1 1.77635683940025E-15 REBOL/Pro 2.5.125.3.1 1.77635683940025E-15 REBOL/Core 2.5.0.3.1 3.5527136788005E-15 REBOL/Pro 2.5.8.3.1 8.88178419700125E-16 REBOL/Core 2.3.0.3.1 false REBOL/Core 2.2.7.3.1 false |
Ladislav 16-Aug-2007 [4117x4] | Geomol: you discovered "rounded equality", unfortunately, there were some adjustments to it recently (some made by mistake, some intentional) |
have you got any reasons why to prefer same? 1 1.0 == true or same? 1 1.0 == false? | |
(question is for any rebol user and mainly for Rebol, i.e. the future) | |
...for Rebol3... is what I wanted to mention above | |
Geomol 17-Aug-2007 [4121] | Okay, I don't think, I need more tests on my little routine. The 8.88.....E-16 result from sqlab was interesting! :-) Else all other results were 1.77....E-15 and 3.55.....E-15. Ladislav, I think, I understand the situation and the problem now. That's why I made this investigation. There is another way to handle this, where it's up to the programmer, which of the two situations same? 1 1.0 == true or same? 1 1.0 == false? should hold. See my large post in the "Bugs" group in "R3-Alpha" world. Thanks to everyone doing the test! |
older newer | first last |