# Import custom font into the Processing editor?

**URL:** <https://discourse.processing.org/t/import-custom-font-into-the-processing-editor/40155>\
**Category:** Processing\
**Created:** [December 13, 2022, 7:00pm UTC](https://discourse.processing.org/t/import-custom-font-into-the-processing-editor/40155 "2022-12-13T19:00:18Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Mixel61](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/mixel61/32/17603_2.png) [@Mixel61](https://discourse.processing.org/u/Mixel61)\
**Post date:** [December 13, 2022, 7:00pm UTC](https://discourse.processing.org/t/import-custom-font-into-the-processing-editor/40155/1 "2022-12-13T19:00:18Z")

</div>

I have searched for a way to use a custom font in the editor and asked in other places but so far I haven’t found a way to do it.

Here is a picture of the fonts available right now, an ideally I would like to know how to add fonts to that list.

 ![image](https://canada1.discourse-cdn.com/flex036/uploads/processingfoundation1/original/3X/2/7/278e8019f14623381d3e72766a960c142fd8cf81.png)

to clarify I’m not asking how to import a font and use it for a program as I have seen many results on how to do that.

also I’m sorry if I came across as rude, broke any rules, or formatted this incorrectly as this is my first topic here.

---

<div class="post-metadata">

**Author:** ![josephh](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/josephh/32/210_2.png) [@josephh](https://discourse.processing.org/u/josephh)\
**Post date:** [December 13, 2022, 7:02pm UTC](https://discourse.processing.org/t/import-custom-font-into-the-processing-editor/40155/2 "2022-12-13T19:02:48Z")

</div>

Hi @Mixel61,

Welcome to the forum! 😉 (don’t be afraid, your post is ok!)

I found this old forum thread about setting a custom font in the Processing IDE:

> **[Processing 2.x and 3.x Forum](https://forum.processing.org/two/discussion/16750/custom-font-in-editor-and-console.html)**
>
> Processing is an electronic sketchbook, a language and a worldwide community. This is its forum.

Quoted:

> I believe that you can modify `editor.font.family` in `preferences.txt`and restart.

---

<div class="post-metadata">

**Author:** ![Mixel61](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/mixel61/32/17603_2.png) [@Mixel61](https://discourse.processing.org/u/Mixel61)\
**Post date:** [December 13, 2022, 7:09pm UTC](https://discourse.processing.org/t/import-custom-font-into-the-processing-editor/40155/3 "2022-12-13T19:09:59Z")

</div>

Thanks I saw that before and found the line in preferences but I don’t get what is meant by modify?

---

<div class="post-metadata">

**Author:** ![josephh](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/josephh/32/210_2.png) [@josephh](https://discourse.processing.org/u/josephh)\
**Post date:** [December 13, 2022, 7:20pm UTC](https://discourse.processing.org/t/import-custom-font-into-the-processing-editor/40155/4 "2022-12-13T19:20:27Z")

</div>

You can simply edit the `preferences.txt` file with any text editor and modify the `editor.font.family` value to the font name you have installed on your computer:

 ![Screenshot 2022-12-13 20:20:13](https://canada1.discourse-cdn.com/flex036/uploads/processingfoundation1/original/3X/8/c/8c3507e8e145744d1ae75a4d2c7f537ac7290d42.png)

---

<div class="post-metadata">

**Author:** ![Mixel61](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/mixel61/32/17603_2.png) [@Mixel61](https://discourse.processing.org/u/Mixel61)\
**Post date:** [December 13, 2022, 7:37pm UTC](https://discourse.processing.org/t/import-custom-font-into-the-processing-editor/40155/5 "2022-12-13T19:37:04Z")

</div>

Eyyyyyy many thanks it works now!
