Turkish or Special characters on Visual TFT

General discussion on Visual TFT Software.
Post Reply
Author
Message
obuyuk
Posts: 16
Joined: 14 Aug 2015 12:35

Turkish or Special characters on Visual TFT

#1 Post by obuyuk » 01 Sep 2015 12:15

Hi everyone!

I am working on a user interface that will be in Turkish language. However, I am not able to print Turkish characters on TFT screen like "ü", "ş", "ı", "ö" etc. These characters are not printed even if they are included in the font I used. Are there any way to print those characters?

aCkO
Posts: 1119
Joined: 14 Feb 2011 04:07
Location: Bar, Montenegro

Re: Turkish or Special characters on Visual TFT

#2 Post by aCkO » 01 Sep 2015 12:19


obuyuk
Posts: 16
Joined: 14 Aug 2015 12:35

Re: Turkish or Special characters on Visual TFT

#3 Post by obuyuk » 01 Sep 2015 12:26

Thank you so much man. Is that compatible with ARM?

aCkO
Posts: 1119
Joined: 14 Feb 2011 04:07
Location: Bar, Montenegro

Re: Turkish or Special characters on Visual TFT

#4 Post by aCkO » 01 Sep 2015 12:30

Yes, it works with all mE compilers.

Regards

obuyuk
Posts: 16
Joined: 14 Aug 2015 12:35

Re: Turkish or Special characters on Visual TFT

#5 Post by obuyuk » 01 Sep 2015 14:21

Thank you again. :)

obuyuk
Posts: 16
Joined: 14 Aug 2015 12:35

Re: Turkish or Special characters on Visual TFT

#6 Post by obuyuk » 01 Sep 2015 16:00

Sorry bothering you again but I did not understand how to add the font that extracted from your Font Generator.

aCkO
Posts: 1119
Joined: 14 Feb 2011 04:07
Location: Bar, Montenegro

Re: Turkish or Special characters on Visual TFT

#7 Post by aCkO » 01 Sep 2015 16:05

Just replace VTFT generated code in source file/unit with the one generated by CP Font Generator.

Regards

obuyuk
Posts: 16
Joined: 14 Aug 2015 12:35

Re: Turkish or Special characters on Visual TFT

#8 Post by obuyuk » 01 Sep 2015 16:16

Got it. But the problem is the Open_Sans_Regular font used for the size 22 in Visual TFT has 25x37 dimensions and the Open_Sans_Regular font for the size 22 in Code Generator has 26x30. After I copied the generated code to the resource file and try to run the program, the letters are not seen on the screen.

Best regards.

aCkO
Posts: 1119
Joined: 14 Feb 2011 04:07
Location: Bar, Montenegro

Re: Turkish or Special characters on Visual TFT

#9 Post by aCkO » 01 Sep 2015 16:37

Don't worry about the difference in bitmap size. This is perfectly normal since different character set is exported. Unlike VTFT, CP Font Generator also performs bitmap optimization which ensures the minimal size of font bitmaps. Post your test VTFT project here and I'll check.

Regards

obuyuk
Posts: 16
Joined: 14 Aug 2015 12:35

Re: Turkish or Special characters on Visual TFT

#10 Post by obuyuk » 02 Sep 2015 06:43

Here is my test code. Thank you for help.
Attachments
Deger Girme Deneme.zip
(686.87 KiB) Downloaded 204 times

obuyuk
Posts: 16
Joined: 14 Aug 2015 12:35

Re: Turkish or Special characters on Visual TFT

#11 Post by obuyuk » 03 Sep 2015 08:40

I solved the issue with your program now. Thank you :)
Best regards.

aCkO
Posts: 1119
Joined: 14 Feb 2011 04:07
Location: Bar, Montenegro

Re: Turkish or Special characters on Visual TFT

#12 Post by aCkO » 04 Sep 2015 02:27

Sorry for not being able to respond sooner. I'm glad you managed to solve the problem without assistance :)

Regards

KalipSoo
Posts: 7
Joined: 26 Jul 2022 10:43

Re: Turkish or Special characters on Visual TFT

#13 Post by KalipSoo » 23 Sep 2022 13:40

aCkO wrote:
04 Sep 2015 02:27
Sorry for not being able to respond sooner. I'm glad you managed to solve the problem without assistance :)

Regards
hello, sorry, perhaps, for a banal problem with the Russian (Ukrainian) language - it does not display characters on the display of riverdi 7 with stm32f4 !
I use font generator -> choose code page (1251) Cyrilic-> range 32-255-> generate -> paste content into resource.c file - don't touch first line with font name? but not work!

P.S. Спасибо за помощь
Проект прилагаю
Attachments
0-02-05-534a4f9803629da1a9b582750b2e8047d1a07a78aa8f47611e353ab83880bdfb_7cbe4291dd09b186.jpg
0-02-05-534a4f9803629da1a9b582750b2e8047d1a07a78aa8f47611e353ab83880bdfb_7cbe4291dd09b186.jpg (52.12 KiB) Viewed 1674 times
переход.JPG
переход.JPG (24.26 KiB) Viewed 1674 times
STM32F107VC FT812 test.rar
(399.65 KiB) Downloaded 48 times

forrestmayo
Posts: 1
Joined: 22 Dec 2023 07:21

Re: Turkish or Special characters on Visual TFT

#14 Post by forrestmayo » 22 Dec 2023 07:24

I've finally resolved the problem with your software. Many thanks. pico park

Post Reply

Return to “Visual TFT General”