The question is how do you decide what is default and what is not?  Almost
every face that is intended to display text has a different font object!
And the problem with the code I gave you is that it is going to change the
font object for every style.  Just which facets of the font object would you
say need to be changed across all styles and would everyone agree with you?
Just a few thoughts I had on it...

Enjoy!!
~~Ammon ;~>

ps.  You could change the code there a bit...

foreach [style face] rebol/view/vid/vid-styles [
    face/font/name: "Verdana"
]

and get the same result...


----- Original Message ----- 
From: "Paul Tretter" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, February 20, 2004 9:10 PM
Subject: [REBOL] Re: Global Font settings


>
> Thats interesting - since the 1.3 project is underway, do you think we
need
> a global settings type of system for /view?  Where we can change the
default
> font, spacing, origin, etc...?
>
> Paul Tretter
>
> ----- Original Message ----- 
> From: "Ammon Johnson" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Friday, February 20, 2004 9:50 PM
> Subject: [REBOL] Re: Global Font settings
>
>
> >
> > Ah, you want to the font that is used...  Well, I don't believe that
there
> > is a built in way to do that, but this should do what you are looking
> for...
> >
> > foreach [style face] rebol/view/vid/vid-styles [
> >     face/font: make face/font [name: "Verdana"]
> > ]
> >
> > note though that it isn't going to change the font used in any faces
that
> > have already been passed through LAYOUT...
> >
> > HTH
> > ~~Ammon ;~>
> >
> >
> > ----- Original Message ----- 
> > From: "Paul Tretter" <[EMAIL PROTECTED]>
> > To: <[EMAIL PROTECTED]>
> > Sent: Friday, February 20, 2004 8:08 PM
> > Subject: [REBOL] Re: Global Font settings
> >
> >
> > >
> > > That doesn't seem to work globally.  I tried the following:
> > >
> > > >> Stylize/master [
> > > [        text: text with [
> > > [                font: make font [name: "Verdana"]
> > > [
> > > [            ]
> > > [    ]
> > > == [face
> > >     make object! [
> > >         type: 'face
> > >         offset: 0x0
> > >         size: none
> > >         span: none
> > >         pane: none
> > >      ...
> > > >> view layout [backdrop forest a: banner "Superfonttest"]
> > > >> a/font/name
> > > == "arial"
> > > >>
> > >
> > > Maybe, I'm assuming to much to think there is something more global in
> > this
> > > case.
> > >
> > > Paul
> > >
> > > ----- Original Message ----- 
> > > From: "Ammon Johnson" <[EMAIL PROTECTED]>
> > > To: <[EMAIL PROTECTED]>
> > > Sent: Friday, February 20, 2004 8:41 PM
> > > Subject: [REBOL] Re: Global Font settings
> > >
> > >
> > > >
> > > > Try something like...
> > > >
> > > > Stylize/master [
> > > >     text: text with [
> > > >         font: make font [;desired settings go here
> > > >         ]
> > > >     ]
> > > > ]
> > > >
> > > > before you LAYOUT the faces...
> > > >
> > > > HTH
> > > > ~~Ammon ;~>
> > > >
> > > >
> > > >
> > > >
> > > > ----- Original Message ----- 
> > > > From: "Paul Tretter" <[EMAIL PROTECTED]>
> > > > To: <[EMAIL PROTECTED]>
> > > > Sent: Friday, February 20, 2004 7:15 PM
> > > > Subject: [REBOL] Global Font settings
> > > >
> > > >
> > > > > I was looking thru anamonitor trying to find where to change the
> font
> > > > globally.  I would assume this is something trivial.  I tried
setting
> > the
> > > > font on vid-face but no luck.  Any ideas?  I know I can use 'with to
> set
> > > the
> > > > font but want the same font by default on all rendered faces.
> > > > >
> > > > > Paul Tretter
> > > > >
> > > > >
> > > > > ---
> > > > > Outgoing mail is certified Virus Free.
> > > > > Checked by AVG anti-virus system (http://www.grisoft.com).
> > > > > Version: 6.0.577 / Virus Database: 366 - Release Date: 2/3/2004
> > > > > -- 
> > > > > To unsubscribe from this list, just send an email to
> > > > > [EMAIL PROTECTED] with unsubscribe as the subject.
> > > > >
> > > > >
> > > > >
> > > > >
> > > >
> > > >
> > > >
> > > > -- 
> > > > To unsubscribe from this list, just send an email to
> > > > [EMAIL PROTECTED] with unsubscribe as the subject.
> > > >
> > >
> > >
> > > ---
> > > Outgoing mail is certified Virus Free.
> > > Checked by AVG anti-virus system (http://www.grisoft.com).
> > > Version: 6.0.577 / Virus Database: 366 - Release Date: 2/3/2004
> > >
> > > -- 
> > > To unsubscribe from this list, just send an email to
> > > [EMAIL PROTECTED] with unsubscribe as the subject.
> > >
> > >
> > >
> >
> >
> >
> > -- 
> > To unsubscribe from this list, just send an email to
> > [EMAIL PROTECTED] with unsubscribe as the subject.
> >
>
>
> ---
> Outgoing mail is certified Virus Free.
> Checked by AVG anti-virus system (http://www.grisoft.com).
> Version: 6.0.577 / Virus Database: 366 - Release Date: 2/3/2004
>
> -- 
> To unsubscribe from this list, just send an email to
> [EMAIL PROTECTED] with unsubscribe as the subject.
>
>
>



-- 
To unsubscribe from this list, just send an email to
[EMAIL PROTECTED] with unsubscribe as the subject.

Reply via email to