Re: Insertion cursor drawing improvements



> > >
> > >  - Make the insertion cursor draw with wider width for taller cursors
> >
> > It looks to me as though this is still using a line thickness of 1, but
> > adding some arrow/stem lines.  I think that theming the line width is
> > better
> > for accessibility purposes, so I'd like to see that included.
> 
> Actually it is using a stem width of (height/30 + 1). If we were going
> to themability of this the '30' would be what you'd want to
> theme. (It's possible that the cursor width should actually be
> based off the stem width of the font...)

Yes.  Though the current codebase didn't bother... and I think maybe
that's
gilding the lily for 2.0.  Also, 'normal' vision users may not want
mega-fat cursors when working with bold fonts.

I think it's reasonable to think that if the stem width is too narrow
for a legible cursor, the font might be too light for a low-vision
user.

My gut reaction is that if we can't use the stem width, "30" is probably
too big a ratio for low-vision, and should be themeable.

maybe

cursor-width-ratio = 0.15 (for low-vision)

and a default of 0.035 ?

But that seems like a somewhat obscure property name.

regards,

Bill

> Regards,
>                                         Owen




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]