Skip to content

Commit

Permalink
Diacritics assembly for G, L, M, N & O
Browse files Browse the repository at this point in the history
  • Loading branch information
nclslbrn committed May 17, 2024
1 parent a7b8e6f commit 76b2fea
Show file tree
Hide file tree
Showing 4 changed files with 350 additions and 10 deletions.
4 changes: 2 additions & 2 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { type Vec, Line, Glyph, Font } from "./type";
import lowercase from "./lowercase/index";
import uppercase from "./uppercase/index";
import ponctuation from "./poncuation";
import number from './number';
import number from "./number";

const font = { ...lowercase, ...uppercase, ...ponctuation, ...number } as Font;

Expand Down Expand Up @@ -49,7 +49,7 @@ const getGlyphPath = (key: string, size: Vec, pos: Vec): string[] => {
);
} else {
console.warn(
"Can't retrieve this glyph, be sure to use this function with a single char",
`Missing glyph ${key}, You can create it (and add it to this repository by making a pull request) or open an issue.`,
);
return [];
}
Expand Down
4 changes: 2 additions & 2 deletions src/lowercase/base.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1608,8 +1608,8 @@ const base = {
[0.15, 0.7],
[0.15, 0.379],
[0.5, 0.379],
[0.5, 0.45],
[0.35, 0.45],
[0.5, 0.5],
[0.35, 0.5],
[0.35, 0.557],
[0.85, 0.557],
[0.85, 0.7],
Expand Down
Loading

0 comments on commit 76b2fea

Please sign in to comment.