简体   繁体   中英

Android: Differents font color for image and text in webview

In my app, I have a webview that contains images and text.

I'd like the image (that is latex codecogs style, example: example of latex codecogs image ) to have a white font (If not, I can't really see the equation), and the text to have an other font (transparent).

My problem is that the image latex is really hard to see if I have a color font, but I need a color font for the other parts.

Is it possible?

Thank for your help

You cant change the font of the text in an image... in fact you cant alter the image like you wish as an android option... I would advise you change the font color in photoshop or something similar using a replace color function. you CAN, however, set background color and text color seperately for different pieces of text.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM