9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* [9fans] rio support for antialiased fonts
@ 2006-03-30  3:30 erik quanstrom
  2006-03-30 16:13 ` David Leimbach
  0 siblings, 1 reply; 4+ messages in thread
From: erik quanstrom @ 2006-03-30  3:30 UTC (permalink / raw)
  To: 9fans

this is what's needed, if you're interested.

; diff -c /n/sources/plan9/sys/src/cmd/rio .
diff -c /n/sources/plan9/sys/src/cmd/rio/wind.c ./wind.c
/n/sources/plan9/sys/src/cmd/rio/wind.c:709,716 - ./wind.c:709,718
  wrepaint(Window *w)
  {
  	wsetcols(w);
- 	if(!w->mouseopen)
+ 	if(!w->mouseopen){
+ 		draw(w->Frame.b, w->Frame.r, w->display->white, nil, ZP);
  		_frredraw(w, w->Frame.r.min);
+ 	}
  	if(w == input){
  		wborder(w, Selborder);
  		wsetcursor(w, 0);


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [9fans] rio support for antialiased fonts
  2006-03-30  3:30 [9fans] rio support for antialiased fonts erik quanstrom
@ 2006-03-30 16:13 ` David Leimbach
  2006-03-30 16:20   ` Russ Cox
  0 siblings, 1 reply; 4+ messages in thread
From: David Leimbach @ 2006-03-30 16:13 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

Got a screenshot?

On 3/29/06, erik quanstrom <quanstro@quanstro.net> wrote:
> this is what's needed, if you're interested.
>
> ; diff -c /n/sources/plan9/sys/src/cmd/rio .
> diff -c /n/sources/plan9/sys/src/cmd/rio/wind.c ./wind.c
> /n/sources/plan9/sys/src/cmd/rio/wind.c:709,716 - ./wind.c:709,718
>   wrepaint(Window *w)
>   {
>         wsetcols(w);
> -       if(!w->mouseopen)
> +       if(!w->mouseopen){
> +               draw(w->Frame.b, w->Frame.r, w->display->white, nil, ZP);
>                 _frredraw(w, w->Frame.r.min);
> +       }
>         if(w == input){
>                 wborder(w, Selborder);
>                 wsetcursor(w, 0);
>


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [9fans] rio support for antialiased fonts
  2006-03-30 16:13 ` David Leimbach
@ 2006-03-30 16:20   ` Russ Cox
  0 siblings, 0 replies; 4+ messages in thread
From: Russ Cox @ 2006-03-30 16:20 UTC (permalink / raw)
  To: 9fans

> Got a screenshot?

you can make your own screen shot with the old code:

font=/lib/font/bit/lucida/unicode.8.font1 rio
draw a new window
pretend you typed Esc twice but don't
cat /dev/screen



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [9fans] rio support for antialiased fonts
@ 2006-03-31 14:17 erik quanstrom
  0 siblings, 0 replies; 4+ messages in thread
From: erik quanstrom @ 2006-03-31 14:17 UTC (permalink / raw)
  To: 9fans

[-- Attachment #1: Type: text/plain, Size: 142 bytes --]

this is just a small window -- not a screenshot -- out of
respect for people's bandwidth.

i can send you the font if you'd like.

- erik

[-- Attachment #2: smallwd.png --]
[-- Type: application/octet-stream, Size: 33492 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2006-03-31 14:17 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-03-30  3:30 [9fans] rio support for antialiased fonts erik quanstrom
2006-03-30 16:13 ` David Leimbach
2006-03-30 16:20   ` Russ Cox
2006-03-31 14:17 erik quanstrom

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).