GLCD Font Creator 1.1.0 - mikroElektronika Edition

General discussion on mikroC PRO for PIC.
Author
Message
octal
Posts: 534
Joined: 09 Feb 2005 14:15
Location: France
Contact:

GLCD Font Creator 1.1.0 - mikroElektronika Edition

#1 Post by octal » 08 Nov 2009 05:34

Please, read detailed post at

http://www.mikroe.com/forum/viewtopic.p ... 694#112694

Regards
octal
http://www.pocketmt.com

underworldman
Posts: 270
Joined: 29 Jan 2010 16:36

Re: GLCD Font Creator 1.1.0 - mikroElektronika Edition

#2 Post by underworldman » 11 May 2010 17:13

Octal,

Does this work with mikroC PRO? :mrgreen: And can it create things like buttons when the glcd is used together with a touch screen?

Thanks in advance.

CS
Posts: 357
Joined: 20 Dec 2005 23:30
Location: Germany

Re: GLCD Font Creator 1.1.0 - mikroElektronika Edition

#3 Post by CS » 08 Aug 2010 20:39

Hi all,

the GLCD Font Creator 1.1.0 doesn't work correct. For example I can't see the buttons on the export screen (I'm using Windows 7 32 bit). Also I look for the possibility to generate fonts with fixed with! In the FAQ of the help file I found the following:
7- Can I create fonts with variable chars width?

Yes of course. But in design time, all chars are the same width. At EXPORT TIME you can choose to export your fonts in FIXED font width or in PROPORTIONAL font width (in this later case, jump tables are automatically computed and inserted in generated source code).
Where can I choose to export my fonts in FIXED width?

Is there support for this software or is the GLCD Font Creator-Project dead?

Thanks
CS

octal
Posts: 534
Joined: 09 Feb 2005 14:15
Location: France
Contact:

Re: GLCD Font Creator 1.1.0 - mikroElektronika Edition

#4 Post by octal » 11 Aug 2010 15:59

underworldman wrote:Octal,

Does this work with mikroC PRO? :mrgreen: And can it create things like buttons when the glcd is used together with a touch screen?

Thanks in advance.
Yes it works with any mikroElektronika compiler including mikroC. For buttons, you can simply draw them as a char, you can make your own font containing only symbols to represent buttons, check boxes, ... and use XGLCD lib to render them to screen.

Regards
http://www.pocketmt.com

octal
Posts: 534
Joined: 09 Feb 2005 14:15
Location: France
Contact:

Re: GLCD Font Creator 1.1.0 - mikroElektronika Edition

#5 Post by octal » 11 Aug 2010 16:00

CS wrote:
Is there support for this software or is the GLCD Font Creator-Project dead?
I already answered all your questions by email directly, and NO THIS PROJECT IS NOT DEAD!
http://www.pocketmt.com

CS
Posts: 357
Joined: 20 Dec 2005 23:30
Location: Germany

Re: GLCD Font Creator 1.1.0 - mikroElektronika Edition

#6 Post by CS » 11 Aug 2010 17:35

octal wrote:
CS wrote:
Is there support for this software or is the GLCD Font Creator-Project dead?
I already answered all your questions by email directly, and NO THIS PROJECT IS NOT DEAD!
Hi octal,

yes, you have answered all my questions via mail. Have a look at the date! I send this post at 8. of August. After 2 days I send my questions to you because the Forum for the software is locked.

Maybe you can post here in this forum what you mailed me, so everyone knows about the stand of GLCD font creator.

Best reguards

CS

nigelmercier
Posts: 316
Joined: 23 Oct 2008 09:36

Re: GLCD Font Creator 1.1.0 - mikroElektronika Edition

#7 Post by nigelmercier » 08 Sep 2010 12:26

underworldman wrote:Yes it works with any mikroElektronika compiler including mikroC...
I use this a lot, and it's great. I'd like to suggest a few enhancements:

[1] Remember the last settings for which characters are Imported from a System Font
[2] Remember the last settings for Export (which program, and which format)
[3] When using the editor, it would be really handy if the cursor size could be increased and decreased, say 2x2 pixels, 3x3 pixels etc, perhaps using PageUp and PageDown? When you've got a lot of pixels to change, a bigger "brush" is much easier.
[4] I often create characters more than 8 pixels high, and draw them one line at a time. As a result, they are saved in 8-pixel high slices. Being able to delete the top or bottom 8 rows at a time would be real handy.

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

Re: GLCD Font Creator 1.1.0 - mikroElektronika Edition

#8 Post by Vineyards » 03 Jan 2011 12:39

Do you have any plans to support S1D13700?

LGR
Posts: 3204
Joined: 23 Sep 2004 20:07

Re: GLCD Font Creator 1.1.0 - mikroElektronika Edition

#9 Post by LGR » 07 Sep 2012 18:06

I don't know the particulars of the S1D13700 graphics format, but generally, monochrome GLCDs are either 1 byte horizontal (T6963c) or vertical (KS0107). You should be able to use this tool in one of those formats, and end up with a constant array that will work with your device.

What I did when I created characters for the ST7565 is I created a quick character set, and then looked at the output to see if the format was what I was expecting. You may have to do some post-editing.

IMPORTANT: the tool produces proportional spacing fonts! The first byte is the number of bytes, and the bytes after are the actual character. You can chose to display the characters either way, but the proportional spacing looks a lot better, and uses the LCD area more efficiently.
If you know what you're doing, you're not learning anything.

nigelmercier
Posts: 316
Joined: 23 Oct 2008 09:36

Re: GLCD Font Creator 1.1.0 - mikroElektronika Edition

#10 Post by nigelmercier » 10 Sep 2012 14:05

LGR wrote:IMPORTANT: the tool produces proportional spacing fonts!
Is it possible to use it for fixed width fonts?

LGR
Posts: 3204
Joined: 23 Sep 2004 20:07

Re: GLCD Font Creator 1.1.0 - mikroElektronika Edition

#11 Post by LGR » 10 Sep 2012 15:23

You have to manually edit it, and remove the width. But the choice between how to display fixed and proportional is in you code. It's just as easy to do it proportional.
If you know what you're doing, you're not learning anything.

HyperUniverse
Posts: 282
Joined: 17 Jun 2009 10:42

Re: GLCD Font Creator 1.1.0 - mikroElektronika Edition

#12 Post by HyperUniverse » 10 Apr 2014 10:40

There is something WRONG with the new GLCD Font Creator 1.2.0 (10 April 2014).
I have created a degree sign, but there is no way to save it.
Or to generate it.
That is......
after creating my character on the layout form, there is no possibility to generate the code for it.

Export for GLCD button, is just giving me a list of various characters, but not the one I just created.
Saving the font project......does not save anything!!! And yes I run the program as an Administrator in Win7!

WHO is playing with our time?
I want my money back!!!!!!

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

Re: GLCD Font Creator 1.1.0 - mikroElektronika Edition

#13 Post by filip » 11 Apr 2014 13:34

Hi,
Export for GLCD button, is just giving me a list of various characters, but not the one I just created.
When you press Export for GLCD button, the window with the generated code for the chosen font will open (for the three compilers).
Just copy/paste this code into your project and you can use it.
Saving the font project......does not save anything!!! And yes I run the program as an Administrator in Win7!
Please, run the GLCD Font Creator in Windows XP compatibility mode.
There is an issue with saving the fonts under Windows 7.

I apologize for the inconvenience caused by this.

Regards,
Filip.

LGR
Posts: 3204
Joined: 23 Sep 2004 20:07

Re: GLCD Font Creator 1.1.0 - mikroElektronika Edition

#14 Post by LGR » 11 Apr 2014 14:18

Filip,

This is sort of wandering off topic, but with all of this code written for XP, and Microsoft pulling the plug on XP, maybe this is a good time for mE to get serious about making Linux versions of everything. Right now, I'm migrating everything to Linux, and the only reason I'm keeping my XP box is mP.
If you know what you're doing, you're not learning anything.

HyperUniverse
Posts: 282
Joined: 17 Jun 2009 10:42

Re: GLCD Font Creator 1.1.0 - mikroElektronika Edition

#15 Post by HyperUniverse » 14 Apr 2014 14:12

When you press Export for GLCD button, the window with the generated code for the chosen font will open (for the three compilers).
Just copy/paste this code into your project and you can use it.
As I said before:
Export for GLCD button, is just giving me a list of various characters, but not the one I just created.
And looking at the code generated for these characters (that I don't want, by the way), there is nothing generated. All 00!!!!
Next I attach my generated code for degrees sign.
And the same output is for a tick sign.

Code: Select all

//WARNING: This Font is usable only with MikroE GLCD Lib.
//         X-GLCD Lib does not handle this font.

//Font Generated by MikroElektronika GLCD Font Creator 1.2.0.0
//MikroeElektronika 2011 
//http://www.mikroe.com 

//GLCD FontName : degrees5x7
//GLCD FontSize : 5 x 7

const unsigned short degrees5x7[] = {
        0x00, 0x00, 0x00, 0x00, 0x00,            // Code for char  
        0x00, 0x00, 0x00, 0x00, 0x00,            // Code for char !
        0x00, 0x00, 0x00, 0x00, 0x00,            // Code for char "
        0x00, 0x00, 0x00, 0x00, 0x00,            // Code for char #
        0x00, 0x00, 0x00, 0x00, 0x00,            // Code for char $
        0x00, 0x00, 0x00, 0x00, 0x00,            // Code for char %
        0x00, 0x00, 0x00, 0x00, 0x00,            // Code for char &
        0x00, 0x00, 0x00, 0x00, 0x00,            // Code for char '
        0x00, 0x00, 0x00, 0x00, 0x00,            // Code for char (
        0x00, 0x00, 0x00, 0x00, 0x00,            // Code for char )
        0x00, 0x00, 0x00, 0x00, 0x00,            // Code for char *
        0x00, 0x00, 0x00, 0x00, 0x00,            // Code for char +
        0x00, 0x00, 0x00, 0x00, 0x00,            // Code for char ,
        0x00, 0x00, 0x00, 0x00, 0x00,            // Code for char -
        0x00, 0x00, 0x00, 0x00, 0x00,            // Code for char .
        0x00, 0x00, 0x00, 0x00, 0x00,            // Code for char /
        0x00, 0x00, 0x00, 0x00, 0x00,            // Code for char 0
        0x00, 0x00, 0x00, 0x00, 0x00,            // Code for char 1
        0x00, 0x00, 0x00, 0x00, 0x00,            // Code for char 2
        0x00, 0x00, 0x00, 0x00, 0x00,            // Code for char 3
        0x00, 0x00, 0x00, 0x00, 0x00,            // Code for char 4
        0x00, 0x00, 0x00, 0x00, 0x00,            // Code for char 5
        0x00, 0x00, 0x00, 0x00, 0x00,            // Code for char 6
        0x00, 0x00, 0x00, 0x00, 0x00,            // Code for char 7
        0x00, 0x00, 0x00, 0x00, 0x00,            // Code for char 8
        0x00, 0x00, 0x00, 0x00, 0x00,            // Code for char 9
        0x00, 0x00, 0x00, 0x00, 0x00,            // Code for char :
        0x00, 0x00, 0x00, 0x00, 0x00,            // Code for char ;
        0x00, 0x00, 0x00, 0x00, 0x00,            // Code for char <
        0x00, 0x00, 0x00, 0x00, 0x00,            // Code for char =
        0x00, 0x00, 0x00, 0x00, 0x00,            // Code for char >
        0x00, 0x00, 0x00, 0x00, 0x00,            // Code for char ?
        0x00, 0x00, 0x00, 0x00, 0x00,            // Code for char @
        0x00, 0x00, 0x00, 0x00, 0x00,            // Code for char A
        0x00, 0x00, 0x00, 0x00, 0x00,            // Code for char B
        0x00, 0x00, 0x00, 0x00, 0x00,            // Code for char C
        0x00, 0x00, 0x00, 0x00, 0x00,            // Code for char D
        0x00, 0x00, 0x00, 0x00, 0x00,            // Code for char E
        0x00, 0x00, 0x00, 0x00, 0x00,            // Code for char F
        0x00, 0x00, 0x00, 0x00, 0x00,            // Code for char G
        0x00, 0x00, 0x00, 0x00, 0x00,            // Code for char H
        0x00, 0x00, 0x00, 0x00, 0x00,            // Code for char I
        0x00, 0x00, 0x00, 0x00, 0x00,            // Code for char J
        0x00, 0x00, 0x00, 0x00, 0x00,            // Code for char K
        0x00, 0x00, 0x00, 0x00, 0x00,            // Code for char L
        0x00, 0x00, 0x00, 0x00, 0x00,            // Code for char M
        0x00, 0x00, 0x00, 0x00, 0x00,            // Code for char N
        0x00, 0x00, 0x00, 0x00, 0x00,            // Code for char O
        0x00, 0x00, 0x00, 0x00, 0x00,            // Code for char P
        0x00, 0x00, 0x00, 0x00, 0x00,            // Code for char Q
        0x00, 0x00, 0x00, 0x00, 0x00,            // Code for char R
        0x00, 0x00, 0x00, 0x00, 0x00,            // Code for char S
        0x00, 0x00, 0x00, 0x00, 0x00,            // Code for char T
        0x00, 0x00, 0x00, 0x00, 0x00,            // Code for char U
        0x00, 0x00, 0x00, 0x00, 0x00,            // Code for char V
        0x00, 0x00, 0x00, 0x00, 0x00,            // Code for char W
        0x00, 0x00, 0x00, 0x00, 0x00,            // Code for char X
        0x00, 0x00, 0x00, 0x00, 0x00,            // Code for char Y
        0x00, 0x00, 0x00, 0x00, 0x00,            // Code for char Z
        0x00, 0x00, 0x00, 0x00, 0x00,            // Code for char [
        0x00, 0x00, 0x00, 0x00, 0x00,            // Code for char BackSlash
        0x00, 0x00, 0x00, 0x00, 0x00,            // Code for char ]
        0x00, 0x00, 0x00, 0x00, 0x00,            // Code for char ^
        0x00, 0x00, 0x00, 0x00, 0x00,            // Code for char _
        0x00, 0x00, 0x00, 0x00, 0x00,            // Code for char `
        0x00, 0x00, 0x00, 0x00, 0x00,            // Code for char a
        0x00, 0x00, 0x00, 0x00, 0x00,            // Code for char b
        0x00, 0x00, 0x00, 0x00, 0x00,            // Code for char c
        0x00, 0x00, 0x00, 0x00, 0x00,            // Code for char d
        0x00, 0x00, 0x00, 0x00, 0x00,            // Code for char e
        0x00, 0x00, 0x00, 0x00, 0x00,            // Code for char f
        0x00, 0x00, 0x00, 0x00, 0x00,            // Code for char g
        0x00, 0x00, 0x00, 0x00, 0x00,            // Code for char h
        0x00, 0x00, 0x00, 0x00, 0x00,            // Code for char i
        0x00, 0x00, 0x00, 0x00, 0x00,            // Code for char j
        0x00, 0x00, 0x00, 0x00, 0x00,            // Code for char k
        0x00, 0x00, 0x00, 0x00, 0x00,            // Code for char l
        0x00, 0x00, 0x00, 0x00, 0x00,            // Code for char m
        0x00, 0x00, 0x00, 0x00, 0x00,            // Code for char n
        0x00, 0x00, 0x00, 0x00, 0x00,            // Code for char o
        0x00, 0x00, 0x00, 0x00, 0x00,            // Code for char p
        0x00, 0x00, 0x00, 0x00, 0x00,            // Code for char q
        0x00, 0x00, 0x00, 0x00, 0x00,            // Code for char r
        0x00, 0x00, 0x00, 0x00, 0x00,            // Code for char s
        0x00, 0x00, 0x00, 0x00, 0x00,            // Code for char t
        0x00, 0x00, 0x00, 0x00, 0x00,            // Code for char u
        0x00, 0x00, 0x00, 0x00, 0x00,            // Code for char v
        0x00, 0x00, 0x00, 0x00, 0x00,            // Code for char w
        0x00, 0x00, 0x00, 0x00, 0x00,            // Code for char x
        0x00, 0x00, 0x00, 0x00, 0x00,            // Code for char y
        0x00, 0x00, 0x00, 0x00, 0x00,            // Code for char z
        0x00, 0x00, 0x00, 0x00, 0x00,            // Code for char {
        0x00, 0x00, 0x00, 0x00, 0x00,            // Code for char |
        0x00, 0x00, 0x00, 0x00, 0x00,            // Code for char }
        0x00, 0x00, 0x00, 0x00, 0x00,            // Code for char ~
        0x00, 0x00, 0x00, 0x00, 0x00             // Code for char 
        };


Saving the font project......does not save anything!!! And yes I run the program as an Administrator in Win7!
Please, run the GLCD Font Creator in Windows XP compatibility mode.
There is an issue with saving the fonts under Windows 7.
Yes, running in XP mode it does save.

Now just one issue to solve....generating my desired code.!!!!!!

And what is this, when creating a new font project, is asking you the range from - to (by default 32 to 127)?
How would I know where my degree sign would fit????

If this piece of software is indeed working, then you must be a super-genius to figure out how!
Me, a mere mortal, I can't make it work.

When you first open this software there should be a pop-out window saying:
Use this software only with an IQ of at least 177!

Post Reply

Return to “mikroC PRO for PIC General”