Fixed Export for symbols with 0 width in "1 per line" format

This commit is contained in:
2025-05-20 05:08:40 +03:00
parent 5fc69e9992
commit 011c24b94b
2 changed files with 1 additions and 14 deletions

View File

@@ -342,7 +342,7 @@ namespace McBitFont {
}
if (lines == 1) {
// "1 symbol per line" - closing line
if (!f.Equals(flast)) output += ",";
if (!f.Equals(flast) && f.width > 0) output += ",";
if (com && fcount > 1) {
//...with a comment
output += " // " + f.code.ToString() + " --> " + mainForm.decodeSymbol(f.code);

View File

@@ -1,28 +1,15 @@
Application:
V Implement "Save" menu
V Implement new saved font file format
Functionality:
- Context menu in symbol navigator
- Delete symbols before/after selected
- Shift all symbols on code line (change symbol codes)
- Specify starting code (extends the shift)
V "Only numbers" range in the New dialog
V "Specify range" in the New dialog
V "Single frame", "only numbers" and "specify range" as radio buttons
- Ability to make monospaced font a variable width one
V Button to Clear/Fill a block
- Undo/Redo
- Image import from a file
- Import from a text array
V Copy-paste to a symbol with different size
- Rectangle selection to mass-paint, shift and mirror pixels
V Change height of variable width fonts with ability to choose which side to add pixels to
V Make it possible to have zero width chars in VarWidth fonts
- "Packed" fonts export
V Tooltips on main form
Bugs:
V Every char changes its width to default on VarWidth font height change!
V App allows to create fonts with a gap in symbol cequence!
V File -> New does not check for unsaveed changes!