Turkish Font Support

Post your requests and ideas on the future development of Visual GLCD Software.
Post Reply
Author
Message
Vineyards
Posts: 73
Joined: 25 Feb 2008 22:12

Turkish Font Support

#1 Post by Vineyards » 07 Feb 2012 13:44

Currently, VGLCD supports only a portion of the English character set. This might be because of memory considerations as international fonts already exist in individual font files. We certainly need language support. Maybe, you could add a tick box to choose between full set and partial set.

Furthermore, If I place a size 14 font near the upper edge of a 128x64 LCD, I lose 5 pixels from the top row. That is probably because the fonts are not trimmed properly. For better placement, fonts must be automatically trimmed from above.

User avatar
filip
mikroElektronika team
Posts: 11874
Joined: 25 Jan 2008 09:56

Re: Turkish Font Support

#2 Post by filip » 14 Feb 2012 14:25

Hi,

Please, can you clarify this :
Currently, VGLCD supports only a portion of the English character set. This might be because of memory considerations as international fonts already exist in individual font files.
Can you use Turkish fonts ? Do they appear correctly ?
Furthermore, If I place a size 14 font near the upper edge of a 128x64 LCD, I lose 5 pixels from the top row. That is probably because the fonts are not trimmed properly. For better placement, fonts must be automatically trimmed from above.
I have noticed this and I will contact our developers to see what they can say regarding this.

Regards,
Filip.

Vineyards
Posts: 73
Joined: 25 Feb 2008 22:12

Re: Turkish Font Support

#3 Post by Vineyards » 16 Feb 2012 17:45

No. I can't use Turkish fonts. Because in the number of characters are limited to the first 127 (as far as I remember).
That means no internationalization. Perhaps you could solve this by allowing user to choose a certain number of additional characters.
A more useful solution would be getting software to analyze what characters need to be used from a font file and to convert only those characters needed. This way we could conserve memory. Just an idea.

User avatar
filip
mikroElektronika team
Posts: 11874
Joined: 25 Jan 2008 09:56

Re: Turkish Font Support

#4 Post by filip » 17 Feb 2012 13:23

Hi,
No. I can't use Turkish fonts. Because in the number of characters are limited to the first 127 (as far as I remember).
This is not true, you can set the lower and upper limit of the character set in the Font properties of the certain label that is on the screen.

Regards,
Filip.

Vineyards
Posts: 73
Joined: 25 Feb 2008 22:12

Re: Turkish Font Support

#5 Post by Vineyards » 18 Feb 2012 21:43

You can indeed set it upto 255. No matter what this is set to they will show up on the text box and on the GLCD simulation correctly. The problem is they are not displayed on the real GLCD after compiling.

Here is a list of a characters incorrectly displayed: (Based on ISO-8859-9 (Turkish) Codepage)

"ı" ("i" without the dot) ASCII code no: 253
"İ" ("I" with dot) ASCII code no: 221
"ğ" ("g" with breve) ASCII code no: 240
"Ğ" ("G" with breve) ASCII code no: 208
"ş" ("s" with cedilla) ASCII code no: 254
"Ş" ("S" with cedilla) ASCII code no: 222

However these Turkish characters print correctly:

"ç" (c with cedilla) ASCII cıde no:231
"Ç" ("Ç" with cedilla) ASCII code no:199
"ö" ("o" with umlaut) ASCII code no: 246
"Ö" ("O" with umlaut) ASCII code no:214
"ü" ("u" with umlaut) ASCII code no: 252
"Ü" ("U" with umlaut) ASCII code no: 220

It appears to me that the main software recognizes and uses Windows fonts with correct local code page but when converting them the characters are treated as if they are from the English Code Page. A few characters appear correctly but many of them are substituded with stock characters found at corresponding ASCII code numbers in the English code page.

Vineyards
Posts: 73
Joined: 25 Feb 2008 22:12

Re: Turkish Font Support

#6 Post by Vineyards » 11 Mar 2012 04:20

Hello. Is there anybody out there?

User avatar
filip
mikroElektronika team
Posts: 11874
Joined: 25 Jan 2008 09:56

Re: Turkish Font Support

#7 Post by filip » 13 Mar 2012 10:12

Hi,

I have tried using Turkish Times New Roman font downloaded from the internet and the mentioned characters are displayed well.
Which font were you using ?

Regards,
Filip.

Vineyards
Posts: 73
Joined: 25 Feb 2008 22:12

Re: Turkish Font Support

#8 Post by Vineyards » 13 Mar 2012 19:13

Dear Filip,
Thank you for your answer. I was using the standard fonts found on the Turkish version of Windows 7 64bit. Office programs etc have no problem using the fonts found on it. If you point me to the font that worked for you, that might solve my problem too.
Thank you for your help.

User avatar
filip
mikroElektronika team
Posts: 11874
Joined: 25 Jan 2008 09:56

Re: Turkish Font Support

#9 Post by filip » 14 Mar 2012 10:26

Hi,

Please find the Turkish font that I used in the attachment.

Regards,
Filip.
Attachments
Turkish_Times_New_Roman.rar
(36.58 KiB) Downloaded 282 times

Vineyards
Posts: 73
Joined: 25 Feb 2008 22:12

Re: Turkish Font Support

#10 Post by Vineyards » 15 Mar 2012 02:32

Thanks. That is interesting. It worked with this one.
It is funny I use the Turkish version of Windows 7 64bit, it is a standard licensed version but none of the Turkish fonts that originally came with it works with VGLCD. There may be a trick I am missing here.

Where did you get this one?

Thanks for your help.

User avatar
filip
mikroElektronika team
Posts: 11874
Joined: 25 Jan 2008 09:56

Re: Turkish Font Support

#11 Post by filip » 15 Mar 2012 10:44

Hi,

I have searched for the Turkish font on the Google and this is one of the first that I have found.

Regards,
Filip.

Post Reply

Return to “Visual GLCD Wish List”