mirror of
https://github.com/TextPlace/CoreTextPlace.git
synced 2026-01-15 01:42:34 +00:00
refactor: extract render entrypoint & add cropRender function
This commit is contained in:
parent
d97546f47c
commit
c703b1870a
16 changed files with 630 additions and 181 deletions
|
|
@ -1,6 +1,6 @@
|
|||
import { it, expect } from "vitest";
|
||||
|
||||
import { getCharacterWidth } from "../src/mod.ts";
|
||||
import { getCharacterWidth } from "../src/mod";
|
||||
|
||||
it("getCharacterWidth ASCII", () => {
|
||||
expect(getCharacterWidth("a")).toBe(1);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue