aboutsummaryrefslogtreecommitdiffstats
path: root/packages/excalidraw/fonts/Nunito/index.ts
diff options
context:
space:
mode:
Diffstat (limited to 'packages/excalidraw/fonts/Nunito/index.ts')
-rw-r--r--packages/excalidraw/fonts/Nunito/index.ts38
1 files changed, 38 insertions, 0 deletions
diff --git a/packages/excalidraw/fonts/Nunito/index.ts b/packages/excalidraw/fonts/Nunito/index.ts
new file mode 100644
index 0000000..4db432d
--- /dev/null
+++ b/packages/excalidraw/fonts/Nunito/index.ts
@@ -0,0 +1,38 @@
+import Latin from "./Nunito-Regular-XRXI3I6Li01BKofiOc5wtlZ2di8HDIkhdTQ3j6zbXWjgeg.woff2";
+import LatinExt from "./Nunito-Regular-XRXI3I6Li01BKofiOc5wtlZ2di8HDIkhdTo3j6zbXWjgevT5.woff2";
+import Cyrilic from "./Nunito-Regular-XRXI3I6Li01BKofiOc5wtlZ2di8HDIkhdTA3j6zbXWjgevT5.woff2";
+import CyrilicExt from "./Nunito-Regular-XRXI3I6Li01BKofiOc5wtlZ2di8HDIkhdTk3j6zbXWjgevT5.woff2";
+import Vietnamese from "./Nunito-Regular-XRXI3I6Li01BKofiOc5wtlZ2di8HDIkhdTs3j6zbXWjgevT5.woff2";
+
+import { GOOGLE_FONTS_RANGES } from "../FontMetadata";
+
+import { type ExcalidrawFontFaceDescriptor } from "../Fonts";
+
+export const NunitoFontFaces: ExcalidrawFontFaceDescriptor[] = [
+ {
+ uri: CyrilicExt,
+ descriptors: {
+ unicodeRange: GOOGLE_FONTS_RANGES.CYRILIC_EXT,
+ weight: "500",
+ },
+ },
+ {
+ uri: Cyrilic,
+ descriptors: { unicodeRange: GOOGLE_FONTS_RANGES.CYRILIC, weight: "500" },
+ },
+ {
+ uri: Vietnamese,
+ descriptors: {
+ unicodeRange: GOOGLE_FONTS_RANGES.VIETNAMESE,
+ weight: "500",
+ },
+ },
+ {
+ uri: LatinExt,
+ descriptors: { unicodeRange: GOOGLE_FONTS_RANGES.LATIN_EXT, weight: "500" },
+ },
+ {
+ uri: Latin,
+ descriptors: { unicodeRange: GOOGLE_FONTS_RANGES.LATIN, weight: "500" },
+ },
+];