ILI9341 TTF Fonts for different display

Status
Not open for further replies.

Frank B

Senior Member
Hi,

I want to use the converted TTF fonts for an other display, 480 x 320. No problem to copy the code from the ILI9341 library.. but the ratio is different (320x240 vs 480x320 -> 1.3 vs 1.5)

@Paul, or anybody who knows it: What do I have to change in the conversion process to adopt the new ratio?
 
Hello,

I (unfortunately) do not know the answer to your question but I am somewhat confused about your problem.

The pixels in the ili934 screen are square. Then, if the pixels on your other display are also square, then the ratio of the screen dimensions should not matter to draw the font (or any image) properly... or does it mean that your other 480x420 has rectangular (non square) pixels ? This would be a very strange display.
 
Status
Not open for further replies.
Back
Top