Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependents: Hexi_OLED_TextImage_Example Hexi_OLED_Text_Example Hexi_OLED_Image_Example security-console-app ... more
OpenSans_Font/OpenSans_Font.h@8:ae5fad429790, 2016-09-24 (annotated)
- Committer:
- khuang
- Date:
- Sat Sep 24 19:45:48 2016 +0000
- Revision:
- 8:ae5fad429790
- Parent:
- 6:0060ffa3f4dc
Commented out checking to see if text will fit in textbox for DrawTextBox. Font width and height specified in font information may be too much.
Who changed what in which revision?
| User | Revision | Line number | New contents of line |
|---|---|---|---|
| khuang | 5:a5b4b36a1aed | 1 | /** OpenSans Font |
| khuang | 5:a5b4b36a1aed | 2 | * This file contains the Hexiwear optimized OpenSans font. |
| khuang | 2:fc06b5b5bf6a | 3 | * |
| khuang | 5:a5b4b36a1aed | 4 | * For more information |
| khuang | 5:a5b4b36a1aed | 5 | * visit: https://github.com/google/fonts/tree/master/apache/opensans |
| khuang | 5:a5b4b36a1aed | 6 | * |
| khuang | 5:a5b4b36a1aed | 7 | * Font converted with MicroElektronika's Hexiwear Resource Collection Tool |
| khuang | 5:a5b4b36a1aed | 8 | * visit: https://github.com/MikroElektronika/HEXIWEAR/tree/master/SW/ResourceCollectionTool |
| khuang | 2:fc06b5b5bf6a | 9 | */ |
| khuang | 2:fc06b5b5bf6a | 10 | |
| khuang | 5:a5b4b36a1aed | 11 | #ifndef HG_OPENSANS_FONT |
| khuang | 5:a5b4b36a1aed | 12 | #define HG_OPENSANS_FONT |
| khuang | 0:06f42dd3eab3 | 13 | |
| khuang | 0:06f42dd3eab3 | 14 | #include <stdint.h> |
| khuang | 0:06f42dd3eab3 | 15 | |
| khuang | 5:a5b4b36a1aed | 16 | /** Max Width of Character = 12px |
| khuang | 6:0060ffa3f4dc | 17 | * Max Height of Character = 18px */ |
| khuang | 3:4121d3cd9f60 | 18 | extern const uint8_t OpenSans_12x18_Regular[]; |
| khuang | 5:a5b4b36a1aed | 19 | |
| khuang | 5:a5b4b36a1aed | 20 | /** Max Width of Character = 10px |
| khuang | 6:0060ffa3f4dc | 21 | * Max Height of Character = 15px */ |
| khuang | 3:4121d3cd9f60 | 22 | extern const uint8_t OpenSans_10x15_Regular[]; |
| khuang | 0:06f42dd3eab3 | 23 | |
| khuang | 0:06f42dd3eab3 | 24 | #endif |
| khuang | 1:3b5be0ee5f0c | 25 |