oficina / docs Public

Clone
git clone https://amadan.net/oficina/docs

Plain git — no account needed to clone.

Download

Download this file

1{
2 "comment": "What a pasted CSS font-family stack maps to, for the web (fixtures/fonts.mjs familyForStack) and native (DocsFonts.family(cssStack:)) alike. Read the stack in order; the first name that maps wins. A name maps by Docs' private CSS name (Docs Inter, in a run copied out of Docs), then a family's Word name, then its own name, then a name in its fallback stack, in picker order. null is no mapping: the default, Carlito, with no mark.",
3 "cases": [
4 [
5 "Calibri",
6 "carlito"
7 ],
8 [
9 "Cambria",
10 "caladea"
11 ],
12 [
13 "Carlito",
14 "carlito"
15 ],
16 [
17 "Caladea",
18 "caladea"
19 ],
20 [
21 "Georgia, \"Times New Roman\", serif",
22 "caladea"
23 ],
24 [
25 "Menlo, \"Courier New\", monospace",
26 "jetbrains"
27 ],
28 [
29 "Helvetica, Calibri, sans-serif",
30 "sans"
31 ],
32 [
33 "Wingdings, Cambria, Georgia",
34 "caladea"
35 ],
36 [
37 "Wingdings, Calibri, Arial",
38 "carlito"
39 ],
40 [
41 "Arial",
42 "sans"
43 ],
44 [
45 "'Times New Roman'",
46 "serif"
47 ],
48 [
49 "Courier New",
50 "mono"
51 ],
52 [
53 "Inter, sans-serif",
54 "inter"
55 ],
56 [
57 "\"Source Serif 4\"",
58 "sourceserif"
59 ],
60 [
61 "\"Docs Inter\", \"Helvetica Neue\", Arial, sans-serif",
62 "inter"
63 ],
64 [
65 "\"Docs Liberation Serif\", \"Times New Roman\", serif",
66 "serif"
67 ],
68 [
69 "\"Docs Source Sans 3\", \"Segoe UI\", \"Arial\", sans-serif",
70 "sourcesans"
71 ],
72 [
73 "\"Docs IBM Plex Sans\", \"Helvetica Neue\", \"Arial\", sans-serif",
74 "plexsans"
75 ],
76 [
77 "\"Docs Source Serif 4\", \"Georgia\", \"Times New Roman\", serif",
78 "sourceserif"
79 ],
80 [
81 "\"Docs Literata\", \"Georgia\", \"Times New Roman\", serif",
82 "literata"
83 ],
84 [
85 "\"Docs JetBrains Mono\", \"Consolas\", \"Menlo\", \"Courier New\", monospace",
86 "jetbrains"
87 ],
88 [
89 "Wingdings",
90 null
91 ],
92 [
93 "",
94 null
95 ]
96 ],
97 "nested_comment": "A pasted span inside another: [outer font-family, inner font-family or null for a span with no font-family, the family the inner text is in]. An inner font-family that maps to the default, or to nothing, clears the outer font (null: Carlito, no mark); one that maps to another family replaces it; no font-family keeps the outer font. fixtures/editor-entry.js's font-family parse rule and native DocsHTMLClipboard apply it.",
98 "nested": [
99 [
100 "Inter",
101 "Calibri",
102 null
103 ],
104 [
105 "Inter",
106 "Wingdings",
107 null
108 ],
109 [
110 "Inter",
111 "Cambria",
112 "caladea"
113 ],
114 [
115 "Inter",
116 null,
117 "inter"
118 ],
119 [
120 "\"Docs Playfair Display\", Didot, Georgia, serif",
121 "Georgia, \"Times New Roman\", serif",
122 "caladea"
123 ],
124 [
125 "Georgia",
126 "sans-serif",
127 null
128 ],
129 [
130 "Calibri",
131 "Menlo, monospace",
132 "jetbrains"
133 ],
134 [
135 "Wingdings",
136 null,
137 null
138 ]
139 ]
140}
141