r3wp [groups: 83 posts: 189283]
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

World: r3wp

[Postscript] Emitting Postscript from REBOL

Henrik
8-Jun-2006
[1032]
but it takes 2 seconds to render
Pekr
8-Jun-2006
[1033]
it does not look like "hokey" to me :-)
Henrik
8-Jun-2006
[1034]
it's plain VID, done in double size, blurred a couple of times and 
some contrast added to it and then scaled down quickly with 'fit
Pekr
8-Jun-2006
[1035]
how is barcode part done?
Rebolek
8-Jun-2006
[1036]
Henrik, this drop-down menu is your own or standard VID?
Henrik
8-Jun-2006
[1037x3]
rebolek: it's my own. it uses LIST-VIEW and sports autocompleting
pekr, http://www.rebol.org/cgi-bin/cgiwrap/rebol/view-script.r?script=ean13.r
pekr, sorry, this is a better link: http://www.hmkdesign.dk/rebol/barcode/
Graham
8-Jun-2006
[1040]
http://www.compkarori.com/reb/psd2draw5.r
Rebolek
8-Jun-2006
[1041]
sounds great, are you going to release it? because IIRC VID' drop-down 
is somehow buggy
Graham
8-Jun-2006
[1042x2]
a large chunk of text flows thru three textboxes and over into the 
next page.
the text is also partially justified ...
Henrik
8-Jun-2006
[1044]
rebolek: this is a prototype and code is somewhat messy, but I want 
to make a better version of it for release. it depends on a few custom 
and ugly things that I don't want to release. it works quite well, 
has keyboard navigation and everything.
Rebolek
8-Jun-2006
[1045]
Graham: Why is the text visible only on 50% and 100% zoom?
Graham
8-Jun-2006
[1046x5]
It's visible at all zoom for me.
I think you don't have the right fonts installed.
You need to install this set of fonts ...
http://www.synapsedirect.com/files/5/client/entry284.aspx
these are the TT equivalents of the standard PS fonts
Rebolek
8-Jun-2006
[1051]
OK, I'll try that, thanks
Graham
8-Jun-2006
[1052x2]
my code is ugly, but it's not a beauty contest ...
Just got to get it working :)
Henrik
8-Jun-2006
[1054]
it converts PS to DRAW? or does it create DRAW and PS from the same 
dialect?
Graham
8-Jun-2006
[1055]
latter...
Rebolek
8-Jun-2006
[1056]
Much better now.
Graham
8-Jun-2006
[1057x5]
But I never got round to finishing the conversion to ps yet ...
ie. for the text flow as I need to read up a bit more on postscript 
justification routines etc.
So, I can use it to generate graphs, and ordinary text for printing 
.. but fancy flowing text needs more work.
Henrik, I can't see why your preview takes 2 seconds to render.
What PC are you using?
Henrik
8-Jun-2006
[1062x2]
celeron 700 with a 1 MB graphicscard
works ok on my test machine, but on the target machine, it's too 
slow...
Graham
8-Jun-2006
[1064x3]
yes, that is a slow PC.
I find View runs quite slowly on anything less than 1Ghz
are you drawing your barcode and translating it to final location?
Pekr
8-Jun-2006
[1067]
huh, really, does it? I found View ok on Pentium 133MHz ;-)
Graham
8-Jun-2006
[1068]
you're probably not running large applications then.
Pekr
8-Jun-2006
[1069]
well, old View, as new one does not support W95 anymore ..... but 
it looked ok for small things :-)
Graham
8-Jun-2006
[1070]
my encapped apps won't run on those slow PCs.
Pekr
8-Jun-2006
[1071]
well, of course ... but then what is large application in View then? 
RebGui, tonnes of tabs?
Graham
8-Jun-2006
[1072]
app that runs about 20Mb in ram.
Pekr
8-Jun-2006
[1073]
isn't the problem of tab style that all tabs are in memory actually?
Henrik
8-Jun-2006
[1074]
yeah, it can take a while to initialize
Graham
8-Jun-2006
[1075]
My EMR runs about 60Mb in ram.
Pekr
8-Jun-2006
[1076]
ok then .... never tried complex app. Hopefully, however, R3 is being 
said as more resources savy in View area, so ....
Henrik
8-Jun-2006
[1077]
the slowness problem with view could be connected to that the event 
system has no throttling. I think I've mentioned that a couple of 
times :-)
Graham
8-Jun-2006
[1078]
I'm sure dos runs okay on 486 ...
Pekr
8-Jun-2006
[1079]
1HGz PCs are not problem nowadays, really old machines, the thing 
is worse once we move to embedded machines/PDAs (400MHz, 64MB RAM) 
one day ....
Graham
8-Jun-2006
[1080]
which are like old dos machines really
Pekr
8-Jun-2006
[1081]
Henrik - try eat events script or what was the name ... done by Romano 
or/and Gabriele ....