You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In order to draw the text in an Android canvas, I call editor.getHtml() and give it to Html.fromHtml(...). The latter is stored in a StaticLayout, and there are some other calls to give it to the Bitmap object.
The problem is that you don't use font color="..." (maybe due to the fact font is deprecated - (#129).
So the text in the image doesn't appear colored (Html.fromHtml doesn't interpret your style="color: ...;" - although it interprets correctly font color="...").
Please, could you make us able to allow RichEditor to make use of font color="..." if we think it's necessary (for example: to draw it in an image)?
Btw, could you make something like this for the background-color CSS property?
The text was updated successfully, but these errors were encountered:
Hello!
In order to draw the text in an Android canvas, I call
editor.getHtml()
and give it toHtml.fromHtml(...)
. The latter is stored in aStaticLayout
, and there are some other calls to give it to theBitmap
object.The problem is that you don't use
font color="..."
(maybe due to the factfont
is deprecated - (#129).So the text in the image doesn't appear colored (
Html.fromHtml
doesn't interpret yourstyle="color: ...;"
- although it interprets correctlyfont color="..."
).Please, could you make us able to allow RichEditor to make use of
font color="..."
if we think it's necessary (for example: to draw it in an image)?Btw, could you make something like this for the
background-color
CSS property?The text was updated successfully, but these errors were encountered: