Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use fonts instead of background images #12

Open
Paul-Browne opened this issue May 8, 2019 · 2 comments
Open

Use fonts instead of background images #12

Paul-Browne opened this issue May 8, 2019 · 2 comments

Comments

@Paul-Browne
Copy link

So instead of requesting a bg image, you would use @fontface

I think you can also use font subsetting to request fonts for certain characters

@myfonj
Copy link

myfonj commented May 9, 2019

Yes, it is possible, but this approach alone could monitor only new unique characters, subsequent characters does not produce requests. I proposed perhaps it could be worked around if subsequent CSS updates defined new font stack for input consisting of one font covering known input value in single ligature and as a fallback classical "keylogging" font.

@font-face { name: written; url(real font with single ligature of last known value)}
@font-face { name: logger; url(?key logging route); unicode-range: ... } /* etc etc */
input { font-family: written, logger; }

(all fonts names unique per response)

Obviously if this simple approach works, it could work just for typing, not deleting, pasting, moving cursor and typing in the middle etc.


Related #2 (comment), #11

@Kedarnath-Rothe
Copy link

Please assign this issue to me

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants