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: Alexei Podtelezhnikov
Subject: Re: [PATCH] add ability to change the rendered text while program is running
Date: Tue, 3 Aug 2021 08:14:45 -0400

> +          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.



reply via email to

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