freetype-devel
[Top][All Lists]
Advanced

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

Re: [PATCH] add ability to change the rendered text while program is run


From: Freetype Supporter
Subject: Re: [PATCH] add ability to change the rendered text while program is running
Date: Tue, 03 Aug 2021 13:53:54 +0000

On Tuesday, August 3rd, 2021 at 8:14 AM, Alexei Podtelezhnikov 
<apodtele@gmail.com> wrote:

> > -            grListenSurface( display->surface, gr_event_key, &typetxt );
> >
> >
> > -            if (
> >
> >
> > -                    (typetxt.key >= 'a' && typetxt.key <= 'z') ||
> >
> >
> > -                    (typetxt.key >= 'A' && typetxt.key <= 'Z') ||
> >
> >
> > -                    (typetxt.key >= '0' && typetxt.key <= '9') ||
> >
> >
> > -                    (typetxt.key == grKeySpace)
> >
> >
> > -            ) {
> >
> >
>
> All these alpha-numeric characters can easily fit on one screen if
>
> you switch a Unicode/ASCII encoding by tapping [Tab], perhaps in
>
> Fullscreen mode for larger sizes. I do not see much need for such
>
> interactive mode. Also. `ftview` adds a pixel in-between so what you
>
> see is not exactly a layed out text. This might belong to `ftstring`
>
> with proper layout, but I doubt if it can be implemented for non-Latin
>
> scripts.

After looking at ftstring (didnt know about this), I agree it might be a better 
addition for ftstring instead of ftview. Will submit patch for that as well, 
but is it a harm in allowing it in both?



reply via email to

[Prev in Thread] Current Thread [Next in Thread]