TOP Contributors

  1. MIKROE (2752 codes)
  2. Alcides Ramos (372 codes)
  3. Shawon Shahryiar (307 codes)
  4. jm_palomino (118 codes)
  5. Bugz Bensce (90 codes)
  6. S P (73 codes)
  7. dany (71 codes)
  8. MikroBUS.NET Team (35 codes)
  9. NART SCHINACKOW (34 codes)
  10. Armstrong Subero (27 codes)

Most Downloaded

  1. Timer Calculator (139064 times)
  2. FAT32 Library (71594 times)
  3. Network Ethernet Library (56989 times)
  4. USB Device Library (47330 times)
  5. Network WiFi Library (43006 times)
  6. FT800 Library (42297 times)
  7. GSM click (29777 times)
  8. mikroSDK (27874 times)
  9. PID Library (26858 times)
  10. microSD click (26129 times)
Libstock prefers package manager

Package Manager

We strongly encourage users to use Package manager for sharing their code on Libstock website, because it boosts your efficiency and leaves the end user with no room for error. [more info]

< Back
Project

CP Font Generator

Rating:

15

Author: Aleksandar Vukelic

Last Updated: 2016-02-18

Package Version: 1.0.6.0

Category: TFT

Downloaded: 4177 times

Followed by: 6 users

License: MIT license  

This application creates font resources with non-ASCII characters from system fonts. The following code pages are supported: 1250 (Central Europe), 1251 (Cyrillic), 1252 (Latin I), 1253 (Greek), 1254 (Turkish), 1255 (Hebrew), 1256 (Arabic), 1257 (Baltic), 1258 (Vietnam) and 874 (Thai). It supports anti-aliased fonts and 2 output formats

No Abuse Reported

Do you want to subscribe in order to receive notifications regarding "CP Font Generator" changes.

Do you want to unsubscribe in order to stop receiving notifications regarding "CP Font Generator" changes.

Do you want to report abuse regarding "CP Font Generator".

  • Information
  • Comments (4)
DOWNLOAD LINK RELATED COMPILER CONTAINS
Other Compiler
  • lib
  • src
  • exa
  • hlp
  • hex
  • sch
  • pcb
  • doc

Project Blog

Since all of mE software is non-Unicode, it is not so easy to create TFT and GLCD applications for languages with non-ASCII character sets. Luckily, the operating system supports ASCII extensions called "Code Pages" which map the character codes 128-255 to the majority of other scripts. The following code pages are supported:

- 1250 (Central Europe)
- 1251 (Cyrillic)
- 1252 (Latin I)
- 1253 (Greek)
- 1254 (Turkish)
- 1255 (Hebrew)
- 1256 (Arabic)
- 1257 (Baltic)
- 1258 (Vietnam)
- 874 (Thai)

GLCD Font Creator is of great help when it comes to designing your own characters but it lacks automation, optimization speed and support for non-sequential character export. 

CP Font Generator is my humble attempt to correct these deficiencies. The idea started in an effort to help a Russian speaking user who wanted to use Cyrillic script in Visual TFT.

Before using the application, you should change the system locale (code page) to match the script you intend to use. This is done through Control Panel and detailed explanation can be found here.

In version 1.03 I added support for my own compressed font format called BitPack. CP Font Generator will create optimized character bitmaps 100x faster than GLCD Font Creator and generate up to 50% smaller code compared to Visual TFT or GLCD Font Creator. Library which supports BitPack font format can be downloaded here.

There are no instructions since the application is fairly easy to use. The code is generated for all MikroElektronika compilers.

Version history

v1.06 (2015-08-09)

- Added option to export font as resource data
-------------------------------------------------------------------------------------------------------------------------------

v1.05 (2014-01-16)

- Added support for FT800 fonts
-------------------------------------------------------------------------------------------------------------------------------

v1.04 (2013-10-02)

- Added support for anti-aliased fonts (2 bpp, 3 bpp and 4 bpp) in BitPack format
-------------------------------------------------------------------------------------------------------------------------------

v1.03 (2013-09-18)

- Added support for compressed font format I named BitPack (up to 50% reduction in font code size)
-------------------------------------------------------------------------------------------------------------------------------

v1.02 (2013-09-15)

- Added option to edit character bitmaps prior to exporting
-------------------------------------------------------------------------------------------------------------------------------

v1.01 (2013-09-02)

- Fixed a run-time error caused by some code used for debugging on a local system
-------------------------------------------------------------------------------------------------------------------------------
v1.00 (2013-09-01)

- Initial release  

Screenshot 1

Screenshot 1

Serbian Cyrillic script export

View full image
Anti-aliased fonts

Anti-aliased fonts

Support for anti-aliased fonts (2 bpp, 3 bpp and 4 bpp)

View full image
Screenshot 2

Screenshot 2

Exported code

View full image
Screenshot 3

Screenshot 3

Cyrillic script in Visual TFT application (non-Unicode)

View full image
Screenshot 4

Screenshot 4

Russian Cyrillic script on mikroMMB for PIC32

View full image

ALSO FROM THIS AUTHOR

Unicode Font Generator

5

Unicode Font Generator is an application that allows you to create and export custom character sets from the Unicode table.

[Learn More]

Timer Calculator Library

15

Run-time calculation of timer interrupt parameters

[Learn More]

NMEA Library

11

NMEA Library is designed to simplify communication with NMEA devices (GPS and other) over USART. It provides generic functions for extraction, validation and parsing of all NMEA sentences. The library uses very little ROM space and handles the NMEA protocol in memory efficient way. Examples for mC, mB and mP are included in the package.

[Learn More]