Thanks, Cyphre, I finally got it.

...but I also got more funny results, and this time, I cannot see any 
reason for them. Here you go:

ctx-viewtop: context ctx-viewtop ; assumed in all later examples
ctx-viewtop/dtc-icon/font/size: 5

this was your original example. It made no difference on my reb-desktop. 
When I went into console-mode and probed ctx-viewtop/dtc-icon/font, I got:
make object! [
     name: "helvetica"
     style: none
     size: 5
     color: 0.0.0
     offset: 2x2
     space: 0x0
     align: 'center
     valign: 'bottom
     shadow: none
     colors: 0.0.0
]
although the font size wasn't anything near 5 pt.

So I tried
ctx-viewtop/dtc-icon/font/style: none
still with no luck. Probing the font object gave the same result, except 
the size was now back to 11.

Then I tried
ctx-viewtop/dtc-icon/font/style: 'bold
A shot in the dark, really, since the boldness of these fonts was the very 
attribute I wanted to get rid of (along with the size). But this time, it 
worked! Probing the object showed it was now bold, 11pt (and I believe that 
was correct. When I first probed it, and it claimed to be 11pt / plain 
style, it obviously lied!)

Why this font responds to setting the style to bold, but not to setting the 
style to none or setting the size to 5, beats me. But it worked, and I'm 
happy. Thanks again.

~H

Dixit Cyphre (Friday 07.12.2001, kl. 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
>
> > ~H
> >
> > Dixit Cyphre (Thursday 06.12.2001, kl. 17.04):
> > Hi Halvard,
> >
> > maybe this will help you:
>http://www.escribe.com/internet/rebol/m17310.html
> >
> > regards
> >
> > Cyphre
> >
> > ----- Original Message -----
> > From: "Hallvard Ystad" <[EMAIL PROTECTED]>
> > To: <[EMAIL PROTECTED]>
> > Sent: Thursday, December 06, 2001 4:18 PM
> > Subject: [REBOL] Fonts in R/view
> >
> >
> >  > Hi
> >  >
> >  > I just installed R/View on my OpenBSD, and the fonts are really too
>big.
> > As
> >  > I start up, the navigation bar to the left has so big characters 
> that I
> >  > cannot see the whole "Rebol.com" text under the top icon. As I click
> >  > "Sites", all the sites' names flood into each other. Looked for a
> > setting,
> >  > but didn't find one.
> >  >
> >  > Someone just looked for font changing on a linux machine, (seems to 
> be
> >  > exactly the same problem,) any luck with that? Arnaud? I followed 
> the
> > two
> >  > threads I could find on the subject, but there didn't seem to be any
> >  > solution to it there...
> >  >
> >  > Anyone got a clue?
> >  >
> >  > ~H
> >  >
> >  > Pr�tera censeo Carthaginem esse delendam
> >  >
> >  > --
> >  > To unsubscribe from this list, please send an email to
> >  > [EMAIL PROTECTED] with "unsubscribe" in the
> >  > subject, without the quotes.
> >  >
> >  >
> >
> >
> > ---
> > Odchoz� zpr�va neobsahuje viry.
> > Zkontrolov�no antivirov�m syst�mem AVG (http://www.grisoft.cz).
> > Verze: 6.0.282 / Virov� b�ze: 150 - datum vyd�n�: 25.9.2001
> >
> > --
> > To unsubscribe from this list, please send an email to
> > [EMAIL PROTECTED] with "unsubscribe" in the
> > subject, without the quotes.
> > Pr�tera censeo Carthaginem esse delendam
> >
> > --
> > To unsubscribe from this list, please send an email to
> > [EMAIL PROTECTED] with "unsubscribe" in the
> > subject, without the quotes.
> >
> >
>
>
>---
>Odchoz� zpr�va neobsahuje viry.
>Zkontrolov�no antivirov�m syst�mem AVG (http://www.grisoft.cz).
>Verze: 6.0.282 / Virov� b�ze: 150 - datum vyd�n�: 25.9.2001
>
>--
>To unsubscribe from this list, please send an email to
>[EMAIL PROTECTED] with "unsubscribe" in the
>subject, without the quotes.

Pr�tera censeo Carthaginem esse delendam

-- 
To unsubscribe from this list, please send an email to
[EMAIL PROTECTED] with "unsubscribe" in the 
subject, without the quotes.

Reply via email to