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

World: r3wp

[Linux] group for linux REBOL users

Graham
11-Dec-2006
[1026]
Also, the AGG font demos on the desktop appear to be broken.
Gabriele
11-Dec-2006
[1027]
fonts require absolute path on linux
Graham
11-Dec-2006
[1028]
would you explain that ?
Gabriele
11-Dec-2006
[1029]
this will eventually be fixed but it's not easy (needs a different 
build for each distro... so the final solution is R3)
Graham
11-Dec-2006
[1030]
when you specify a font, you need to specifiy the abs path to that 
font ?
Gabriele
11-Dec-2006
[1031x2]
exactly, to the ttf file (for AGG only, not face/text)
Linux does not have any api to get to the ttf from the font name.
Graham
11-Dec-2006
[1033]
so, for vectorial text, you specify the font with the absolute path.
Gabriele
11-Dec-2006
[1034]
exactly, that should work. refer to Cyphre for more details (i think 
agg text on unix is still somewhat experimental)
Graham
11-Dec-2006
[1035x2]
I see.
Is OSX any better?
Gabriele
11-Dec-2006
[1037]
in principle yes, but i don't know if it is supported yet.
Graham
11-Dec-2006
[1038x3]
Ok.
Do you know how to print in Linux ?
is it write to %lp ?
Gabriele
11-Dec-2006
[1041x2]
best way is call the lpr command
if you know you are on kde, you can also call kprint (or was it kprinter) 
and it even displays a nice ui for print options.
Graham
11-Dec-2006
[1043x2]
gnome
I just want to send some postscript to the attached postscript printer 
on the parallel port.
Gabriele
11-Dec-2006
[1045x4]
don't know if gnome has a print command. lpr should work almost anywhere 
though.
well, you can in principle write to %/dev/lp0
however, you need permissions to write there and you need to know 
that the printer is actually attached to lp0
using lpr you can print on any attached printer as long as it is 
configured (ghostscript will take care of rendering on non-ps printers)
Graham
11-Dec-2006
[1049]
ahh... sounds good!
Gabriele
11-Dec-2006
[1050x2]
also... since i think all distros are now using CUPS, you might interface 
to it directly.
http://www.cups.org/
Graham
11-Dec-2006
[1052x2]
I'll have a look at all this. Thanks.
I rambo'd my Linux sdk launch problem.
Graham
13-Dec-2006
[1054]
Anyone know how to get my Vmware Fedora Core 6 image to run at 1024x768 
instead of 800x600 ?
Henrik
13-Dec-2006
[1055]
I don't know, but perhaps X thinks your VMWare "monitor" can't handle 
more than 800x600. you probably need to change some settings within 
VMWare or in x.org configuration
Graham
14-Dec-2006
[1056x5]
Downloaded another vmware appliance with Fedora 6, that was set to 
default to 1024x768.  Archive was not corrupted, but vmware can't 
find the image!
Is there support for Type I fonts in Linux and View/AGG ?
On the 23rd March, Cyphre posted an example of using true type fonts. 
 I tried it on Fedora Core 6, substituting other true type fonts 
I had, and correcting the paths as appropriate and get a blank screen 
:(
here it is http://www.compkarori.com/vanilla/display/AGG
I see Rebolinth had the same problem which was not solved except 
by changing to Debian.
Graham
15-Dec-2006
[1061x2]
I guess Debian rocks.  The console history works correctly in Debian, 
and so do the fonts in AGG draw.
How do you get browse to invoke the default browser?
Frank
15-Dec-2006
[1063]
For the browser i use this in my user.r

browse*: :browse
browse: func [
	value [any-string!]
	/only
	] [

   call rejoin[{/usr/local/firefox/firefox "}  to-url (value) {"}]
]
Graham
15-Dec-2006
[1064x3]
I'll give that a go.
Debian, view runs .. but encapped app complains
missing libstdc++-lib6.2-2.so.3
Cyphre
15-Dec-2006
[1067]
Graham, re fonts on Fedora: are you sure you are using the right 
Linux version with FreeType2 support? Do you have the FreeType2 library 
installed on your Linux setup?
Graham
15-Dec-2006
[1068x2]
Yes, freetype 2.2.1 release 16fc6.
I'm not the only person with this problem.  Rebolinth reported the 
same in March.
Cyphre
15-Dec-2006
[1070]
what you get if you type: ldd rebol in the console?
Graham
15-Dec-2006
[1071x5]
linux-gate.so.1 =>  (0x005ec000)
	libX11.so.6 => /usr/lib/libX11.so.6 (0x45e3e000)
	libXext.so.6 => /usr/lib/libXext.so.6 (0x45f42000)
	libXt.so.6 => /usr/lib/libXt.so.6 (0x46566000)
	libXaw.so.7 => /usr/lib/libXaw.so.7 (0x46012000)
	libXmu.so.6 => /usr/lib/libXmu.so.6 (0x465c0000)
	libstdc++.so.5 => /usr/lib/libstdc++.so.5 (0x00111000)
	libm.so.6 => /lib/libm.so.6 (0x49ad8000)
	libdl.so.2 => /lib/libdl.so.2 (0x49b01000)
	libc.so.6 => /lib/libc.so.6 (0x49999000)
	libXau.so.6 => /usr/lib/libXau.so.6 (0x49d2d000)
	libXdmcp.so.6 => /usr/lib/libXdmcp.so.6 (0x49d25000)
	libSM.so.6 => /usr/lib/libSM.so.6 (0x4a53b000)
	libICE.so.6 => /usr/lib/libICE.so.6 (0x4a51f000)
	libXpm.so.4 => /usr/lib/libXpm.so.4 (0x465d9000)
	libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x4a546000)
	/lib/ld-linux.so.2 (0x48fca000)
shall I rambo this?
It would be good to have a page which detailed all the issues relating 
to various flavours of Linux - particularly for those new to the 
game.
Maybe the rebolbook might be one place ...
If RT can't manage to document them.