fontedit icon indicating copy to clipboard operation
fontedit copied to clipboard

Waveshare EPD

Open fizzyade opened this issue 3 years ago • 2 comments

Hi,

I've found your tool, but I cannot get it to work with the waveshare display, you specifically mentioned this in your reddit post and in various other posts, but I don't know if anything has changed, but I only seem to be able to get a corrupted font displayed.

I added the extra structure as required, I'm using a 48 point monaco font as my source, and this gives me 29 pixels by 52. Looking at the waveshare code it performs the necessary adjustment for the padding where the width is not a multiple of 8 bits, but if I put either 29 or 32 as the width of my characters, I still can't get a working output.

It would be really useful if this tool could just directly output the structures required for a waveshare compatible font without having to manually go in and create the necessary structures.

I haven't investigated too deeply why exactly I'm not getting the correct output, but I think the addition of directly generating would be a very useful feature for many other users.

fizzyade avatar Jul 11 '21 21:07 fizzyade

Ok, for anybody else who gets garbled characters, the waveshare format requires that the bits be reversed.

fizzyade avatar Jul 11 '21 21:07 fizzyade

Thank you! This was driving me crazy.

carterlloyds avatar Jul 25 '21 23:07 carterlloyds