Click here to Skip to main content
15,886,519 members

Welcome to the Lounge

   

For discussing anything related to a software developer's life but is not for programming questions. Got a programming question?

The Lounge is rated Safe For Work. If you're about to post something inappropriate for a shared office environment, then don't post it. No ads, no abuse, and no programming questions. Trolling, (political, climate, religious or whatever) will result in your account being removed.

 
GeneralRe: Fact of the Day Pin
Rage21-Mar-22 21:41
professionalRage21-Mar-22 21:41 
GeneralRe: Fact of the Day Pin
Daniel Pfeffer21-Mar-22 22:48
professionalDaniel Pfeffer21-Mar-22 22:48 
GeneralRe: Fact of the Day Pin
TNCaver22-Mar-22 5:23
TNCaver22-Mar-22 5:23 
GeneralRe: Fact of the Day Pin
DRHuff22-Mar-22 8:20
DRHuff22-Mar-22 8:20 
GeneralRe: Fact of the Day Pin
TNCaver22-Mar-22 11:13
TNCaver22-Mar-22 11:13 
GeneralRe: Fact of the Day Pin
oofalladeez34324-Mar-22 16:06
professionaloofalladeez34324-Mar-22 16:06 
GeneralRe: Fact of the Day Pin
PIEBALDconsult22-Mar-22 14:20
mvePIEBALDconsult22-Mar-22 14:20 
PraiseRendering was a bit dodgy to the right on this demo but I'm super proud of this PinPopular
honey the codewitch21-Mar-22 12:45
mvahoney the codewitch21-Mar-22 12:45 
This is a short demo of truetype font rendering on an ESP32 WROOM. Doing it on a WROVER was historically doable because of its 4MB of PSRAM. The WROOM has no PSRAM. It only has 512kB of SRAM, and only about 300kB of that is actually usable by your code. The right was clipped a little in the demo. I was a couple pixels off on the size of my bitmap. I fixed it but didn't reupload.

This is a Lilygo TTGO board - basically an ESP32 WROOM with an embedded color screen.

This is a monospaced truetype font embedded byte for byte in a header file in order to store it in program flash space because it's too big for RAM.

It's rendering from that using a hashtable for glyph lookups, making the device just fast enough to do it with one of its 240mhz cores.

I don't know of any other graphics library offering that can even remotely do this. Even the LVGL TTF implementation only works on a WROVER (and can only be compiled from a linux machine!)

New GFX bits enable realistic TTF rendering on a WROOM (see comments) : esp32[^]
To err is human. Fortune favors the monsters.


modified 21-Mar-22 22:58pm.

GeneralRe: Rendering was a bit dodgy to the right on this demo but I'm super proud of this Pin
Randor 21-Mar-22 13:28
professional Randor 21-Mar-22 13:28 
GeneralRe: Rendering was a bit dodgy to the right on this demo but I'm super proud of this Pin
honey the codewitch21-Mar-22 13:28
mvahoney the codewitch21-Mar-22 13:28 
GeneralRe: Rendering was a bit dodgy to the right on this demo but I'm super proud of this Pin
jmaida21-Mar-22 20:45
jmaida21-Mar-22 20:45 
QuestionUltrawide monitor (for development) - flat or curved screen? Pin
Ravi Bhavnani21-Mar-22 11:48
professionalRavi Bhavnani21-Mar-22 11:48 
AnswerRe: Ultrawide monitor (for development) - flat or curved screen? PinPopular
Rick York21-Mar-22 11:56
mveRick York21-Mar-22 11:56 
AnswerRe: Ultrawide monitor (for development) - flat or curved screen? Pin
OriginalGriff21-Mar-22 12:36
mveOriginalGriff21-Mar-22 12:36 
GeneralRe: Ultrawide monitor (for development) - flat or curved screen? Pin
Mircea Neacsu21-Mar-22 13:47
Mircea Neacsu21-Mar-22 13:47 
GeneralRe: Ultrawide monitor (for development) - flat or curved screen? Pin
BernardIE531723-Mar-22 9:10
BernardIE531723-Mar-22 9:10 
AnswerRe: Ultrawide monitor (for development) - flat or curved screen? Pin
Gary R. Wheeler21-Mar-22 14:51
Gary R. Wheeler21-Mar-22 14:51 
AnswerRe: Ultrawide monitor (for development) - flat or curved screen? Pin
Andreas Mertens21-Mar-22 15:49
professionalAndreas Mertens21-Mar-22 15:49 
GeneralRe: Ultrawide monitor (for development) - flat or curved screen? Pin
jsrjsr23-Mar-22 15:08
professionaljsrjsr23-Mar-22 15:08 
AnswerRe: Ultrawide monitor (for development) - flat or curved screen? Pin
Roger Wright21-Mar-22 19:47
professionalRoger Wright21-Mar-22 19:47 
AnswerRe: Ultrawide monitor (for development) - flat or curved screen? Pin
5imone21-Mar-22 20:18
professional5imone21-Mar-22 20:18 
AnswerRe: Ultrawide monitor (for development) - flat or curved screen? Pin
Gerry Schmitz22-Mar-22 5:47
mveGerry Schmitz22-Mar-22 5:47 
GeneralBackground information Pin
Ravi Bhavnani22-Mar-22 15:18
professionalRavi Bhavnani22-Mar-22 15:18 
GeneralRe: Background information Pin
mmwlada23-Mar-22 0:42
professionalmmwlada23-Mar-22 0:42 
GeneralRe: Background information Pin
thewazz23-Mar-22 2:23
professionalthewazz23-Mar-22 2:23 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.