# Text display has gone "Fuzzy"

**URL:** https://discourse.processing.org/t/text-display-has-gone-fuzzy/28694
**Category:** Processing for Android
**Created:** [March 21, 2021, 10:31am UTC](https://discourse.processing.org/t/text-display-has-gone-fuzzy/28694 "2021-03-21T10:31:20Z")
**Posts on this page:** 14
**Page:** 1

<div class="post-metadata">

### Author: ![shedMusic](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/shedmusic/32/601_2.png) [@shedMusic](https://discourse.processing.org/u/shedMusic)
#### Post date: [March 21, 2021, 10:31am UTC](https://discourse.processing.org/t/text-display-has-gone-fuzzy/28694/1 "2021-03-21T10:31:20Z")

</div>

Not sure how easy this is to replicate!

I’ve been working for weeks/months in Android Mode using fullScreen(P2D) as the renderer and just this last half hour, all text rendering has gone “fuzzy” - like on partial rendering is happening?! Nothing else, just the text.

If I comment out fullScreen(P2D); to use the default renderer everything looks great again but my frame rate take a massive hit - at least 4x slower!

Not sure what to try… anybody else seen this ever?

---

<div class="post-metadata">

### Author: ![paulgoux](https://avatars.discourse-cdn.com/v4/letter/p/b9bd4f/32.png) [@paulgoux](https://discourse.processing.org/u/paulgoux)
#### Post date: [March 21, 2021, 10:36am UTC](https://discourse.processing.org/t/text-display-has-gone-fuzzy/28694/2 "2021-03-21T10:36:43Z")

</div>

Does relaoding the sketch change anything. On some of my android sketches the camera is sometimes fuzzy until reload. But otherwise i cant help

---

<div class="post-metadata">

### Author: ![shedMusic](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/shedmusic/32/601_2.png) [@shedMusic](https://discourse.processing.org/u/shedMusic)
#### Post date: [March 21, 2021, 10:38am UTC](https://discourse.processing.org/t/text-display-has-gone-fuzzy/28694/3 "2021-03-21T10:38:55Z")

</div>

@ paulgoux

Thanks for replying …

I’ve reset & reloaded everything, phone, laptop etc. It’s really weird!

What renderer do you use … ?

---

<div class="post-metadata">

### Author: ![paulgoux](https://avatars.discourse-cdn.com/v4/letter/p/b9bd4f/32.png) [@paulgoux](https://discourse.processing.org/u/paulgoux)
#### Post date: [March 21, 2021, 10:42am UTC](https://discourse.processing.org/t/text-display-has-gone-fuzzy/28694/4 "2021-03-21T10:42:34Z")

</div>

Always p2d on android

---

<div class="post-metadata">

### Author: ![paulgoux](https://avatars.discourse-cdn.com/v4/letter/p/b9bd4f/32.png) [@paulgoux](https://discourse.processing.org/u/paulgoux)
#### Post date: [March 21, 2021, 10:43am UTC](https://discourse.processing.org/t/text-display-has-gone-fuzzy/28694/5 "2021-03-21T10:43:16Z")

</div>

What does your sketch do. Might have a function causing issues.

---

<div class="post-metadata">

### Author: ![paulgoux](https://avatars.discourse-cdn.com/v4/letter/p/b9bd4f/32.png) [@paulgoux](https://discourse.processing.org/u/paulgoux)
#### Post date: [March 21, 2021, 10:45am UTC](https://discourse.processing.org/t/text-display-has-gone-fuzzy/28694/6 "2021-03-21T10:45:41Z")

</div>

Do all your sketches have this problem?

---

<div class="post-metadata">

### Author: ![shedMusic](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/shedmusic/32/601_2.png) [@shedMusic](https://discourse.processing.org/u/shedMusic)
#### Post date: [March 21, 2021, 10:47am UTC](https://discourse.processing.org/t/text-display-has-gone-fuzzy/28694/7 "2021-03-21T10:47:50Z")

</div>

@paulgoux

Yes p2d for me too … best frame rate by far!

The app does loads functionally (audio sequencer), but from a graphics viewpoint mostly just selectively displays rectangles, a few small images and text.

Some thing behind the scenes has broken somewhere for the text rendering … frustrating!

---

<div class="post-metadata">

### Author: ![shedMusic](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/shedmusic/32/601_2.png) [@shedMusic](https://discourse.processing.org/u/shedMusic)
#### Post date: [March 21, 2021, 10:50am UTC](https://discourse.processing.org/t/text-display-has-gone-fuzzy/28694/8 "2021-03-21T10:50:47Z")

</div>

@paulgoux

If I upload an apk would you see how it looks on your phone!?

---

<div class="post-metadata">

### Author: ![paulgoux](https://avatars.discourse-cdn.com/v4/letter/p/b9bd4f/32.png) [@paulgoux](https://discourse.processing.org/u/paulgoux)
#### Post date: [March 21, 2021, 11:51am UTC](https://discourse.processing.org/t/text-display-has-gone-fuzzy/28694/9 "2021-03-21T11:51:35Z")

</div>

Do you have the sketch instead?

---

<div class="post-metadata">

### Author: ![shedMusic](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/shedmusic/32/601_2.png) [@shedMusic](https://discourse.processing.org/u/shedMusic)
#### Post date: [March 21, 2021, 12:34pm UTC](https://discourse.processing.org/t/text-display-has-gone-fuzzy/28694/10 "2021-03-21T12:34:03Z")

</div>

@paulgoux

Yes I do, but it’s 20455 lines of code, so far too big to post here!! And it’s in Android Studio now (for various reasons) so would need some work to get it back into P5.

I have found a solution for now though…

Up to now I have been using the default font as it seemed to work fine, but creating my own using createFont() and using that has fixed the fuzziness, and still gives me a similar/good frame rate. Phew!

There is something broken I guess when using the default font, but why it showed up just today after weeks and weeks of working I have no idea! So long as I have a fix though I’m happy to work with that!

Thanks for all your suggestions though … much appreciated.

SECTION REMOVED…

---

<div class="post-metadata">

### Author: ![paulgoux](https://avatars.discourse-cdn.com/v4/letter/p/b9bd4f/32.png) [@paulgoux](https://discourse.processing.org/u/paulgoux)
#### Post date: [March 21, 2021, 1:04pm UTC](https://discourse.processing.org/t/text-display-has-gone-fuzzy/28694/11 "2021-03-21T13:04:32Z")

</div>

Unfortunately im not going to be of much help as i have so little experience in android studio and tend to stick with the default processing pde.

Perhaps someone more knowledgeable can help.

In any case good luck with your project and yes id be keen to beta test.

---

<div class="post-metadata">

### Author: ![shedMusic](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/shedmusic/32/601_2.png) [@shedMusic](https://discourse.processing.org/u/shedMusic)
#### Post date: [March 21, 2021, 1:30pm UTC](https://discourse.processing.org/t/text-display-has-gone-fuzzy/28694/12 "2021-03-21T13:30:00Z")

</div>

@paulgoux

Thanks … 👍

There’s an app link on my website if you want to beta test 😁

---

<div class="post-metadata">

### Author: ![raron](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/raron/32/13651_2.png) [@raron](https://discourse.processing.org/u/raron)
#### Post date: [March 24, 2021, 4:17pm UTC](https://discourse.processing.org/t/text-display-has-gone-fuzzy/28694/13 "2021-03-24T16:17:26Z")

</div>

I remembered a similar thread, maybe it will help:

> [@Blurry Text Solution](https://discourse.processing.org/t/blurry-text-solution/11293):
>
> I was using different text sizes in a recent project and was getting blurry fonts. I solve this issue by setting the largest text size in setup() and problem solved! Here is the code I used to test this: /\* Project: Blurry Text Author: GLV Date: 2019-05-15 Version: 01 \*/ void settings() { size(1024, 768, P3D); } void setup() { textSize(128); // Set to largest text size used to prevent blurring of text } void draw() { background(0); text24(); t…

It’s for P3D, maybe it works for P2D on android as well? The solution was to set “textSize” to the largest text size in setup():  
`(textSize 128)`

I’ve also encountered the issue that the font size (or possibly the kerning?) was a bit different between OS’es, unless set specifically with “textSize()”. I only tried it on Linux and Windows.

---

<div class="post-metadata">

### Author: ![shedMusic](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/shedmusic/32/601_2.png) [@shedMusic](https://discourse.processing.org/u/shedMusic)
#### Post date: [March 24, 2021, 8:47pm UTC](https://discourse.processing.org/t/text-display-has-gone-fuzzy/28694/14 "2021-03-24T20:47:10Z")

</div>

@raron  
Hi thanks for your input. I’ll try that just to see what happens but using createFont has worked well … made a large one (32pt) similar to your code. Going to stick with it too as text rendering is much faster now!
