Sergey Y.02/23/2021, 1:50 PM
library to render individual glyphs as a sequence of vector paths. Now I'm looking for an option how this can be integrated into the pipeline of the standard android input system, and with the Compose(I'm considering CoreTextField). In the case of working with a regular
, it seems to me that I will need to rewrite everything from scratch(cursor, line break, context menu, text selection, etc.). But since the Compose has platform(android, desktop) implementations of text input, that means it uses abstractions around working with text. Which means it is should be possible to change implementation. I found an abstraction like Paragraph and its platform implementation for Android AndroidParagraph, which under the hood uses the TextLayout wrapper for StaticLayout class. And a MultiParagraph class that uses the above Paragraph. I would like to replace the implementation for the
with my own but it seems that I do not see how this could be done. I would be apprecited any help. Thanks.
jim02/23/2021, 1:54 PM
Siyamed02/24/2021, 2:35 AM