# How to use Processing on 4k displays?

**URL:** <https://discourse.processing.org/t/how-to-use-processing-on-4k-displays/5550>\
**Category:** Processing\
**Created:** [November 15, 2018, 1:16am UTC](https://discourse.processing.org/t/how-to-use-processing-on-4k-displays/5550 "2018-11-15T01:16:30Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![codrutp](https://avatars.discourse-cdn.com/v4/letter/c/51bf81/32.png) [@codrutp](https://discourse.processing.org/u/codrutp)\
**Post date:** [November 15, 2018, 1:16am UTC](https://discourse.processing.org/t/how-to-use-processing-on-4k-displays/5550/1 "2018-11-15T01:16:30Z")

</div>

I am using Processing in WSL/Ubuntu with X410 server.  
It works, but the text and the menus are tiny, tiny, I can barely read. How can I adjust the menu and the text?

---

<div class="post-metadata">

**Author:** ![hamoid](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/hamoid/32/58_2.png) [@hamoid](https://discourse.processing.org/u/hamoid)\
**Post date:** [November 15, 2018, 9:19am UTC](https://discourse.processing.org/t/how-to-use-processing-on-4k-displays/5550/2 "2018-11-15T09:19:16Z")

</div>

Hi! Do you mean texts and menus inside or outside Processing?

For Processing there’s things like `textSize()`. Libraries like controlP5 let you set the font and font size… it depends on how you are drawing texts and menus…

---

<div class="post-metadata">

**Author:** ![codrutp](https://avatars.discourse-cdn.com/v4/letter/c/51bf81/32.png) [@codrutp](https://discourse.processing.org/u/codrutp)\
**Post date:** [November 15, 2018, 9:53am UTC](https://discourse.processing.org/t/how-to-use-processing-on-4k-displays/5550/3 "2018-11-15T09:53:08Z")

</div>

The text and menus. It’s a matter of scaling.  
[https://1drv.ms/u/s!AoGfVTw1lQbXkxA-OYG4029j5qQT](https://1drv.ms/u/s!AoGfVTw1lQbXkxA-OYG4029j5qQT)

---

<div class="post-metadata">

**Author:** ![hamoid](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/hamoid/32/58_2.png) [@hamoid](https://discourse.processing.org/u/hamoid)\
**Post date:** [November 15, 2018, 11:16am UTC](https://discourse.processing.org/t/how-to-use-processing-on-4k-displays/5550/4 "2018-11-15T11:16:30Z")

</div>

I see! You mean that the texts and menus **in the Processing IDE** are tiny (I thought maybe you mean the text you are drawing is too small).

I see this bug in GitHub:

> <https://github.com/processing/processing/issues/4562>

But it is marked as “cantfix”. Maybe you can add a screenshot to that issue and explain that other windows have correct text size in their menus, but the Processing IDE has much smaller text for some reason.

You could also try if this affects Java programs in general, or only Processing.

---

<div class="post-metadata">

**Author:** ![codrutp](https://avatars.discourse-cdn.com/v4/letter/c/51bf81/32.png) [@codrutp](https://discourse.processing.org/u/codrutp)\
**Post date:** [November 15, 2018, 11:39am UTC](https://discourse.processing.org/t/how-to-use-processing-on-4k-displays/5550/5 "2018-11-15T11:39:33Z")

</div>

Ok. I’ll stop using Processing. I just wanted to give it a try.

Thanks

---

<div class="post-metadata">

**Author:** ![dan850](https://avatars.discourse-cdn.com/v4/letter/d/e9c0ed/32.png) [@dan850](https://discourse.processing.org/u/dan850)\
**Post date:** [November 16, 2018, 8:15am UTC](https://discourse.processing.org/t/how-to-use-processing-on-4k-displays/5550/6 "2018-11-16T08:15:08Z")

</div>

@codrutp it just may be the processing editor that’s the issue with scaling and might be a bug that I’m sure the developers will fix . I’m assuming you played around with your display settings on your monitor already correct ? or tried a different IDE ?

---

<div class="post-metadata">

**Author:** ![kll](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/kll/32/964_2.png) [@kll](https://discourse.processing.org/u/kll)\
**Post date:** [November 16, 2018, 8:35am UTC](https://discourse.processing.org/t/how-to-use-processing-on-4k-displays/5550/7 "2018-11-16T08:35:09Z")

</div>

> [@dan850](#):
>
> tried a different IDE

yes,  
@codrutp i see you like to work in browser,

[http://studio.sketchpad.cc/sp/pad/view/H9KJmLkNgj/latest](http://studio.sketchpad.cc/sp/pad/view/H9KJmLkNgj/latest)

---

<div class="post-metadata">

**Author:** ![Jakub](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/jakub/32/2192_2.png) [@Jakub](https://discourse.processing.org/u/Jakub)\
**Post date:** [November 17, 2018, 9:33am UTC](https://discourse.processing.org/t/how-to-use-processing-on-4k-displays/5550/8 "2018-11-17T09:33:40Z")

</div>

You should be able to change the interface scale in preferences:

 ![preferences](https://canada1.discourse-cdn.com/flex036/uploads/processingfoundation1/original/2X/6/6233310ab51a68cdcd14369ed42dbb3072892c26.png)

---

<div class="post-metadata">

**Author:** ![codrutp](https://avatars.discourse-cdn.com/v4/letter/c/51bf81/32.png) [@codrutp](https://discourse.processing.org/u/codrutp)\
**Post date:** [November 17, 2018, 5:10pm UTC](https://discourse.processing.org/t/how-to-use-processing-on-4k-displays/5550/9 "2018-11-17T17:10:39Z")

</div>

@Jakub Thank you! Much better! But still not perfect  
[https://1drv.ms/u/s!AoGfVTw1lQbXkxWkojtoaTsxwEfe](https://1drv.ms/u/s!AoGfVTw1lQbXkxWkojtoaTsxwEfe)  
However, I guess there is not much which can be done anymore.  
Thank you, anyway!  
Regards

---

<div class="post-metadata">

**Author:** ![Jakub](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/jakub/32/2192_2.png) [@Jakub](https://discourse.processing.org/u/Jakub)\
**Post date:** [November 17, 2018, 5:41pm UTC](https://discourse.processing.org/t/how-to-use-processing-on-4k-displays/5550/10 "2018-11-17T17:41:57Z")

</div>

I think there is something wrong, it should not look like this. Could you please tell me what is your desktop environment / window manager?

---

<div class="post-metadata">

**Author:** ![codrutp](https://avatars.discourse-cdn.com/v4/letter/c/51bf81/32.png) [@codrutp](https://discourse.processing.org/u/codrutp)\
**Post date:** [November 17, 2018, 10:08pm UTC](https://discourse.processing.org/t/how-to-use-processing-on-4k-displays/5550/11 "2018-11-17T22:08:07Z")

</div>

I am not using a window manager. Just Microsoft’s WSL with Ubuntu 18.04 and the display exported to 127.0.0.1:0.0 which is redirecting to X410 (from Microsoft Store) as an X Server. It’s a very convenient way to run Linux apps without installing Linux.  
Yes, I know, I am doing this just because I can. Probably if I would run Processing for Windows it would be correct with this scaling option. I’ll give Windows version a try.  
Regards
