# How to add Hindi Font in Processing?

**URL:** <https://discourse.processing.org/t/how-to-add-hindi-font-in-processing/11653>\
**Category:** Beginners\
**Created:** [May 28, 2019, 9:00am UTC](https://discourse.processing.org/t/how-to-add-hindi-font-in-processing/11653 "2019-05-28T09:00:41Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![Anmol](https://avatars.discourse-cdn.com/v4/letter/a/e36b37/32.png) [@Anmol](https://discourse.processing.org/u/Anmol)\
**Post date:** [May 28, 2019, 9:00am UTC](https://discourse.processing.org/t/how-to-add-hindi-font-in-processing/11653/1 "2019-05-28T09:00:42Z")

</div>

Hi, I’m trying to add Hindi fonts in Processing for typography but it’s not working? Any idea how it can be achieved.  
I’m getting the following error:

 ![51%20PM](https://canada1.discourse-cdn.com/flex036/uploads/processingfoundation1/original/2X/b/b201847299633e9addbc0c05cc548d82e72c3a6f.png)

---

<div class="post-metadata">

**Author:** ![GoToLoop](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/gotoloop/32/86_2.png) [@GoToLoop](https://discourse.processing.org/u/GoToLoop)\
**Post date:** [May 28, 2019, 9:15am UTC](https://discourse.processing.org/t/how-to-add-hindi-font-in-processing/11653/2 "2019-05-28T09:15:24Z")

</div>

[Studio.ProcessingTogether.com/sp/pad/export/ro.9hlrt8LyDd9uA](http://Studio.ProcessingTogether.com/sp/pad/export/ro.9hlrt8LyDd9uA)

> [@How to display German letters in Processing?](https://discourse.processing.org/t/how-to-display-german-letters-in-processing/9198):
>
> Hi! So I don’t know if anyone here had that problem before, but I was wondering how I could display the German letters “ö, ö, ü” in Processing. Every font that could display those letters in word could not do that in Processing. Do I need some kind of library for that?

---

<div class="post-metadata">

**Author:** ![Anmol](https://avatars.discourse-cdn.com/v4/letter/a/e36b37/32.png) [@Anmol](https://discourse.processing.org/u/Anmol)\
**Post date:** [May 29, 2019, 5:09am UTC](https://discourse.processing.org/t/how-to-add-hindi-font-in-processing/11653/3 "2019-05-29T05:09:58Z")

</div>

Thank you 🙂🙂🙂! it works!!!  
Is there any way in which I can also see what is written on Processing text editor?!  
As of now, it is showing junk characters instead of Hindi…

 ![02%20AM](https://canada1.discourse-cdn.com/flex036/uploads/processingfoundation1/original/2X/1/1b4ab0ebc1c8094436d59d1b024ee8fc670c2944.png)

---

<div class="post-metadata">

**Author:** ![GoToLoop](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/gotoloop/32/86_2.png) [@GoToLoop](https://discourse.processing.org/u/GoToLoop)\
**Post date:** [May 29, 2019, 5:26am UTC](https://discourse.processing.org/t/how-to-add-hindi-font-in-processing/11653/4 "2019-05-29T05:26:08Z")

</div>

I dunno how. Just blind-paste a text. 🕶

---

<div class="post-metadata">

**Author:** ![jeremydouglass](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/jeremydouglass/32/20_2.png) [@jeremydouglass](https://discourse.processing.org/u/jeremydouglass)\
**Post date:** [June 1, 2019, 5:27pm UTC](https://discourse.processing.org/t/how-to-add-hindi-font-in-processing/11653/5 "2019-06-01T17:27:34Z")

</div>

> [@Anmol](#):
>
> Is there any way in which I can also see what is written on Processing text editor?!

You might want to consider checking the web editor issues for any existing issue relating to language support.

If there isn’t already a feature request, you should submit one!

> **[Issues · processing/p5.js-web-editor](https://github.com/processing/p5.js-web-editor/issues?utf8=%E2%9C%93&q=is%3Aissue%2Blanguage%2B)**
>
> p5.js Web Editor, officially launched! Contribute to processing/p5.js-web-editor development by creating an account on GitHub.

---

<div class="post-metadata">

**Author:** ![opheliagame](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/opheliagame/32/22248_2.png) [@opheliagame](https://discourse.processing.org/u/opheliagame)\
**Post date:** [July 2, 2020, 3:03pm UTC](https://discourse.processing.org/t/how-to-add-hindi-font-in-processing/11653/6 "2020-07-02T15:03:20Z")

</div>

Hi Anmol, I am having the same issue. Have you been able to find a solution for this? Also something else that I have noticed is that I am able to copy paste a hindi text and it appears correctly in the default renderer, the P2D renderer does not show them correctly. Junk characters appear in the editor in both cases.

---

<div class="post-metadata">

**Author:** ![opheliagame](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/opheliagame/32/22248_2.png) [@opheliagame](https://discourse.processing.org/u/opheliagame)\
**Post date:** [July 8, 2020, 1:20pm UTC](https://discourse.processing.org/t/how-to-add-hindi-font-in-processing/11653/7 "2020-07-08T13:20:28Z")

</div>

@jeremydouglass should issues regarding the processing text editor be posted on the p5.js web editor github page? I believe the issue still persists and there is another issue regarding the P2D renderer.

Below is how text should appear and it does so in the default renderer.  
 ![Screenshot from 2020-07-08 18-44-29](https://canada1.discourse-cdn.com/flex036/uploads/processingfoundation1/original/2X/0/0bb85f1afb231476b679cc98f24e1bbd7460fcfe.png)

But letters are not interpreted correctly in the P2D and P3D renderer.  
 ![Screenshot from 2020-07-08 18-44-48](https://canada1.discourse-cdn.com/flex036/uploads/processingfoundation1/original/2X/6/632137a407157f10c75815c1235651945b517179.png)

In both the cases garbage characters appear in the editor window.

I would like to submit an issue regarding this, it would be really helpful if someone could guide me where to do so.  
Thanks 🙂

---

<div class="post-metadata">

**Author:** ![jeremydouglass](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/jeremydouglass/32/20_2.png) [@jeremydouglass](https://discourse.processing.org/u/jeremydouglass)\
**Post date:** [July 8, 2020, 3:12pm UTC](https://discourse.processing.org/t/how-to-add-hindi-font-in-processing/11653/8 "2020-07-08T15:12:41Z")

</div>

Hi @opheliagame – this is a thread about PDE, the desktop application with a default Java mode. The default renderer is JAVA2D – the P2D and P3D renderers are based on OpenGL. The editor repo is at [github.com/processing/processing](http://github.com/processing/processing) – if you have an issue with P2D on the desktop, that is where you should go to report it.

p5.js is a completely separate JavaScript library with its own font handling and render, unrelated to the font handling of Java mode and its renderers (such as P2D) – and its JavaScript web editor uses a combination of the library font handling and the built-in font handling of the host web browser. The repo [github.com/processing/p5.js-web-editor](http://github.com/processing/p5.js-web-editor) corresponds to the site [editor.p5js.org](http://editor.p5js.org).

---

<div class="post-metadata">

**Author:** ![Anmol](https://avatars.discourse-cdn.com/v4/letter/a/e36b37/32.png) [@Anmol](https://discourse.processing.org/u/Anmol)\
**Post date:** [July 8, 2020, 3:15pm UTC](https://discourse.processing.org/t/how-to-add-hindi-font-in-processing/11653/9 "2020-07-08T15:15:44Z")

</div>

Hi Anushka,  
Sorry…I was not able to find any solution to this. I always got junk characters when pasting Hindi fonts. Although the default font was shown on the display window. I suppose Processing does not support Hindi fonts.  
I guess the issue should be on Github or wherever it can be addressed.

---

<div class="post-metadata">

**Author:** ![opheliagame](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/opheliagame/32/22248_2.png) [@opheliagame](https://discourse.processing.org/u/opheliagame)\
**Post date:** [July 13, 2020, 10:08am UTC](https://discourse.processing.org/t/how-to-add-hindi-font-in-processing/11653/10 "2020-07-13T10:08:21Z")

</div>

Thank you for confirming, I will report this issue soon! 🙂
