Skip to content

Commit a1d16be

Browse files
fixed simplex default height to address issue of making letters fit 1 unit exactly.
1 parent 7a3621f commit a1d16be

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

packages/dev/base/lib/api/models/simplex.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
// { [ascii code]: [width, x, y, ...] } - undefined value as path separator
55

66
export const simplex = {
7-
height: 14,
7+
height: 21,
88
32: [16],
99
33: [10, 5, 21, 5, 7, undefined, 5, 2, 4, 1, 5, 0, 6, 1, 5, 2],
1010
34: [16, 4, 21, 4, 14, undefined, 12, 21, 12, 14],
@@ -108,7 +108,7 @@ export const defaultsVectorParams = {
108108
input: "?",
109109
align: "left",
110110
font: simplex,
111-
height: 14, // == old vector_xxx simplex font height
111+
height: 21, // == old vector_xxx simplex font height
112112
lineSpacing: 2.142857142857143, // == 30/14 == old vector_xxx ratio
113113
letterSpacing: 1,
114114
extrudeOffset: 0

0 commit comments

Comments
 (0)