I think that the best way to do something like this may be to set it in the
user prefs file that would enable you to define the basic settings that the
styleset is built on.  Another option would be to be able to regenerate the
styleset on the fly which would mean having the styleset in its native,
un-STYLIZEd form.   If you just want to apply global settings to ALL styles
then the code I already gave you is really simple to understand and easy to
use...

The colors (on some styles) are controlled by statements within the INIT
Block which grabs the colors from rebol/view/vid/vid-colors.  Perhaps font
should have a similar feature?  In fact, I am sure that it should and really
this is something that anyone could create.  I think I will mention it on
the View world...

Enjoy!!
~~Ammon ;~>


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


>
> Actually great comments.  I just think that we need to start with a
certain
> canvas and need to be able to define what the canvas should look like and
> make our rebellious brushstrokes later as we want to.  So wouldn't it be
> nice to have an addition to system/standard/face that defines some of
these
> settings?  Seems it could help alot to set the global effects of face
> rendering in /view.  I'm not sure what cause system/standard/face actually
> has at this time.  Does anyone know why its in system standard? I'm not
> saying we decide what is default for everyone - what I'm saying is that we
> are able to change what is decided as default for everyone.   These global
> adustments could be very beneficial and I think they should be included
into
> some version of /view or at least an easy way of setting their values.
>
> Paul Tretter
>
> ----- Original Message ----- 
> From: "Ammon Johnson" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Friday, February 20, 2004 10:53 PM
> Subject: [REBOL] Re: Global Font settings
>
>
> >
> > 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.
> >
>
>
> ---
> 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