S1D13700 fonts

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

S1D13700 fonts

#1 Post by Vineyards » 01 Jan 2011 00:37

The new Epson library is good but the current font support leaves much the desire. There is a freeware library supporting MikroPascal and MikroBasic but there seems to be no support for MikroC. With this library, it seems it is possible to import and use all windows fonts and not only that different types and sizes of them all at once by issueing a font selection command at the beginning of a text_write function. Can we expect something similar for MikroC? With the current default font, text appears very small. There is no way it can be used as the way it is intended -a touch button driven menu system.

User avatar
tihomir.losic
mikroElektronika team
Posts: 2138
Joined: 02 Dec 2009 14:16
Location: Serbia
Contact:

Re: S1D13700 fonts

#2 Post by tihomir.losic » 18 Jan 2011 13:08

With this library, it seems it is possible to import and use all windows fonts and not only that different types and sizes of them all at once by issueing a font selection command at the beginning of a text_write function. Can we expect something similar for MikroC?
Hello,

I will pass that suggestion to our developers,
they will take this into consideration in our future development.

Thank you for your proposal.

Best regards,

Losic Tihomir
mikroElektronika [Support team]

MedBoy
Posts: 137
Joined: 11 Jul 2012 11:45

Re: S1D13700 fonts

#3 Post by MedBoy » 22 Oct 2015 12:02

tihomir.losic wrote:
With this library, it seems it is possible to import and use all windows fonts and not only that different types and sizes of them all at once by issueing a font selection command at the beginning of a text_write function. Can we expect something similar for MikroC?
Hello,

I will pass that suggestion to our developers,
they will take this into consideration in our future development.

Thank you for your proposal.

Best regards,

Losic Tihomir
Hello Losic,
I am using 320x240 GLCD with RA8835 (S1D13700). Can I add a font to my Project?

User avatar
aleksa.jovanovic
Posts: 526
Joined: 30 Jun 2015 08:48

Re: S1D13700 fonts

#4 Post by aleksa.jovanovic » 23 Oct 2015 13:51

Hi,

You can use the system fonts which have up to 255 characters, you can also add font in there and the VGLCD will pick them up.

Best regards,
Aleksa

MedBoy
Posts: 137
Joined: 11 Jul 2012 11:45

Re: S1D13700 fonts

#5 Post by MedBoy » 26 Oct 2015 10:48

aleksa.jovanovic wrote:Hi,

You can use the system fonts which have up to 255 characters, you can also add font in there and the VGLCD will pick them up.

Best regards,
Aleksa
Hi dear Jonanovic,
I mean, I want to add font from Windows font library. for ex big fonts. but for 320x240 glcd with S1D13700 controller. can i do it and how?

User avatar
aleksa.jovanovic
Posts: 526
Joined: 30 Jun 2015 08:48

Re: S1D13700 fonts

#6 Post by aleksa.jovanovic » 28 Oct 2015 14:53

The VGLCD automatically uses the system fonts up to 255 characters.
You can generate your own fonts using GLCD font creator.

Best regards,
ALeksa

MedBoy
Posts: 137
Joined: 11 Jul 2012 11:45

Re: S1D13700 fonts

#7 Post by MedBoy » 14 Jan 2016 15:32

aleksa.jovanovic wrote:The VGLCD automatically uses the system fonts up to 255 characters.
You can generate your own fonts using GLCD font creator.

Best regards,
ALeksa
Dear Aleksa,
I need your help. I am working on project that include 320x240 GLCD with S1D13700 controller. and i want to use windows internal big fonts. but i could not do it. i do not found any examples at internet and mikroe forum. Please can you give me an example or explain how i can do it for me? this is so important for my project. i am waiting your reply.

User avatar
lana.arsic
mikroElektronika team
Posts: 1715
Joined: 15 Jan 2016 12:50

Re: S1D13700 fonts

#8 Post by lana.arsic » 15 Jan 2016 18:11

Hi,

You can use GLCD font creator, you can download it from this link:

http://www.mikroe.com/glcd-font-creator/


Then, click on the New Font Project icon -> Import An Existing System Font. Choose whatever font and size you want. After that click on Export for GLCD icon and choose compiler you are using, then copy the .c file of that font and paste it in
_Lib_GlcdFonts.c ( _Lib_GlcdFonts.c can be founded in folder where your compiler was installed in folder name Uses). After that you can use font you have just added.

Best regards
Lana

