Eduardo Cavazos | 29 Aug 22:54

Help for 'font'

Slava,

Check out the help for 'font' from 'ui.freetype'. It mentions slots by the old 
accessor names. When help articles say "... have the following slots", how do 
you want to list thost slots? Right now it says stuff 
like 'font-ascent', 'font-descent', etc. Should it 
say 'ascent>>', 'descent>>'? That doesn't seem quite right.

Ed

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
Doug Coleman | 29 Aug 23:19
Gravatar

Re: Help for 'font'

Slava suggested  { $snippet "ascent" }, and this looks OK, but maybe  
we should make a new type for it?  { $setter "ascent" } { $getter  
"ascent" }

Doug

On Aug 29, 2008, at 3:58 PM, Eduardo Cavazos wrote:

> Slava,
>
> Check out the help for 'font' from 'ui.freetype'. It mentions slots  
> by the old
> accessor names. When help articles say "... have the following  
> slots", how do
> you want to list thost slots? Right now it says stuff
> like 'font-ascent', 'font-descent', etc. Should it
> say 'ascent>>', 'descent>>'? That doesn't seem quite right.
>
> Ed
>
> -------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move Developer's  
> challenge
> Build the coolest Linux based applications with Moblin SDK & win  
> great prizes
> Grand prize is a trip for two to an Open Source event anywhere in  
> the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> _______________________________________________
> Factor-talk mailing list
(Continue reading)

Slava Pestov | 29 Aug 23:35

Re: Help for 'font'

If you're enumerating the slots and describing their purpose, then use $snippet with the slot name.

Slava

On Fri, Aug 29, 2008 at 4:19 PM, Doug Coleman <doug.coleman-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:
Slava suggested  { $snippet "ascent" }, and this looks OK, but maybe
we should make a new type for it?  { $setter "ascent" } { $getter
"ascent" }

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Factor-talk mailing list
Factor-talk@...
https://lists.sourceforge.net/lists/listinfo/factor-talk

Gmane