Bienvenido a los foros de FT81x Manía. Te invitamos a regístrate totalmente gratis. Disfruta de tu experiencia con un grandes amigos y Staff.

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5

Thread Contributor: raufjayAdding custom fonts

#1
0
Hello,
Is there any step by step document of video of adding custom fonts with FT81x?
I went through AN_277 and found a lot of info. But that doc is very lengthy and covers a lot of things. If some one can guide me to the step by step method, that would be much savvy for me.
thanks,
Rauf
Reply
#2
0
Hello,
I went through the doc AN_277. I converted the font and made raw file data. Now I have to figure out how i can load it into FT81x. I will try it tonight.
Thanks,
Rauf
Reply
#3
1
Better response on post RE: Adding custom fontsHello, have you tried performing by gd2asset python?

Also if you want you can use the EVE Screen Designer, but the version 1.17 that exports fonts and images already with the code to Gameduino

This be the linkediitor v1.17 

is an application for windows, I use it in Linux with the Wine emulator and it works perfect.
Reply
#4
0
I hardly get you on your response. I am using stm32 with Arduino IDE in windows.
I haven’t tried assets2.

Can you give me some example?
Like if I want font Arial.ttf in size 60 how I can use it with GD2UB library.
Reply
#5
0
I also see that FTDI screen editor V2.3.4 is available. Which seems later version of V1.17. Would you still recommend to use ver 1.17?
Reply
#6
1
Better response on post RE: Adding custom fontsYes, release v1.17 why bring the script that generates the code to gemeduino, then it is only modify slightly and work
Reply
#7
1
Better response on post RE: Adding custom fontsThank you very much.
I tried with v1.17 and thats working quite easily and perfectly.
Now I have another issue.
I tried to make larger fonts. I selected upto 106 size but that still looks smaller on 800x480 screen. The trade off of having higher resolution screens.
I can not select higher than this as GRAM get almost filled up with this.
I tried converting only numbers and removed the alphabates but get some strange problem.
Is there any way I can get even larger size letters, for example 200 size.

Thanks,

Rauf
Reply
#8
1
Better response on post RE: Adding custom fontsEffective my friend @ raufjay , the GPU of the screen is the one that sends, FT81x 1MBytes of RAM. I think in case of making an image and not a source.

If you make an image of large numbers for example in monochrome L2, it may not exceed the GPU barrier

Tell me exactly the dimensions of the numbers to display on the screen and I can do tests, put a link for me to see what type of number source to approximate a test.

Regards  juguete
Reply
#9
0
Hello,
I need just numbers and decimal point only to display. The size of the fonts I need is around 25mm to 30mm in height. I am using a 5" 480x800 screen with FT811. FT811CB from Haoyu, or hotmcu.
I dont know how to make image of the fonts, but will try with screen editor 1.17.
Thank you for you support.
Rauf
Reply
#10
1
Better response on post RE: Adding custom fonts    


GD.Clear(1, 1, 1);
  GD.cmd_text(30, 29, 0, 0, "22.75");

 GD.printNfloat(400, 250, "23.25", 2, 0);
   
  GD.swap();
Hello again,

I have succeeded some how to get the reasonable font size which will suffice my requirement. Thank you for all your support.
However, a small thingi is still needs to be addressed.
When I use command GD.cmd_text, that seems perfect.
But when I use GD.printNfloat command, the decimal point seems not getting enough space between whole and friction numbers. Please see attached code and pictures.
Any guidance will be highly appreciated.

Thanks,

Rauf
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)