PC SOFT

FORUMS PROFESSIONNELS
WINDEVWEBDEV et WINDEV Mobile

Accueil → WINDEV Mobile 2024 → Change font family of HTML control on Android
Change font family of HTML control on Android
Débuté par HECTOR, 10 fév. 2017 11:58 - 1 réponse
Membre enregistré
26 messages
Posté le 10 février 2017 - 11:58
Hello, I want to change the font of a text in a HTML Control, I tried serveral ways that succeeed in the simulator and fail on a live android machine.

For example:

<HTML>
<BODY>
<font face="consolas">
<br>asdfasdf
<br><u>parragraph</u>
</font>
</BODY>
<HTML>





asdfasdf

parragraph
Message modifié, 10 février 2017 - 11:59
Posté le 10 février 2017 - 12:55
Hi Hector,

html is html... So th only difference I can think of is the presence or
absence of the fonts in question on the target machine.


To verify that's the problem, use the same code but with a font you are
SURE is available on an android machine (the help includes that list)

Best regards

--
Fabrice Harari
International WinDev, WebDev and WinDev mobile Consulting

Ready for you: WXShowroom.com, WXReplication (open source) and now WXEDM
(open source)

More information on http://www.fabriceharari.com

Le 2/10/2017 à 5:58 AM, HECTOR a écrit :
Hello, I want to change the font of a text in a HTML Control, I tried
serveral ways that succeeed in the simulator and fail on a live android
machine.

For example:

<HTML>
<BODY>
<font face="consolas">
<br>asdfasdf
<br><u>parragraph</u>
</font>
</BODY>
<HTML>


<HTML>
<BODY STYLE=""font-family: consolas"">
<br>asdfasdf
<br><u>parragraph</u>
</BODY>