nopnop2002 / esp-idf-st7789

ST7789 Driver for esp-idf
MIT License
254 stars 62 forks source link

Custom Font creation #44

Closed arunyava closed 3 months ago

arunyava commented 3 months ago

Hi, please help to create custom font .I look fontfx.exe .but it's not found .Can you please explain the steps. I am new in this field

nopnop2002 commented 3 months ago

FONTX Editor

Please follow the README.

arunyava commented 3 months ago

while clicking the link it shows "not found".

arunyava commented 3 months ago

its downloaded sir. thanks a lot for your valuable support

arunyava commented 3 months ago

how can we select ttf file for custom font creation. Is same font map file can be used for different size letter ,means normal ,bold etc. How can implement that? please help.

nopnop2002 commented 3 months ago

how can we select ttf file for custom font creation.

All the information you need is written in the readme.

Please read the readme carefully.

arunyava commented 3 months ago

hi sir, How can make the letter bold

nopnop2002 commented 3 months ago

Please check bold.

WFINTX64-4

arunyava commented 3 months ago

Hi Sir, I am facing one more issue. if i set color as yellow but the font letters are in blue.
GetFontx(0, buffer, &fontWidth, &fontHeight); lcdFillScreen(&dev, BLACK); lcdSetFontDirection(&dev, 3); color = YELLOW; strcpy((char )ascii, "123456789101234567"); lcdDrawString(&dev, (fontHeight1)-1,CONFIG_HEIGHT-12, ascii, color); what was the issue ? Can you please help me?

nopnop2002 commented 3 months ago

Is BLUE displayed correctly?

strcpy((char )ascii, "123456789101234567");
lcdDrawString(&dev, (fontHeight1)-1,CONFIG_HEIGHT-12, ascii, BLUE);
arunyava commented 3 months ago

no , it changed as yellow

nopnop2002 commented 3 months ago

There are no problems with this project.

It's a problem with your code.

You need to share the entire project, not just a piece of code.

IMG_5563

arunyava commented 3 months ago

Sorry sir , its not your project issue. Its my project issue . I need help to rectify the issue. Thanks in advance. I'm working in LPC1768 board.

nopnop2002 commented 3 months ago

I don't have LPC1768 board.

nopnop2002 commented 3 months ago

The issues of creating a custom font has been resolved, so I close it.