# Numbers only for custom font on TFT display

**URL:** https://discourse.processing.org/t/numbers-only-for-custom-font-on-tft-display/28391
**Category:** Electronics (Arduino, etc.)
**Created:** [March 10, 2021, 2:12pm UTC](https://discourse.processing.org/t/numbers-only-for-custom-font-on-tft-display/28391 "2021-03-10T14:12:50Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![fotosettore](https://avatars.discourse-cdn.com/v4/letter/f/c37758/32.png) [@fotosettore](https://discourse.processing.org/u/fotosettore)
#### Post date: [March 10, 2021, 2:12pm UTC](https://discourse.processing.org/t/numbers-only-for-custom-font-on-tft-display/28391/1 "2021-03-10T14:12:50Z")

</div>

Hi  
Is it possibile to create a font with inside NUMBERS ONLY ( from 0 to 9) ?  
I need to show a huge number on a TFT display, that use TFT\_eSPI library. Dimensione is about 120.  
I don’t need alphabetic characters. I tried LATIN BASIC but the files is too big for SPIFFS.  
I tried to compile using NUMBER FORM too, but without success.  
I’m sure that only numbers at 120 is not a big file.  
I’m using PROCESSING 3.5.4 for Windows : TOOLS → CREATE FONT  
Many thanks for help

---

<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: [March 12, 2021, 4:46pm UTC](https://discourse.processing.org/t/numbers-only-for-custom-font-on-tft-display/28391/2 "2021-03-12T16:46:50Z")

</div>

one idea comes to mind

a Font Manager or Font Editor

there you can delete stuff from an existing font prior to using it. Not sure if it will really reduce the size.

Haven’t done this, but check these:

see [FontForge Open Source Font Editor](https://fontforge.org/en-US/)

or [Font Editor | heise Download](https://www.heise.de/download/product/font-editor-41356)

Alternatively you can draw numbers with line() commands like

```auto
void draw1() { 
  line(x,y, x,y+66); 
}

```

using no font at all.
