Skip to content
Snippets Groups Projects
Commit dadb7ca8 authored by Xavier's avatar Xavier
Browse files

Slight improvement on ouput layout for big fonts

Screenshot showing new features
parent 08753bd5
No related branches found
No related tags found
No related merge requests found
resources/IconTool.png

19.1 KiB

...@@ -83,6 +83,7 @@ SOFTWARE. ...@@ -83,6 +83,7 @@ SOFTWARE.
margin-top: 12px; margin-top: 12px;
font-size:12px; font-size:12px;
user-select: all; user-select: all;
max-width:60%;
} }
#header { #header {
margin-top: 10px; margin-top: 10px;
...@@ -312,7 +313,7 @@ const char My_Font[] PROGMEM = { ...@@ -312,7 +313,7 @@ const char My_Font[] PROGMEM = {
} }
if (notZero) { if (notZero) {
Font.output('data', ` ${charBytes.join(',')}, // ${charCode}`); Font.output('data', ` ${charBytes.join(', ')}, // ${charCode}`);
// TODO: last param width is not the best value. Need to compute the actual occupied width // TODO: last param width is not the best value. Need to compute the actual occupied width
Font.output('jump', ` ${Font.getMsB(charAddr)}, ${Font.getLsB(charAddr)}, ${Font.toHexString(charBytes.length)}, ${Font.toHexString(this.width)}, // ${charCode} `); Font.output('jump', ` ${Font.getMsB(charAddr)}, ${Font.getLsB(charAddr)}, ${Font.toHexString(charBytes.length)}, ${Font.toHexString(this.width)}, // ${charCode} `);
charAddr += charBytes.length; charAddr += charBytes.length;
......
resources/glyphEditor.png

67.1 KiB

0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment