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

[REBOL] Re: Fonts in R/view

From: cyphre:seznam:cz at: 7-Dec-2001 17:15

Hello Halvard, ...
> This time, I copied your complete block of proposed font changes into my > user.r file, and found some of the settings affected the fonts, others
not,
> and the different settings affected different parts of the view startup > screen:
yes, because RT are using own font sizes, the patch just sets the default font object so any other script can change these parameters in future...I think there is not any better solution for that. You have to change directly the code of RT's desktop to fix these custom font sizes...
> - The size setting affected the menu line (User / Goto / Help / Quit),
the
> information text in the middle (everything but "Welcome to REBOL/View")
and
> "Connected to the Internet at..." at the bottom. > - Align affected the red text with user information (not the black > counterparts) and "Connected to the Internet..." > - Color affected the menu line and the little word "View" in the bottom > left corner > - Valign, finally, affected the texts I wanted to change, "REBOL.com", > "Local" and "Console" in the navigation bar to the left, as well as the > text behind the icons in the main window once one starts to navigate. > > I leaned back and gave it a though. Of course: your script is manipulating > the default font! (Of course, of course, since that was indeed its > mission.) So it really only affects the _base_ for the fonts in the R/View > startup screen, and I need to change the _used_ fonts.
Yes, that's it ;)
> I probed around a > bit in the system/view object, but I'm not that familiar with it, so I > didn't find anything.
You have to search in ctx-viewtop object (or block if you don't start desktop)
> Does anyone know the path to the fonts in the navigation bar to the left? > And will I be able to change it from the user.r script? Any ideas welcome. >
hmm...if you mean to change fonts of the icons(rebol.com, local, console) on the left side it's easy: just put these two lines in your user.r: ---------snip------------ ctx-viewtop: context ctx-viewtop ctx-viewtop/dtc-icon/font/size: 5 ; or your favorite font-size --------------snip----------------- regards, Cyphre