riuson / lcd-image-converter

Tool to create bitmaps and fonts for embedded applications, v.2
https://lcd-image-converter.riuson.com/
GNU General Public License v3.0
337 stars 80 forks source link

Can't get example code to work. #36

Closed riuson closed 10 years ago

riuson commented 10 years ago

From robertba...@gmail.com on September 18, 2014 19:43:56

What steps will reproduce the problem? I am trying us use the example code that is posted on the website to generate fonts. I downloaded the latest version. The structure posted on the site is as follows:

typedef struct { const unsigned char _data; uint16_t width; uint16_t height; uint8t dataSize; // ** This variable is not generated from the tool *** } tImage;

The c code that is generated does not include the "dataSize" variable and the sample code fails.

The example code on the website uses this variable.

Do I need to change my template? Please send me sample code to display fonts and images.

Thanks, Robert

Original issue: http://code.google.com/p/lcd-image-converter/issues/detail?id=36

riuson commented 10 years ago

From riu...@gmail.com on September 18, 2014 07:30:19

Page with templates updated. https://code.google.com/p/lcd-image-converter/wiki/Templates

Status: Accepted
Owner: riu...@gmail.com

riuson commented 10 years ago

From robertba...@gmail.com on September 18, 2014 17:05:23

I got it all working. This is a great program. Thanks, Robert

riuson commented 10 years ago

From riu...@gmail.com on September 18, 2014 19:17:47

Ok. Thanks.

Status: Fixed