# Difference between typography and strings?

**URL:** <https://discourse.processing.org/t/difference-between-typography-and-strings/30332>\
**Category:** Beginners\
**Created:** [May 28, 2021, 1:33am UTC](https://discourse.processing.org/t/difference-between-typography-and-strings/30332 "2021-05-28T01:33:49Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Dun](https://avatars.discourse-cdn.com/v4/letter/d/e19b73/32.png) [@Dun](https://discourse.processing.org/u/Dun)\
**Post date:** [May 28, 2021, 1:33am UTC](https://discourse.processing.org/t/difference-between-typography-and-strings/30332/1 "2021-05-28T01:33:49Z")

</div>

> please format code with \</\> button \* [homework policy](https://discourse.processing.org/faq/#homework) \* [asking questions](https://discourse.processing.org/t/2147)

Hi, I’m new to Processing and coding in general. What is the difference between strings generated class of text versus the typography text() feature in Processing? I’m confused why they needed to be separated. Thank you.

---

<div class="post-metadata">

**Author:** ![debxyz](https://avatars.discourse-cdn.com/v4/letter/d/58956e/32.png) [@debxyz](https://discourse.processing.org/u/debxyz)\
**Post date:** [May 28, 2021, 3:18am UTC](https://discourse.processing.org/t/difference-between-typography-and-strings/30332/2 "2021-05-28T03:18:38Z")

</div>

Hell0 @Dun,

The reference gives a good explanation here:  
[https://processing.org/reference/text\_.html](https://processing.org/reference/text_.html)  
and here:

[https://processing.org/reference/String.html](https://processing.org/reference/String.html)

🤓

---

<div class="post-metadata">

**Author:** ![glv](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/glv/32/18785_2.png) [@glv](https://discourse.processing.org/u/glv)\
**Post date:** [May 28, 2021, 11:11am UTC](https://discourse.processing.org/t/difference-between-typography-and-strings/30332/3 "2021-05-28T11:11:12Z")

</div>

Hello,

More references for you:

- [Strings and Drawing Text \ Processing.org](https://processing.org/tutorials/text/)
- [Typography \ Processing.org](https://processing.org/tutorials/typography/)

Take a look at the source to see what the Processing function text() is under the hood:  
_[processing/PApplet.java at master · processing/processing · GitHub](https://github.com/processing/processing/blob/master/core/src/processing/core/PApplet.java#L13156)_

`:)`

---

<div class="post-metadata">

**Author:** ![Chrisir](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/chrisir/32/45_2.png) [@Chrisir](https://discourse.processing.org/u/Chrisir)\
**Post date:** [May 28, 2021, 1:43pm UTC](https://discourse.processing.org/t/difference-between-typography-and-strings/30332/4 "2021-05-28T13:43:43Z")

</div>

These are two  
Different things.

- We can use String to operate data internally and fetch text.
- We can use text() to display a String but that’s only a small part of it.
- The art of Displaying text in a nice font is named Typography.
