diff options
author | d1ngd0 <paul.david.montag@gmail.com> | 2018-12-17 16:26:42 -0600 |
---|---|---|
committer | Kurt Jung <kurt.w.jung@gmail.com> | 2018-12-17 17:26:42 -0500 |
commit | 55a774389a811b454a9ee3dfa78bd28fc5d0ab18 (patch) | |
tree | ec312ff7e022151f5f0b97bfcbcaf452e5ba62f5 /def.go | |
parent | 580543bbbf6ba6a65b8aa9cdbf7d15069d651cb5 (diff) |
Fixed id collisions with fonts when encoding and decoding (#220)
- Made font id a string which is a sha1 sum of the contents of the json
file.
Diffstat (limited to 'def.go')
-rw-r--r-- | def.go | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -681,9 +681,9 @@ type fontDefType struct { File string // "Redressed.z" Size1, Size2 int // Type1 values OriginalSize int // Size of uncompressed font file - I int // 1-based position in font list, set by font loader, not this program N int // Set by font loader DiffN int // Position of diff in app array, set by font loader + i string // 1-based position in font list, set by font loader, not this program } type fontInfoType struct { |