canvas-recorder-lib 0.7.4 → 0.8.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/BREAKING-CHANGES.md +15 -2
- package/dev/canvas-recorder.css +5 -1
- package/dev/canvas-recorder.ts +122 -14
- package/dev/character-panel.ts +201 -0
- package/dev/format-editor.ts +36 -0
- package/dev/fourier-panel.ts +3 -2
- package/dev/multi-text-dialog.ts +31 -2
- package/dev/multi-text-panel.ts +6 -0
- package/dist/dev/canvas-recorder.css +5 -1
- package/dist/dev/canvas-recorder.js +101 -14
- package/dist/dev/canvas-recorder.js.map +1 -1
- package/dist/dev/character-panel.d.ts +43 -0
- package/dist/dev/character-panel.d.ts.map +1 -0
- package/dist/dev/character-panel.js +133 -0
- package/dist/dev/character-panel.js.map +1 -0
- package/dist/dev/format-editor.d.ts +16 -0
- package/dist/dev/format-editor.d.ts.map +1 -1
- package/dist/dev/format-editor.js +31 -0
- package/dist/dev/format-editor.js.map +1 -1
- package/dist/dev/fourier-panel.d.ts.map +1 -1
- package/dist/dev/fourier-panel.js.map +1 -1
- package/dist/dev/multi-text-dialog.d.ts +2 -0
- package/dist/dev/multi-text-dialog.d.ts.map +1 -1
- package/dist/dev/multi-text-dialog.js +26 -2
- package/dist/dev/multi-text-dialog.js.map +1 -1
- package/dist/dev/multi-text-panel.d.ts.map +1 -1
- package/dist/dev/multi-text-panel.js +6 -0
- package/dist/dev/multi-text-panel.js.map +1 -1
- package/dist/src/glib/font-choices.d.ts +61 -0
- package/dist/src/glib/font-choices.d.ts.map +1 -0
- package/dist/src/glib/font-choices.js +101 -0
- package/dist/src/glib/font-choices.js.map +1 -0
- package/dist/src/glib/letters-base.d.ts +97 -0
- package/dist/src/glib/letters-base.d.ts.map +1 -1
- package/dist/src/glib/letters-base.js +120 -18
- package/dist/src/glib/letters-base.js.map +1 -1
- package/dist/src/glib/line-font.d.ts +23 -3
- package/dist/src/glib/line-font.d.ts.map +1 -1
- package/dist/src/glib/line-font.js +40 -1
- package/dist/src/glib/line-font.js.map +1 -1
- package/dist/src/peano-fourier/fourier-shared.d.ts +32 -1
- package/dist/src/peano-fourier/fourier-shared.d.ts.map +1 -1
- package/dist/src/peano-fourier/fourier-shared.js +21 -3
- package/dist/src/peano-fourier/fourier-shared.js.map +1 -1
- package/dist/src/slide-components/fourier.d.ts +8 -3
- package/dist/src/slide-components/fourier.d.ts.map +1 -1
- package/dist/src/slide-components/fourier.js +11 -4
- package/dist/src/slide-components/fourier.js.map +1 -1
- package/dist/src/slide-components/multi-text.d.ts +24 -0
- package/dist/src/slide-components/multi-text.d.ts.map +1 -1
- package/dist/src/slide-components/multi-text.js +75 -5
- package/dist/src/slide-components/multi-text.js.map +1 -1
- package/dist/src/slide-components/registry.d.ts.map +1 -1
- package/dist/src/slide-components/registry.js +3 -2
- package/dist/src/slide-components/registry.js.map +1 -1
- package/dist/src/slide-components/simple-text.d.ts +20 -0
- package/dist/src/slide-components/simple-text.d.ts.map +1 -1
- package/dist/src/slide-components/simple-text.js +58 -5
- package/dist/src/slide-components/simple-text.js.map +1 -1
- package/internals.md +402 -406
- package/package.json +1 -1
- package/src/glib/font-choices.ts +132 -0
- package/src/glib/letters-base.ts +212 -18
- package/src/glib/line-font.ts +56 -3
- package/src/peano-fourier/fourier-shared.ts +47 -5
- package/src/slide-components/fourier.ts +19 -8
- package/src/slide-components/multi-text.ts +100 -4
- package/src/slide-components/registry.ts +3 -2
- package/src/slide-components/simple-text.ts +76 -4
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { ReadOnlyRect } from "phil-lib/misc";
|
|
2
|
+
import { FontName, MissingCharacters } from "../glib/font-choices.ts";
|
|
2
3
|
import { ColorScheduleInfo, RectangleScheduleInfo, StringScheduleInfo, NumberScheduleInfo, SelectScheduleInfo } from "../schedule-helper.ts";
|
|
3
4
|
import { ShowOptions } from "../showable.ts";
|
|
4
5
|
import { DurationAgnosticComponent } from "./duration-agnostic.ts";
|
|
@@ -9,7 +10,17 @@ export declare class TextComponent extends DurationAgnosticComponent {
|
|
|
9
10
|
readonly colorSchedule: ColorScheduleInfo;
|
|
10
11
|
readonly rectSchedule: RectangleScheduleInfo;
|
|
11
12
|
readonly textSchedule: StringScheduleInfo;
|
|
13
|
+
/**
|
|
14
|
+
* Which font: Line Font, Futura L or Cursive. See {@link FONT_NAMES}.
|
|
15
|
+
* Each font has its own set of characters.
|
|
16
|
+
*/
|
|
17
|
+
readonly fontSchedule: SelectScheduleInfo<"Line Font" | "Futura L" | "Cursive", "Line Font" | "Futura L" | "Cursive">;
|
|
12
18
|
readonly sizeSchedule: NumberScheduleInfo;
|
|
19
|
+
/**
|
|
20
|
+
* How wide the letters are, compared to normal, keeping their height. See
|
|
21
|
+
* {@link Font.stretch}.
|
|
22
|
+
*/
|
|
23
|
+
readonly fontWidthSchedule: NumberScheduleInfo;
|
|
13
24
|
readonly boldnessSchedule: NumberScheduleInfo;
|
|
14
25
|
readonly obliquenessSchedule: NumberScheduleInfo;
|
|
15
26
|
readonly alignmentSchedule: SelectScheduleInfo<"center" | "left" | "right" | "justify", "left">;
|
|
@@ -20,11 +31,20 @@ export declare class TextComponent extends DurationAgnosticComponent {
|
|
|
20
31
|
color?: string | readonly Keyframe<string>[];
|
|
21
32
|
rect?: ReadOnlyRect | readonly Keyframe<ReadOnlyRect>[];
|
|
22
33
|
text?: string | readonly Keyframe<string>[];
|
|
34
|
+
font?: FontName | readonly Keyframe<FontName>[];
|
|
23
35
|
size?: number | readonly Keyframe<number>[];
|
|
36
|
+
fontWidth?: number | readonly Keyframe<number>[];
|
|
24
37
|
boldness?: number | readonly Keyframe<number>[];
|
|
25
38
|
obliqueness?: number | readonly Keyframe<number>[];
|
|
26
39
|
alignmentSchedule?: Parameters<TextComponent["alignmentSchedule"]["set"]>[0];
|
|
27
40
|
});
|
|
41
|
+
/**
|
|
42
|
+
* Characters in Text that Font can't draw. They're left out, so they never
|
|
43
|
+
* reach the canvas. For the Visual Editor's status.
|
|
44
|
+
*
|
|
45
|
+
* Checked over the whole timeline: at every keyframe of Text and of Font.
|
|
46
|
+
*/
|
|
47
|
+
missingCharacters(): MissingCharacters[];
|
|
28
48
|
show(options: ShowOptions): void;
|
|
29
49
|
}
|
|
30
50
|
//# sourceMappingURL=simple-text.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"simple-text.d.ts","sourceRoot":"","sources":["../../../src/slide-components/simple-text.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,eAAe,CAAC;
|
|
1
|
+
{"version":3,"file":"simple-text.d.ts","sourceRoot":"","sources":["../../../src/slide-components/simple-text.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,eAAe,CAAC;AAE7C,OAAO,EAGL,QAAQ,EAER,iBAAiB,EAClB,MAAM,yBAAyB,CAAC;AAEjC,OAAO,EACL,iBAAiB,EACjB,qBAAqB,EACrB,kBAAkB,EAClB,kBAAkB,EAClB,kBAAkB,EACnB,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAC7C,OAAO,EAAE,yBAAyB,EAAE,MAAM,wBAAwB,CAAC;AACnE,OAAO,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AAY7C,qBAAa,aAAc,SAAQ,yBAAyB;;IAC1D,QAAQ,CAAC,WAAW,UAAU;IAC9B,QAAQ,CAAC,aAAa,oBAA0C;IAChE,QAAQ,CAAC,YAAY,wBAKlB;IACH,QAAQ,CAAC,YAAY,qBAA+C;IACpE;;;OAGG;IACH,QAAQ,CAAC,YAAY,iGAInB;IACF,QAAQ,CAAC,YAAY,qBAAqC;IAC1D;;;OAGG;IACH,QAAQ,CAAC,iBAAiB,qBAA2C;IACrE,QAAQ,CAAC,gBAAgB,qBAAyC;IAClE,QAAQ,CAAC,mBAAmB,qBAA4C;IACxE,QAAQ,CAAC,iBAAiB,sEAKvB;IACH,SAAkB,qBAAqB,YAAa;gBAElD,aAAa,GAAE;QACb,WAAW,CAAC,EAAE,MAAM,CAAC;QACrB,WAAW,CAAC,EAAE,MAAM,CAAC;QACrB,KAAK,CAAC,EAAE,MAAM,GAAG,SAAS,QAAQ,CAAC,MAAM,CAAC,EAAE,CAAC;QAC7C,IAAI,CAAC,EAAE,YAAY,GAAG,SAAS,QAAQ,CAAC,YAAY,CAAC,EAAE,CAAC;QACxD,IAAI,CAAC,EAAE,MAAM,GAAG,SAAS,QAAQ,CAAC,MAAM,CAAC,EAAE,CAAC;QAC5C,IAAI,CAAC,EAAE,QAAQ,GAAG,SAAS,QAAQ,CAAC,QAAQ,CAAC,EAAE,CAAC;QAChD,IAAI,CAAC,EAAE,MAAM,GAAG,SAAS,QAAQ,CAAC,MAAM,CAAC,EAAE,CAAC;QAC5C,SAAS,CAAC,EAAE,MAAM,GAAG,SAAS,QAAQ,CAAC,MAAM,CAAC,EAAE,CAAC;QACjD,QAAQ,CAAC,EAAE,MAAM,GAAG,SAAS,QAAQ,CAAC,MAAM,CAAC,EAAE,CAAC;QAChD,WAAW,CAAC,EAAE,MAAM,GAAG,SAAS,QAAQ,CAAC,MAAM,CAAC,EAAE,CAAC;QAMnD,iBAAiB,CAAC,EAAE,UAAU,CAC5B,aAAa,CAAC,mBAAmB,CAAC,CAAC,KAAK,CAAC,CAC1C,CAAC,CAAC,CAAC,CAAC;KACD;IA6CR;;;;;OAKG;IACH,iBAAiB,IAAI,iBAAiB,EAAE;IAsB/B,IAAI,CAAC,OAAO,EAAE,WAAW;CAsEnC"}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { MIN_FONT_SIZE, MIN_FONT_WIDTH } from "../glib/line-font.js";
|
|
2
|
+
import { checkCharacters, FONT_NAMES, makeFontByName, } from "../glib/font-choices.js";
|
|
2
3
|
import { ParagraphLayout } from "../glib/paragraph-layout.js";
|
|
3
4
|
import { ColorScheduleInfo, RectangleScheduleInfo, StringScheduleInfo, NumberScheduleInfo, SelectScheduleInfo, } from "../schedule-helper.js";
|
|
4
5
|
import { DurationAgnosticComponent } from "./duration-agnostic.js";
|
|
@@ -12,7 +13,17 @@ export class TextComponent extends DurationAgnosticComponent {
|
|
|
12
13
|
height: 4,
|
|
13
14
|
});
|
|
14
15
|
textSchedule = new StringScheduleInfo("Text", "Type Here");
|
|
16
|
+
/**
|
|
17
|
+
* Which font: Line Font, Futura L or Cursive. See {@link FONT_NAMES}.
|
|
18
|
+
* Each font has its own set of characters.
|
|
19
|
+
*/
|
|
20
|
+
fontSchedule = new SelectScheduleInfo("Font", "Line Font", FONT_NAMES);
|
|
15
21
|
sizeSchedule = new NumberScheduleInfo("Size", 1);
|
|
22
|
+
/**
|
|
23
|
+
* How wide the letters are, compared to normal, keeping their height. See
|
|
24
|
+
* {@link Font.stretch}.
|
|
25
|
+
*/
|
|
26
|
+
fontWidthSchedule = new NumberScheduleInfo("Font Width", 1);
|
|
16
27
|
boldnessSchedule = new NumberScheduleInfo("Boldness", 1);
|
|
17
28
|
obliquenessSchedule = new NumberScheduleInfo("Obliqueness", 0);
|
|
18
29
|
alignmentSchedule = new SelectScheduleInfo("Alignment", "left", [
|
|
@@ -27,7 +38,7 @@ export class TextComponent extends DurationAgnosticComponent {
|
|
|
27
38
|
if (initialValues.minDuration !== undefined) {
|
|
28
39
|
this.minDurationScalar.value = initialValues.minDuration;
|
|
29
40
|
}
|
|
30
|
-
this.schedules.push(this.colorSchedule, this.rectSchedule, this.textSchedule, this.sizeSchedule, this.boldnessSchedule, this.obliquenessSchedule, this.alignmentSchedule);
|
|
41
|
+
this.schedules.push(this.colorSchedule, this.rectSchedule, this.textSchedule, this.fontSchedule, this.sizeSchedule, this.fontWidthSchedule, this.boldnessSchedule, this.obliquenessSchedule, this.alignmentSchedule);
|
|
31
42
|
if (initialValues.color !== undefined) {
|
|
32
43
|
this.colorSchedule.set(initialValues.color);
|
|
33
44
|
}
|
|
@@ -37,9 +48,15 @@ export class TextComponent extends DurationAgnosticComponent {
|
|
|
37
48
|
if (initialValues.text !== undefined) {
|
|
38
49
|
this.textSchedule.set(initialValues.text);
|
|
39
50
|
}
|
|
51
|
+
if (initialValues.font !== undefined) {
|
|
52
|
+
this.fontSchedule.set(initialValues.font);
|
|
53
|
+
}
|
|
40
54
|
if (initialValues.size !== undefined) {
|
|
41
55
|
this.sizeSchedule.set(initialValues.size);
|
|
42
56
|
}
|
|
57
|
+
if (initialValues.fontWidth !== undefined) {
|
|
58
|
+
this.fontWidthSchedule.set(initialValues.fontWidth);
|
|
59
|
+
}
|
|
43
60
|
if (initialValues.boldness !== undefined) {
|
|
44
61
|
this.boldnessSchedule.set(initialValues.boldness);
|
|
45
62
|
}
|
|
@@ -50,6 +67,24 @@ export class TextComponent extends DurationAgnosticComponent {
|
|
|
50
67
|
this.alignmentSchedule.set(initialValues.alignmentSchedule);
|
|
51
68
|
}
|
|
52
69
|
}
|
|
70
|
+
/**
|
|
71
|
+
* Characters in Text that Font can't draw. They're left out, so they never
|
|
72
|
+
* reach the canvas. For the Visual Editor's status.
|
|
73
|
+
*
|
|
74
|
+
* Checked over the whole timeline: at every keyframe of Text and of Font.
|
|
75
|
+
*/
|
|
76
|
+
missingCharacters() {
|
|
77
|
+
const times = [
|
|
78
|
+
...this.textSchedule.schedule,
|
|
79
|
+
...this.fontSchedule.schedule,
|
|
80
|
+
].map(({ time }) => time);
|
|
81
|
+
return checkCharacters(times, (timeInMs) => [
|
|
82
|
+
{
|
|
83
|
+
text: this.textSchedule.at(timeInMs),
|
|
84
|
+
fontName: this.fontSchedule.at(timeInMs),
|
|
85
|
+
},
|
|
86
|
+
]);
|
|
87
|
+
}
|
|
53
88
|
#cachedFont;
|
|
54
89
|
#cachedPath;
|
|
55
90
|
show(options) {
|
|
@@ -57,17 +92,35 @@ export class TextComponent extends DurationAgnosticComponent {
|
|
|
57
92
|
const color = this.colorSchedule.at(timeInMs);
|
|
58
93
|
const rect = this.rectSchedule.at(timeInMs);
|
|
59
94
|
const text = this.textSchedule.at(timeInMs);
|
|
60
|
-
const
|
|
95
|
+
const fontName = this.fontSchedule.at(timeInMs);
|
|
96
|
+
// 0 or less can't be drawn. Too small to see is the closest thing.
|
|
97
|
+
const size = Math.max(MIN_FONT_SIZE, this.sizeSchedule.at(timeInMs) || 0);
|
|
98
|
+
// 0 or less can't be drawn. As thin as it goes is the closest thing.
|
|
99
|
+
const fontWidth = Math.max(MIN_FONT_WIDTH, this.fontWidthSchedule.at(timeInMs) || 0);
|
|
61
100
|
const boldness = this.boldnessSchedule.at(timeInMs);
|
|
62
101
|
const obliqueness = this.obliquenessSchedule.at(timeInMs);
|
|
63
102
|
const alignment = this.alignmentSchedule.at(timeInMs);
|
|
64
103
|
context.strokeStyle = color;
|
|
65
104
|
if (!this.#cachedFont ||
|
|
105
|
+
this.#cachedFont.fontName != fontName ||
|
|
66
106
|
this.#cachedFont.size != size ||
|
|
107
|
+
this.#cachedFont.fontWidth != fontWidth ||
|
|
67
108
|
this.#cachedFont.boldness != boldness ||
|
|
68
109
|
this.#cachedFont.obliqueness != obliqueness) {
|
|
69
|
-
const font =
|
|
70
|
-
|
|
110
|
+
const font = makeFontByName(fontName, {
|
|
111
|
+
size,
|
|
112
|
+
width: fontWidth,
|
|
113
|
+
boldness,
|
|
114
|
+
obliqueness,
|
|
115
|
+
});
|
|
116
|
+
this.#cachedFont = {
|
|
117
|
+
font,
|
|
118
|
+
fontName,
|
|
119
|
+
size,
|
|
120
|
+
fontWidth,
|
|
121
|
+
boldness,
|
|
122
|
+
obliqueness,
|
|
123
|
+
};
|
|
71
124
|
}
|
|
72
125
|
if (!this.#cachedPath ||
|
|
73
126
|
this.#cachedPath.cachedFont != this.#cachedFont ||
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"simple-text.js","sourceRoot":"","sources":["../../../src/slide-components/simple-text.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"simple-text.js","sourceRoot":"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