1
0
Fork 0
mirror of https://github.com/iNavFlight/inav-configurator.git synced 2025-07-23 16:25:19 +03:00

Merge pull request #226 from fiam/osd_images

Split OSD character maps into images
This commit is contained in:
Paweł Spychalski 2017-08-28 11:16:22 +02:00 committed by GitHub
commit 8d4ec83e65
537 changed files with 15012 additions and 14969 deletions

View file

@ -19573,7 +19573,6 @@ SYM.AH_CENTER_LINE_RIGHT = 0x27;
SYM.AH_CENTER = 0x7E; SYM.AH_CENTER = 0x7E;
SYM.AH_BAR9_0 = 0x80; SYM.AH_BAR9_0 = 0x80;
SYM.AH_DECORATION = 0x13; SYM.AH_DECORATION = 0x13;
SYM.LOGO = 0xA0;
SYM.AMP = 0x9A; SYM.AMP = 0x9A;
SYM.MAH = 0x07; SYM.MAH = 0x07;
SYM.METRE = 0xC; SYM.METRE = 0xC;
@ -19589,6 +19588,7 @@ SYM.DIST_TO_HOME = 0xA0;
SYM.HEADING1 = 0xA9; SYM.HEADING1 = 0xA9;
SYM.HEADING2 = 0xA8; SYM.HEADING2 = 0xA8;
SYM.VARIO = 0x9F; SYM.VARIO = 0x9F;
SYM.LAST_CHAR = 189;
var FONT = FONT || {}; var FONT = FONT || {};
@ -19773,7 +19773,7 @@ FONT.upload = function ($progress) {
FONT.preview = function ($el) { FONT.preview = function ($el) {
$el.empty(); $el.empty();
for (var i = 0; i < SYM.LOGO; i++) { for (var i = 0; i <= SYM.LAST_CHAR; i++) {
var url = FONT.data.character_image_urls[i]; var url = FONT.data.character_image_urls[i];
$el.append('<img src="' + url + '" title="0x' + i.toString(16) + '"></img>'); $el.append('<img src="' + url + '" title="0x' + i.toString(16) + '"></img>');
} }

1
resources/osd/.gitignore vendored Normal file
View file

@ -0,0 +1 @@
/*.png

16
resources/osd/Makefile Normal file
View file

@ -0,0 +1,16 @@
.PHONY: all clean
FONTS = default bold large
CHARMAPS = $(addsuffix .mcm, $(FONTS))
PREVIEWS = $(addsuffix .png, $(FONTS))
all: $(CHARMAPS) $(PREVIEWS)
%.mcm: % %/*.png
max7456tool -f build $< $@
%.png: %.mcm
max7456tool -f png $< $@
clean:
$(RM) $(CHARMAPS) $(PREVIEWS)

26
resources/osd/README.md Normal file
View file

@ -0,0 +1,26 @@
# OSD Font Files
This directory contains one directory per font. In each
directory, each character is named `%d%d%d.png`, where
the digits represent the character number found in the
filename.
Don't alter the .mcm files directly, those should be
only modified by altering the .png files found in its
correspondant font directory.
Character map files (.mcm) are built from the .png files
representing the characters using
[max7456toool](https://github.com/fiam/max7456tool).
The Makefile found in this directory can be used to
re-generate all character maps. It only requires
max7456toool to be found in ${PATH}. After modifying,
deleting or altering a character .png file, just run
`make` and it will automatically rebuild the affected
character sets as well as generate a preview file
named `$charset_name.png`.
Note that .mcm files MUST be manually added and committed
to the repo, while .png files MUST NOT (.gitignore is
set up to ignore them to help avoid mistakes).

File diff suppressed because it is too large Load diff

BIN
resources/osd/bold/001.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 134 B

BIN
resources/osd/bold/002.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 145 B

BIN
resources/osd/bold/003.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 137 B

BIN
resources/osd/bold/004.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 173 B

BIN
resources/osd/bold/005.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 122 B

BIN
resources/osd/bold/006.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 149 B

BIN
resources/osd/bold/007.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 164 B

BIN
resources/osd/bold/008.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 141 B

BIN
resources/osd/bold/009.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 155 B

BIN
resources/osd/bold/010.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 159 B

BIN
resources/osd/bold/011.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 117 B

BIN
resources/osd/bold/012.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 126 B

BIN
resources/osd/bold/013.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 166 B

BIN
resources/osd/bold/014.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 166 B

BIN
resources/osd/bold/015.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 147 B

BIN
resources/osd/bold/016.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 150 B

BIN
resources/osd/bold/017.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 144 B

BIN
resources/osd/bold/018.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 144 B

BIN
resources/osd/bold/019.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 147 B

BIN
resources/osd/bold/020.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 141 B

BIN
resources/osd/bold/021.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 148 B

BIN
resources/osd/bold/022.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 154 B

BIN
resources/osd/bold/023.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 141 B

BIN
resources/osd/bold/024.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 130 B

BIN
resources/osd/bold/025.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 153 B

BIN
resources/osd/bold/026.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 141 B

BIN
resources/osd/bold/027.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 150 B

BIN
resources/osd/bold/028.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 114 B

BIN
resources/osd/bold/029.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 111 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 374 B

BIN
resources/osd/bold/033.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 127 B

BIN
resources/osd/bold/034.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 129 B

BIN
resources/osd/bold/035.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 134 B

BIN
resources/osd/bold/036.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 129 B

BIN
resources/osd/bold/037.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 154 B

BIN
resources/osd/bold/038.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 122 B

BIN
resources/osd/bold/039.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 122 B

BIN
resources/osd/bold/040.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 149 B

BIN
resources/osd/bold/041.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 143 B

BIN
resources/osd/bold/042.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 157 B

BIN
resources/osd/bold/043.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 138 B

BIN
resources/osd/bold/044.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 122 B

BIN
resources/osd/bold/045.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 113 B

BIN
resources/osd/bold/046.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 112 B

BIN
resources/osd/bold/047.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 145 B

BIN
resources/osd/bold/048.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 143 B

BIN
resources/osd/bold/049.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 129 B

BIN
resources/osd/bold/050.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 164 B

BIN
resources/osd/bold/051.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 162 B

BIN
resources/osd/bold/052.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 152 B

BIN
resources/osd/bold/053.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 155 B

BIN
resources/osd/bold/054.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 158 B

BIN
resources/osd/bold/055.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 150 B

BIN
resources/osd/bold/056.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 151 B

BIN
resources/osd/bold/057.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 163 B

BIN
resources/osd/bold/058.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 117 B

BIN
resources/osd/bold/059.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 138 B

BIN
resources/osd/bold/060.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 154 B

BIN
resources/osd/bold/061.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 115 B

BIN
resources/osd/bold/062.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 155 B

BIN
resources/osd/bold/064.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 179 B

BIN
resources/osd/bold/065.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 142 B

BIN
resources/osd/bold/066.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 140 B

BIN
resources/osd/bold/067.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 159 B

BIN
resources/osd/bold/068.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 143 B

BIN
resources/osd/bold/069.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 149 B

BIN
resources/osd/bold/070.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 142 B

BIN
resources/osd/bold/071.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 154 B

BIN
resources/osd/bold/072.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 141 B

BIN
resources/osd/bold/073.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 117 B

BIN
resources/osd/bold/074.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 144 B

BIN
resources/osd/bold/075.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 151 B

BIN
resources/osd/bold/076.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 135 B

BIN
resources/osd/bold/077.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 151 B

BIN
resources/osd/bold/078.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 144 B

BIN
resources/osd/bold/079.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 146 B

BIN
resources/osd/bold/080.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 149 B

BIN
resources/osd/bold/081.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 156 B

BIN
resources/osd/bold/082.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 147 B

BIN
resources/osd/bold/083.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 165 B

BIN
resources/osd/bold/084.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 145 B

BIN
resources/osd/bold/085.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 142 B

BIN
resources/osd/bold/086.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 142 B

BIN
resources/osd/bold/087.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 150 B

BIN
resources/osd/bold/088.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 161 B

BIN
resources/osd/bold/089.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 145 B

BIN
resources/osd/bold/090.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 157 B

BIN
resources/osd/bold/091.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 139 B

BIN
resources/osd/bold/092.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 146 B

BIN
resources/osd/bold/093.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 139 B

BIN
resources/osd/bold/094.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 132 B

BIN
resources/osd/bold/095.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 123 B

BIN
resources/osd/bold/096.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 153 B

BIN
resources/osd/bold/097.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 150 B

BIN
resources/osd/bold/098.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 158 B

Some files were not shown because too many files have changed in this diff Show more