forked from excalidraw/excalidraw
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: Comic Shanns issues, new fonts structure (excalidraw#8641)
- Loading branch information
Showing
279 changed files
with
13,267 additions
and
488 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -36,4 +36,4 @@ yarn-error.log* | |
next-env.d.ts | ||
|
||
# copied assets | ||
public/*.woff2 | ||
public/**/*.woff2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
# copied assets | ||
public/*.woff2 | ||
public/**/*.woff2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
3 changes: 2 additions & 1 deletion
3
.../excalidraw/fonts/woff2/Cascadia/index.ts → packages/excalidraw/fonts/Cascadia/index.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file added
BIN
+17.1 KB
...s/excalidraw/fonts/ComicShanns/ComicShanns-Regular-279a7b317d12eb88de06167bd672b4b4.woff2
Binary file not shown.
Binary file added
BIN
+1.26 KB
...s/excalidraw/fonts/ComicShanns/ComicShanns-Regular-6e066e8de2ac57ea9283adb9c24d7f0c.woff2
Binary file not shown.
Binary file added
BIN
+2.75 KB
...s/excalidraw/fonts/ComicShanns/ComicShanns-Regular-dc6a8806fa96795d7b3be5026f989a17.woff2
Binary file not shown.
Binary file added
BIN
+9.63 KB
...s/excalidraw/fonts/ComicShanns/ComicShanns-Regular-fcb0fc02dcbee4c9846b3e2508668039.woff2
Binary file not shown.
12,221 changes: 12,221 additions & 0 deletions
12,221
packages/excalidraw/fonts/ComicShanns/ComicShanns-Regular.sfd
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,96 @@ | ||
// The following file content was generated with https://chinese-font.netlify.app/online-split, | ||
// but has been manully rewritten from `@font-face` rules into TS while leveraging FontFace API. | ||
|
||
import _0 from "./ComicShanns-Regular-279a7b317d12eb88de06167bd672b4b4.woff2"; | ||
import _1 from "./ComicShanns-Regular-fcb0fc02dcbee4c9846b3e2508668039.woff2"; | ||
import _2 from "./ComicShanns-Regular-dc6a8806fa96795d7b3be5026f989a17.woff2"; | ||
import _3 from "./ComicShanns-Regular-6e066e8de2ac57ea9283adb9c24d7f0c.woff2"; | ||
|
||
import { type ExcalidrawFontFaceDescriptor } from "../Fonts"; | ||
|
||
/* Generated By [email protected] https://www.npmjs.com/package/cn-font-split | ||
CreateTime: Thu, 17 Oct 2024 09:57:51 GMT; | ||
Origin File Name Table: | ||
copyright: MIT License | ||
Copyright (c) 2018 Shannon Miwa | ||
Copyright (c) 2023 Jesus Gonzalez | ||
Copyright (c) 2023 Rodrigo Batista de Moraes | ||
Copyright (c) 2024 Fini Jastrow | ||
Copyright (c) 2024 Kyle Beechly | ||
Permission is hereby granted, free of charge, to any person obtaining a copy | ||
of this software and associated documentation files (the "Software"), to deal | ||
in the Software without restriction, including without limitation the rights | ||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | ||
copies of the Software, and to permit persons to whom the Software is | ||
furnished to do so, subject to the following conditions: | ||
The above copyright notice and this permission notice shall be included in all | ||
copies or substantial portions of the Software. | ||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | ||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | ||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | ||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | ||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, | ||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE | ||
SOFTWARE. | ||
fontFamily: Comic Shanns Mono-Regular | ||
fontSubfamily: Regular | ||
uniqueID: FontForge 2.0 : Comic Shanns Mono Regular : 17-10-2024 | ||
fullName: Comic Shanns Mono Regular | ||
version: 1.3.0 | ||
postScriptName: ComicShannsMono-Regular | ||
license: MIT License | ||
Copyright (c) 2018 Shannon Miwa | ||
Copyright (c) 2023 Jesus Gonzalez | ||
Permission is hereby granted, free of charge, to any person obtaining a copy | ||
of this software and associated documentation files (the "Software"), to deal | ||
in the Software without restriction, including without limitation the rights | ||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | ||
copies of the Software, and to permit persons to whom the Software is | ||
furnished to do so, subject to the following conditions: | ||
The above copyright notice and this permission notice shall be included in all | ||
copies or substantial portions of the Software. | ||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | ||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | ||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | ||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | ||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, | ||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE | ||
SOFTWARE. | ||
preferredFamily: Comic Shanns Mono | ||
*/ | ||
|
||
export const ComicShannsFontFaces: ExcalidrawFontFaceDescriptor[] = [ | ||
{ | ||
uri: _0, | ||
descriptors: { | ||
unicodeRange: | ||
"U+20-7e,U+a1-a6,U+a8,U+ab-ac,U+af-b1,U+b4,U+b8,U+bb-bc,U+bf-cf,U+d1-d7,U+d9-de,U+e0-ef,U+f1-f7,U+f9-ff,U+131,U+152-153,U+2c6,U+2da,U+2dc,U+2013-2014,U+2018-201a,U+201c-201d,U+2020-2022,U+2026,U+2039-203a,U+2044,U+20ac,U+2191,U+2193,U+2212", | ||
}, | ||
}, | ||
{ | ||
uri: _1, | ||
descriptors: { | ||
unicodeRange: | ||
"U+100-10f,U+112-125,U+128-130,U+134-137,U+139-13c,U+141-148,U+14c-151,U+154-161,U+164-165,U+168-17f,U+1bf,U+1f7,U+218-21b,U+237,U+1e80-1e85,U+1ef2-1ef3,U+a75b", | ||
}, | ||
}, | ||
{ | ||
uri: _2, | ||
descriptors: { | ||
unicodeRange: | ||
"U+2c7,U+2d8-2d9,U+2db,U+2dd,U+315,U+2190,U+2192,U+2200,U+2203-2204,U+2264-2265,U+f6c3", | ||
}, | ||
}, | ||
{ | ||
uri: _3, | ||
descriptors: { unicodeRange: "U+3bb" }, | ||
}, | ||
]; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
import { LOCAL_FONT_PROTOCOL } from "../FontMetadata"; | ||
|
||
import { type ExcalidrawFontFaceDescriptor } from "../Fonts"; | ||
|
||
export const EmojiFontFaces: ExcalidrawFontFaceDescriptor[] = [ | ||
{ | ||
uri: LOCAL_FONT_PROTOCOL, | ||
}, | ||
]; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file added
BIN
+2.59 KB
...ges/excalidraw/fonts/Excalifont/Excalifont-Regular-349fac6ca4700ffec595a7150a0d1e1d.woff2
Binary file not shown.
Binary file added
BIN
+2.05 KB
...ges/excalidraw/fonts/Excalifont/Excalifont-Regular-3f2c5db56cc93c5a6873b1361d730c16.woff2
Binary file not shown.
Binary file added
BIN
+8.51 KB
...ges/excalidraw/fonts/Excalifont/Excalifont-Regular-41b173a47b57366892116a575a43e2b6.woff2
Binary file not shown.
Binary file added
BIN
+824 Bytes
...ges/excalidraw/fonts/Excalifont/Excalifont-Regular-623ccf21b21ef6b3a0d87738f77eb071.woff2
Binary file not shown.
Binary file added
BIN
+24.4 KB
...ges/excalidraw/fonts/Excalifont/Excalifont-Regular-a88b72a24fb54c9f94e3b5fdaa7481c9.woff2
Binary file not shown.
Binary file added
BIN
+13 KB
...ges/excalidraw/fonts/Excalifont/Excalifont-Regular-b9dcf9d2e50a1eaf42fc664b50a3fd0d.woff2
Binary file not shown.
Binary file added
BIN
+11.9 KB
...ges/excalidraw/fonts/Excalifont/Excalifont-Regular-be310b9bcd4f1a43f571c46df7809174.woff2
Binary file not shown.
Oops, something went wrong.