Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

[REBOL] Setting default font for all View sessions

From: brian:wisti:g:mail at: 27-Dec-2006 12:58

Hi, I'm suffering through REBOL/View 1.3.2.4.2 on CentOS 4 (a clone of Redhat enterprise with all the non-free bits taken out), and trying to figure out a workaround with the known font issues. Unfortunately, this is a work machine, so switching to a better distribution is not an option. View can apparently find 'font-fixed on this machine. Explicitly setting font to [ name: font-fixed ] works on a widget-by-widget basis. It's not ideal, but at least I get _something_ when I run a View script. Still, I would like to avoid that approach if possible. Scripts like this get a little cumbersome: rebol [] view layout [ vh1 "Yo!" with [ font: [ name: font-fixed ] ] text "Enter your name: " with [ font: [ name: font-fixed ] ] field with [ font: [ name: font-fixed ] ] button "Hi!" with [ font: [ name: font-fixed ] ] ] Is there a way I can make view always go for font-fixed, either in my script or user.r? Alternately, has anybody else stuck on Redhat-style Linux distros figured out a good workaround for the font issue? Apologies if this has already been hashed out. I couldn't find anything with a casual search through Google, Rambo, or the mailing list archive. Kind Regards, Brian Wisti http://coolnamehere.com/