# Font Changes in Processing

**URL:** https://discourse.processing.org/t/font-changes-in-processing/22061
**Category:** Coding Questions
**Created:** [June 22, 2020, 1:20pm UTC](https://discourse.processing.org/t/font-changes-in-processing/22061 "2020-06-22T13:20:15Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![yhlaskerimov](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/yhlaskerimov/32/9725_2.png) [@yhlaskerimov](https://discourse.processing.org/u/yhlaskerimov)
#### Post date: [June 22, 2020, 1:20pm UTC](https://discourse.processing.org/t/font-changes-in-processing/22061/1 "2020-06-22T13:20:15Z")

</div>

Hello, I wanna change font smoother. For Example:

My texts’ font is ‘xx’. When My Mouse reaches to my text it’s font has to change to ‘xx bold’ smoother.  
When I remove My Mouse from my text it has to be in initial font.

---

<div class="post-metadata">

### Author: ![kfrajer](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/kfrajer/32/196_2.png) [@kfrajer](https://discourse.processing.org/u/kfrajer)
#### Post date: [June 22, 2020, 4:10pm UTC](https://discourse.processing.org/t/font-changes-in-processing/22061/2 "2020-06-22T16:10:37Z")

</div>

Have a look a this [example](https://processing.org/examples/mousefunctions.html) to get you started with hovering. In your case, you can define two fonts and applied the font every time the hover state changes via [tesxtFont()](https://processing.org/reference/textFont_.html).

Kf

---

<div class="post-metadata">

### Author: ![yhlaskerimov](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/yhlaskerimov/32/9725_2.png) [@yhlaskerimov](https://discourse.processing.org/u/yhlaskerimov)
#### Post date: [June 23, 2020, 8:45am UTC](https://discourse.processing.org/t/font-changes-in-processing/22061/3 "2020-06-23T08:45:51Z")

</div>

I can do this… But I have said that I need SMOOTH transition… Thanks.
