# Change the font from a string printed by a script

**URL:** <https://forum.inductiveautomation.com/t/change-the-font-from-a-string-printed-by-a-script/12578>\
**Category:** Ignition\
**Created:** [January 19, 2017, 3:25pm UTC](https://forum.inductiveautomation.com/t/change-the-font-from-a-string-printed-by-a-script/12578 "2017-01-19T15:25:31Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![pascal](https://avatars.discourse-cdn.com/v4/letter/p/e9a140/32.png) [@pascal](https://forum.inductiveautomation.com/u/pascal)\
**Post date:** [January 19, 2017, 3:25pm UTC](https://forum.inductiveautomation.com/t/change-the-font-from-a-string-printed-by-a-script/12578/1 "2017-01-19T15:25:31Z")

</div>

Hello,  
When using the function system.gui.messageBox(“Hello World”), is there any way to change the message’s font? I would like to print the “Hello World” in Bold or Italic.  
Thanks in advance.

---

<div class="post-metadata">

**Author:** ![Chris\_Taylor](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/chris_taylor/32/3315_2.png) [@Chris\_Taylor](https://forum.inductiveautomation.com/u/Chris_Taylor)\
**Post date:** [January 19, 2017, 3:30pm UTC](https://forum.inductiveautomation.com/t/change-the-font-from-a-string-printed-by-a-script/12578/2 "2017-01-19T15:30:15Z")

</div>

Paccal  
try:

```auto
system.gui.messageBox("<html><i><b>Hello World","Message")
```

---

<div class="post-metadata">

**Author:** ![pascal](https://avatars.discourse-cdn.com/v4/letter/p/e9a140/32.png) [@pascal](https://forum.inductiveautomation.com/u/pascal)\
**Post date:** [January 24, 2017, 8:32am UTC](https://forum.inductiveautomation.com/t/change-the-font-from-a-string-printed-by-a-script/12578/3 "2017-01-24T08:32:38Z")

</div>

Works fine ! Thanks ![:thumb_left:](https://us1.discourse-cdn.com/inductiveautomation/original/1X/e26afb081ddde6df016df6ee49159cf56aaca688.gif ":thumb\_left:")
