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

World: r3wp

[View] discuss view related issues

Graham
29-Nov-2009
[9302x3]
Brock .. no.  I bought a touchsmart IQnnnn ( 19 inch wide I think 
) for someone else but I don't think it was multitouch.
I wanted accurate pen use which needs an active screen, and also 
touch.
Brock the Touchsmart TX2 is also dual mode ... see the reviews.  
There's some mention of lag when using the touch but you might be 
able to live with that.
Brock
29-Nov-2009
[9305x2]
Yes, the TX2 is what I was actually looking at.  I'll have to see 
if I can find a comparison of the two units.
Google query of:     HP Touchsmart tx2 Dell XT2 
finds lots of info
amacleod
9-Dec-2009
[9307]
having trouble with checkbox updating...

this works > chbx1/data: true show chbx1

but if I take the state from a block >
blk: [ "String" true]
chbx1/data: blk/2
IT DOES NOT WORK.

I've also insured its a logic value with> chbx1/data: to-logic blk/2

Any ideas?
Henrik
9-Dec-2009
[9308x2]
reduce blk first
to-logic on a word is always true:

>> to-logic 'true
== true
>> to-logic 'false
== true
amacleod
9-Dec-2009
[9310]
Got it! Thanks a lot, Henrik.!

I did not know that about to-logic...
not mentioned in "Word browser"
Dockimbel
9-Dec-2009
[9311]
It's documented in Core manual: http://rebol.com/docs/core23/rebolcore-16.html#section-3.3.3
Gregg
9-Dec-2009
[9312]
Also, don't forget SET-FACE.
amacleod
11-Dec-2009
[9313]
I'm trying to print a vid face face via conversion to image...
what's the best way to get good text quality...
ie...is the a best font to use...
my out put is a little jaggy
Maxim
11-Dec-2009
[9314]
either you use AGG for aliased fonts, or you increase image size 
so its equal to the dpi you want to print.
amacleod
11-Dec-2009
[9315]
vid layout
Maxim
11-Dec-2009
[9316]
(and scale all the graphics involved in your face)
amacleod
11-Dec-2009
[9317]
use 'draw' to lay it out wll produce better image?
Maxim
11-Dec-2009
[9318]
the fonts will be anti-aliased (which is what I meant to say above)... 
but in any case, the resolution you use on your printer is always 
much higher than you screen resolution.
amacleod
11-Dec-2009
[9319x3]
How far did Henrik get with his vid to pdf dialect?

My layout is all text except for one small b/w image...
Maxim, so to display a proper page I would need to increase the sacel 
of my vid image quite a bit...larger than screen?
sacel = scale
Maxim
11-Dec-2009
[9322x6]
so if you are creating images for printout, you have to think larger 
faces with larger font sizes... screen dpi is typically between 72-100 
dpi, printers now usually printout at around 600 dpi.... so if you 
want to have clean images, they should be around 5 to 10 times larger.
yep.
when I was doing an art project, I had to create a printout for a 
36 inch wide image... the file was an 508 mb, 300 dpi image.
normal printing, uses vectorial information, so the convertion from 
shapes to points (rasterization) is done directly at print time.
using anti-aliased images you can lower the resolution  without it 
looking too bad... cause the edge will gray out instead of being 
jagged blocks.  but they will look fuzzy instead.
for printing from REBOL, the best thing is to use one of the variations 
of the PDF dialects out there and printing that out.  there are a 
few guys around here who have some experience doing this.
amacleod
11-Dec-2009
[9328]
I was using a print method calling MS image viewer transparently 
to print without opening up but I as adivised to keep my image at 
612x792 to keep it on one page...how do increase 5x  now?
Maxim
11-Dec-2009
[9329x2]
you need to set the dpi of the printout to a higher value.  I don't 
know about that solution, but either it supports the dpi value of 
the input image, when it has one, or you should be able to set it 
directly.

612 / 72 = 8.5  ;-)  so your values are standard video dpis
photoshop allows you to change the meta information about dpi without 
resizing the image... I don't know if there are little tools which 
you can run command-line that will do it too.
amacleod
11-Dec-2009
[9331x2]
I played around with it...
AGG looks great on screen but prints fuzzy like you said...
Increasing resolution looks sharp on printout...

I do not know if I should spend time playing with scaling or just 
biting the bullet and converting output to HTML or pdf ...I had planned 
on it anyway but as usual what I thought would be a quick one or 
two day project turns into a week to make it "right"...

But always an opportunity to learn new stuff!
Thanks for the help Maxim.
Maxim
11-Dec-2009
[9333x2]
the pdf conversion should actually be pretty easy.  look it up. pdf 
maker supports images, vector art... and its a dialect IIRC so it 
should be a big thing to go from your view layout to this other dialect.
with R3, someone is bound to make a client for the windows printing 
engine  :-)
Henrik
11-Dec-2009
[9335x6]
amacleod, it's VID to PS and it works fairly OK. I've used it for 
printing some statistics tables.
http://rebol.hmkdesign.dk/files/to-postscript.r
Oops, View, not VID. It only depends on faces, not the VID dialect.
also it doesn't output postscript directly, but dialect words for 
Geomol's postscript.r dialect.
doesn't support bitmaps yet (have only used it for printing text), 
but you use it like to-image.
http://rebol.hmkdesign.dk/files/vid-postscript2.png
Graham
13-Dec-2009
[9341x3]
Is this a VID bug??

>> view layout [ led 20x20 ]
>> view layout [ led 20x20 [] ]
In the first case the led can not be switched using the mouse, but 
by adding the action block it can !
Hard to say it's a bug because there never was any documentation 
on the LED face
amacleod
13-Dec-2009
[9344]
RE: printing vid faces by converting them to images for document 
printing...


I found that a multiplier of 3 is sufficient for good quality text...maybe 
5x for super quality
Gregg
13-Dec-2009
[9345]
I'd say it's a bug Graham.
Graham
13-Dec-2009
[9346x2]
That means we can now write the documentation :)
what's the current bug tracker for R2 ?
Gregg
13-Dec-2009
[9348]
Still RAMBO AFAIK. Unless they've moved things to CureCode.
Graham
13-Dec-2009
[9349x2]
hard to find stuff on rebol.net  now ....
ok, submitted
Henrik
14-Dec-2009
[9351]
graham, might as well add it to my tracker too.