S1D13700 fonts
S1D13700 fonts
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.
- tihomir.losic
- mikroElektronika team
- Posts: 2138
- Joined: 02 Dec 2009 14:16
- Location: Serbia
- Contact:
Re: S1D13700 fonts
Hello,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?
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]
Re: S1D13700 fonts
Hello Losic,tihomir.losic wrote:Hello,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?
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
I am using 320x240 GLCD with RA8835 (S1D13700). Can I add a font to my Project?
- aleksa.jovanovic
- Posts: 526
- Joined: 30 Jun 2015 08:48
Re: S1D13700 fonts
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
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
Re: S1D13700 fonts
Hi dear Jonanovic,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
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?
- aleksa.jovanovic
- Posts: 526
- Joined: 30 Jun 2015 08:48
Re: S1D13700 fonts
The VGLCD automatically uses the system fonts up to 255 characters.
You can generate your own fonts using GLCD font creator.
Best regards,
ALeksa
You can generate your own fonts using GLCD font creator.
Best regards,
ALeksa
Re: S1D13700 fonts
Dear Aleksa,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
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.
- lana.arsic
- mikroElektronika team
- Posts: 1715
- Joined: 15 Jan 2016 12:50
Re: S1D13700 fonts
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
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
Re: S1D13700 fonts
Hello Lana,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
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 347 times
-
- 20160116_172536.jpg (218.35 KiB) Viewed 24018 times
- lana.arsic
- mikroElektronika team
- Posts: 1715
- Joined: 15 Jan 2016 12:50
Re: S1D13700 fonts
Hi,
I send you in attachment edited code.
Best regards,
Lana
I send you in attachment edited code.
Best regards,
Lana
- Attachments
-
- S1D13700.7z
- (68.96 KiB) Downloaded 317 times
Re: S1D13700 fonts
Dear Lana,lana.arsic wrote:Hi,
I send you in attachment edited code.
Best regards,
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?
- lana.arsic
- mikroElektronika team
- Posts: 1715
- Joined: 15 Jan 2016 12:50
Re: S1D13700 fonts
Hi,
I send you in attachment edited code. I've tried and it works.
Best regards,
Lana
I send you in attachment edited code. I've tried and it works.
Best regards,
Lana
- Attachments
-
- S1D13700.zip
- (140.95 KiB) Downloaded 298 times
Re: S1D13700 fonts
Hello dear Lana,lana.arsic wrote:Hi,
I send you in attachment edited code. I've tried and it works.
Best regards,
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..
- lana.arsic
- mikroElektronika team
- Posts: 1715
- Joined: 15 Jan 2016 12:50
Re: S1D13700 fonts
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
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 226 times
-
- MikroElektronika.jpg (114.99 KiB) Viewed 21675 times
Re: S1D13700 fonts
Dear Lana,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
it worked my font file was wrong. i created for KS0108 controller. I have to use new GLCD library. Thanks for your help.