MedBoy
Posts: 137
Joined: 11 Jul 2012 11:45

Re: S1D13700 fonts

#9 Post by MedBoy » 16 Jan 2016 16:26

lana.arsic wrote:Hi,

You can use GLCD font creator, you can download it from this link:

http://www.mikroe.com/glcd-font-creator/


Then, click on the New Font Project icon -> Import An Existing System Font. Choose whatever font and size you want. After that click on Export for GLCD icon and choose compiler you are using, then copy the .c file of that font and paste it in
_Lib_GlcdFonts.c ( _Lib_GlcdFonts.c can be founded in folder where your compiler was installed in folder name Uses). After that you can use font you have just added.

Best regards
Lana
Hello Lana,
Thanks for your help. I tried make your suggest. But i could not do it. I use mikrobasic for dspic compiler and fusion V7. I added my project that include my want font file(calibri_20.lcd file). please can u edit my project and send me back?
Attachments
S1D13700.rar
(77.14 KiB) Downloaded 345 times
20160116_172536.jpg
20160116_172536.jpg (218.35 KiB) Viewed 23942 times

User avatar
lana.arsic
mikroElektronika team
Posts: 1715
Joined: 15 Jan 2016 12:50

Re: S1D13700 fonts

#10 Post by lana.arsic » 18 Jan 2016 15:40

Hi,

I send you in attachment edited code.

Best regards,
Lana
Attachments
S1D13700.7z
(68.96 KiB) Downloaded 315 times

MedBoy
Posts: 137
Joined: 11 Jul 2012 11:45

Re: S1D13700 fonts

#11 Post by MedBoy » 18 Jan 2016 16:25

lana.arsic wrote:Hi,

I send you in attachment edited code.

Best regards,
Lana
Dear Lana,
Did you try code that your sent practical? Cuz there is no any change. your code can not write as calibri format. i made just compile your code and load hex file to mcu. should i make different things?

User avatar
lana.arsic
mikroElektronika team
Posts: 1715
Joined: 15 Jan 2016 12:50

Re: S1D13700 fonts

#12 Post by lana.arsic » 21 Jan 2016 16:37

Hi,

I send you in attachment edited code. I've tried and it works.

Best regards,
Lana
Attachments
S1D13700.zip
(140.95 KiB) Downloaded 297 times

MedBoy
Posts: 137
Joined: 11 Jul 2012 11:45

Re: S1D13700 fonts

#13 Post by MedBoy » 22 Jan 2016 12:59

lana.arsic wrote:Hi,

I send you in attachment edited code. I've tried and it works.

Best regards,
Lana
Hello dear Lana,
Unfortunately your program could not work correct. firstly, your program gave an error about font file. i added font file from your previous post. after that i compiled successfuly. but there is no any image on GLCD. i can write something with mikrobasic own font and i can show bitmap image files same GLCD . there is no any fault about hardware and software. please can you check your codes again? i am waiting your reply..

User avatar
lana.arsic
mikroElektronika team
Posts: 1715
Joined: 15 Jan 2016 12:50

Re: S1D13700 fonts

#14 Post by lana.arsic » 23 Jan 2016 12:07

Hello,

I'm sorry for inconvenience caused by this issue. Here is the whole project (with font file, sorry for not adding it in previous post).

And yes, I've tried it shows text in Calibri font, size 20, like you wanted. Look at the image bellow.

If there is no image on the screen, set contrast with GLCD potentiometer at the board. If you still have a problem I'll suggest you to submit a ticket.

Best regards,
Lana
Attachments
S1D13700.7z
(77.57 KiB) Downloaded 224 times
MikroElektronika.jpg
MikroElektronika.jpg (114.99 KiB) Viewed 21599 times

MedBoy
Posts: 137
Joined: 11 Jul 2012 11:45

Re: S1D13700 fonts

#15 Post by MedBoy » 25 Jan 2016 07:42

lana.arsic wrote:Hello,

I'm sorry for inconvenience caused by this issue. Here is the whole project (with font file, sorry for not adding it in previous post).

And yes, I've tried it shows text in Calibri font, size 20, like you wanted. Look at the image bellow.

If there is no image on the screen, set contrast with GLCD potentiometer at the board. If you still have a problem I'll suggest you to submit a ticket.

Best regards,
Lana
Dear Lana,
it worked :) my font file was wrong. i created for KS0108 controller. I have to use new GLCD library. Thanks for your help.

Post Reply

Return to “Visual GLCD Wish List”