-
Notifications
You must be signed in to change notification settings - Fork 1
/
TODO.txt
83 lines (59 loc) · 2.41 KB
/
TODO.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
•Align: left, right, center, _expand_
•[toggle]force fixed height (raise low characters)
•Add GUI elements for
[toggle] superpose_missing_accents = True
[int] accent_vertical_gap = 1
[toggle] fill_missing_with_unidecode = True
•Current replacement for chars is not consistent with the wrapping algorithm
get_char_image should be going trough the replacements itself
get_char_width should call get_char_image instead of diretly going for the data
•Current accents is not consistent with size
Maybe generate the accents by making a new image
•maybe editable tables of convertable characters to try
for example
- and longer -
«» by " and " (since unidecode turn them into << and >>)?
•wrapping algorithm bug two last characters are joined
the last character of each word loses width when it's the only one on the line
Subpixel fonts:
•Alternating line background coloration?
•Column show?
--PARTIAL--
Infos to put in the .ini (also, make it a json?):
Hsep
Vsep
Space character width
Force caps/lowercases (to indicate that the font is limited)
Baseline
Fixed width / pixel width / kerning width
Alignment (left/right/center/fill) → or put that at the app level
Use generated accents / generated oe ae
Accents vertical gap
Accents horizontal gap
Fill missing characters level :
Kerning strenght?
Kerning values? or put'em in the .json for pairs of letters
Replacements/equivalences
Accents re-position per-letter
(Interface: pairs, click on the ones to change, arrows pad on the right will affect selected ones)
Indicators of: max width and height of font
Background color
REMOVE:
Borders. Those are more for the app (rarely used except for screenshots)
--DONE--
•[toggle]force fixed width
use hsep to fix spacing
allignments? default to center (center or left - right is same)
•Auto-kerning based on pixels collisions
•Averaged version of it
HSEP-based kerning that only allows fonts to be pixel-close of HSEP pixels (it's not very good)
Algo 1: First, only based on one axis (easy-superposition)
Algo 2: Based on two axis: borders (for overhangs that get too close)
Algo 3: Blur
EDIT: done as Letters spacing:
Bounding Box
Fixed Width
Pack in X
Diagonal Touch
Set Distance
Average Area