Start a new topic

Custom Font-Family

Hi, how can I use a custom font-family in a HtmlDrawable? How can I import it ?
Thanks a lot.

Custom Font-Family

Hello Gianni,

this should work like in HTML:

<div style="font-family:'Comic Sans MS', cursive, sans-serif;">
Hello Comic Font-Family


Hi, thank you very much... but if I have to use a non-standard font how can I add the tff file?
Thank u again.

Again this should work with CSS:

<style type="text/css">
@font-face {
font-family: "My Custom Font";
src: url( format("truetype");
p.customfont {
font-family: "My Custom Font", Verdana, Tahoma;
<div class="customfont">Hello Custom Font!</div>

Login or Signup to post a comment