@openpresentation/opf-render 0.11.2 → 0.11.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +7 -3
- package/dist/charts.js +1009 -0
- package/dist/font-manifest.js +124 -0
- package/dist/fonts-node.js +6 -3
- package/dist/fonts.js +27 -2
- package/dist/svg.js +5 -81
- package/fonts/playfair-display/OFL.txt +93 -0
- package/fonts/playfair-display/PROVENANCE.json +48 -0
- package/fonts/playfair-display/PlayfairDisplay-Bold.ttf +0 -0
- package/fonts/playfair-display/PlayfairDisplay-BoldItalic.ttf +0 -0
- package/fonts/playfair-display/PlayfairDisplay-Italic.ttf +0 -0
- package/fonts/playfair-display/PlayfairDisplay-Regular.ttf +0 -0
- package/fonts/raleway/OFL.txt +93 -0
- package/fonts/raleway/PROVENANCE.json +48 -0
- package/fonts/raleway/Raleway-Bold.ttf +0 -0
- package/fonts/raleway/Raleway-BoldItalic.ttf +0 -0
- package/fonts/raleway/Raleway-Italic.ttf +0 -0
- package/fonts/raleway/Raleway-Regular.ttf +0 -0
- package/package.json +3 -3
package/dist/font-manifest.js
CHANGED
|
@@ -1121,6 +1121,130 @@ export const BUNDLED_FONT_MANIFEST=freeze({
|
|
|
1121
1121
|
}
|
|
1122
1122
|
]
|
|
1123
1123
|
},
|
|
1124
|
+
{
|
|
1125
|
+
"name": "raleway",
|
|
1126
|
+
"vendored": "fonts/raleway",
|
|
1127
|
+
"version": "7e0be846a3097743b9bf442eb8e65bc1fd96c934",
|
|
1128
|
+
"pack": "open",
|
|
1129
|
+
"source": "https://github.com/googlefonts/Raleway/tree/7e0be846a3097743b9bf442eb8e65bc1fd96c934/fonts/TTF",
|
|
1130
|
+
"license": "OFL-1.1",
|
|
1131
|
+
"licenseFile": "OFL.txt",
|
|
1132
|
+
"licenseSha256": "7e946cf1171784d1015279e7dc35f827957a6b5d1f1f659ae0c98e5f5e37ed9b",
|
|
1133
|
+
"upstreamLicenseUrl": "https://raw.githubusercontent.com/googlefonts/Raleway/7e0be846a3097743b9bf442eb8e65bc1fd96c934/OFL.txt",
|
|
1134
|
+
"reservedFontNames": [
|
|
1135
|
+
"Raleway"
|
|
1136
|
+
],
|
|
1137
|
+
"upstream": "http://scripts.sil.org/OFL",
|
|
1138
|
+
"copyright": "Copyright 2010 The Raleway Project Authors (impallari@gmail.com), with Reserved Font Name \"Raleway\".",
|
|
1139
|
+
"faces": [
|
|
1140
|
+
{
|
|
1141
|
+
"file": "Raleway-Regular.ttf",
|
|
1142
|
+
"family": "Raleway",
|
|
1143
|
+
"weight": 400,
|
|
1144
|
+
"italic": false,
|
|
1145
|
+
"sha256": "cb70f8815eecd850263d54fa59286377b1d7362bec612e981155a00039d8b513",
|
|
1146
|
+
"upstreamFile": {
|
|
1147
|
+
"url": "https://raw.githubusercontent.com/googlefonts/Raleway/7e0be846a3097743b9bf442eb8e65bc1fd96c934/fonts/TTF/Raleway-Regular.ttf",
|
|
1148
|
+
"sha256": "cb70f8815eecd850263d54fa59286377b1d7362bec612e981155a00039d8b513"
|
|
1149
|
+
}
|
|
1150
|
+
},
|
|
1151
|
+
{
|
|
1152
|
+
"file": "Raleway-Italic.ttf",
|
|
1153
|
+
"family": "Raleway",
|
|
1154
|
+
"weight": 400,
|
|
1155
|
+
"italic": true,
|
|
1156
|
+
"sha256": "63f52b6d8e88afa43d94162147ff55846f28af630d834018de5cb7ccc75a8ee8",
|
|
1157
|
+
"upstreamFile": {
|
|
1158
|
+
"url": "https://raw.githubusercontent.com/googlefonts/Raleway/7e0be846a3097743b9bf442eb8e65bc1fd96c934/fonts/TTF/Raleway-Italic.ttf",
|
|
1159
|
+
"sha256": "63f52b6d8e88afa43d94162147ff55846f28af630d834018de5cb7ccc75a8ee8"
|
|
1160
|
+
}
|
|
1161
|
+
},
|
|
1162
|
+
{
|
|
1163
|
+
"file": "Raleway-Bold.ttf",
|
|
1164
|
+
"family": "Raleway",
|
|
1165
|
+
"weight": 700,
|
|
1166
|
+
"italic": false,
|
|
1167
|
+
"sha256": "6894481ab1c298e9c66f23455ecf05ccb25393d719a6b2d63428358c0409d2d0",
|
|
1168
|
+
"upstreamFile": {
|
|
1169
|
+
"url": "https://raw.githubusercontent.com/googlefonts/Raleway/7e0be846a3097743b9bf442eb8e65bc1fd96c934/fonts/TTF/Raleway-Bold.ttf",
|
|
1170
|
+
"sha256": "6894481ab1c298e9c66f23455ecf05ccb25393d719a6b2d63428358c0409d2d0"
|
|
1171
|
+
}
|
|
1172
|
+
},
|
|
1173
|
+
{
|
|
1174
|
+
"file": "Raleway-BoldItalic.ttf",
|
|
1175
|
+
"family": "Raleway",
|
|
1176
|
+
"weight": 700,
|
|
1177
|
+
"italic": true,
|
|
1178
|
+
"sha256": "57eb1a701136eca30b52a4847edcec93daa53f0b5597dd98dbc0b07f475ce44a",
|
|
1179
|
+
"upstreamFile": {
|
|
1180
|
+
"url": "https://raw.githubusercontent.com/googlefonts/Raleway/7e0be846a3097743b9bf442eb8e65bc1fd96c934/fonts/TTF/Raleway-BoldItalic.ttf",
|
|
1181
|
+
"sha256": "57eb1a701136eca30b52a4847edcec93daa53f0b5597dd98dbc0b07f475ce44a"
|
|
1182
|
+
}
|
|
1183
|
+
}
|
|
1184
|
+
]
|
|
1185
|
+
},
|
|
1186
|
+
{
|
|
1187
|
+
"name": "playfair-display",
|
|
1188
|
+
"vendored": "fonts/playfair-display",
|
|
1189
|
+
"version": "6e115d70ee7ff6ed887babf3829ccd1de65fd2bd",
|
|
1190
|
+
"pack": "open",
|
|
1191
|
+
"source": "https://github.com/clauseggers/Playfair/tree/6e115d70ee7ff6ed887babf3829ccd1de65fd2bd/fonts/TTF",
|
|
1192
|
+
"license": "OFL-1.1",
|
|
1193
|
+
"licenseFile": "OFL.txt",
|
|
1194
|
+
"licenseSha256": "e414e07f7a4da16ed47ebec80d52dd79f21d3ca42bc92385a755d8078a038814",
|
|
1195
|
+
"upstreamLicenseUrl": "https://raw.githubusercontent.com/clauseggers/Playfair/6e115d70ee7ff6ed887babf3829ccd1de65fd2bd/OFL.txt",
|
|
1196
|
+
"reservedFontNames": [
|
|
1197
|
+
"Playfair Display"
|
|
1198
|
+
],
|
|
1199
|
+
"upstream": "https://github.com/clauseggers/Playfair-Display",
|
|
1200
|
+
"copyright": "Copyright 2017 The Playfair Display Project Authors (https://github.com/clauseggers/Playfair-Display), with Reserved Font Name \"Playfair Display\".",
|
|
1201
|
+
"faces": [
|
|
1202
|
+
{
|
|
1203
|
+
"file": "PlayfairDisplay-Regular.ttf",
|
|
1204
|
+
"family": "Playfair Display",
|
|
1205
|
+
"weight": 400,
|
|
1206
|
+
"italic": false,
|
|
1207
|
+
"sha256": "70ef3ee8de32dc81c39f2733a4a2a050c7e6ba78a2f1632f9d5c6cfd482c3abb",
|
|
1208
|
+
"upstreamFile": {
|
|
1209
|
+
"url": "https://raw.githubusercontent.com/clauseggers/Playfair/6e115d70ee7ff6ed887babf3829ccd1de65fd2bd/fonts/TTF/PlayfairDisplay-Regular.ttf",
|
|
1210
|
+
"sha256": "70ef3ee8de32dc81c39f2733a4a2a050c7e6ba78a2f1632f9d5c6cfd482c3abb"
|
|
1211
|
+
}
|
|
1212
|
+
},
|
|
1213
|
+
{
|
|
1214
|
+
"file": "PlayfairDisplay-Italic.ttf",
|
|
1215
|
+
"family": "Playfair Display",
|
|
1216
|
+
"weight": 400,
|
|
1217
|
+
"italic": true,
|
|
1218
|
+
"sha256": "30a7eb5a9309754d4b3e205e6435ef07d80e1b86735774b2ace427f6ed61f991",
|
|
1219
|
+
"upstreamFile": {
|
|
1220
|
+
"url": "https://raw.githubusercontent.com/clauseggers/Playfair/6e115d70ee7ff6ed887babf3829ccd1de65fd2bd/fonts/TTF/PlayfairDisplay-Italic.ttf",
|
|
1221
|
+
"sha256": "30a7eb5a9309754d4b3e205e6435ef07d80e1b86735774b2ace427f6ed61f991"
|
|
1222
|
+
}
|
|
1223
|
+
},
|
|
1224
|
+
{
|
|
1225
|
+
"file": "PlayfairDisplay-Bold.ttf",
|
|
1226
|
+
"family": "Playfair Display",
|
|
1227
|
+
"weight": 700,
|
|
1228
|
+
"italic": false,
|
|
1229
|
+
"sha256": "898a01a59214578e72012131ef4c346844c1fd35613f4ee113a37d61a094a2d0",
|
|
1230
|
+
"upstreamFile": {
|
|
1231
|
+
"url": "https://raw.githubusercontent.com/clauseggers/Playfair/6e115d70ee7ff6ed887babf3829ccd1de65fd2bd/fonts/TTF/PlayfairDisplay-Bold.ttf",
|
|
1232
|
+
"sha256": "898a01a59214578e72012131ef4c346844c1fd35613f4ee113a37d61a094a2d0"
|
|
1233
|
+
}
|
|
1234
|
+
},
|
|
1235
|
+
{
|
|
1236
|
+
"file": "PlayfairDisplay-BoldItalic.ttf",
|
|
1237
|
+
"family": "Playfair Display",
|
|
1238
|
+
"weight": 700,
|
|
1239
|
+
"italic": true,
|
|
1240
|
+
"sha256": "bd3b48ca605438de4337d05ece1ecb9e4149a975d3207174f28e02098bbec3ff",
|
|
1241
|
+
"upstreamFile": {
|
|
1242
|
+
"url": "https://raw.githubusercontent.com/clauseggers/Playfair/6e115d70ee7ff6ed887babf3829ccd1de65fd2bd/fonts/TTF/PlayfairDisplay-BoldItalic.ttf",
|
|
1243
|
+
"sha256": "bd3b48ca605438de4337d05ece1ecb9e4149a975d3207174f28e02098bbec3ff"
|
|
1244
|
+
}
|
|
1245
|
+
}
|
|
1246
|
+
]
|
|
1247
|
+
},
|
|
1124
1248
|
{
|
|
1125
1249
|
"name": "barlow",
|
|
1126
1250
|
"vendored": "fonts/barlow",
|
package/dist/fonts-node.js
CHANGED
|
@@ -7,7 +7,7 @@ import { createFontRegistry, OPFFontError } from "./fonts.js";
|
|
|
7
7
|
import { BUNDLED_FONT_MANIFEST } from "./font-manifest.js";
|
|
8
8
|
import { lazyFontList } from "./lazy-font-list.js";
|
|
9
9
|
export { BUNDLED_FONT_MANIFEST } from "./font-manifest.js";
|
|
10
|
-
import { analyzePresentationScripts, nextFallbackPackage, scriptFontPackages, scriptSelectionOf, uncoveredCjkCharacters } from "./script-font-pack.js";
|
|
10
|
+
import { analyzePresentationScripts, autoScriptSelection, nextFallbackPackage, scriptFontPackages, scriptSelectionOf, uncoveredCjkCharacters } from "./script-font-pack.js";
|
|
11
11
|
export { autoScriptSelection, detectPresentationScripts, scriptFontPackages } from "./script-font-pack.js";
|
|
12
12
|
// Script faces are embedded in a standalone SVG only when the slide's text uses their family.
|
|
13
13
|
const embedUsed = entries => entries.map(entry => ({...entry, embed: "used"}));
|
|
@@ -174,8 +174,11 @@ export async function loadOfficeFontRegistry({scripts, faces, presentation, onDi
|
|
|
174
174
|
// Noto Sans (regular, bold, italic, bold italic) is the default Latin, Cyrillic and Greek fallback face
|
|
175
175
|
// (glyph fallback), so Georgia with Russian text previews without the scripts option. It is embedded in an
|
|
176
176
|
// SVG only when the slide's text draws it (embed "used"); raster output reads it from fontFiles. Unless the
|
|
177
|
-
// caller asked for it with scripts it is fallback-only, so no other family's preview changes.
|
|
178
|
-
|
|
177
|
+
// caller asked for it with scripts it is fallback-only, so no other family's preview changes. "auto" counts as asking for it when the
|
|
178
|
+
// presentation itself selects Latn (a Sylfaen scheme: Noto Sans is its designated replacement, which a fallback-only face never is), as
|
|
179
|
+
// an explicit list does; a presentation that does not select Latn keeps it fallback-only.
|
|
180
|
+
const requested = scripts === "auto" && presentation !== null && typeof presentation === "object" ? scriptFontPackages(autoScriptSelection(presentation).scripts).map(pkg => pkg.name)
|
|
181
|
+
: scripts === undefined || scripts === "auto" || (Array.isArray(scripts) && !scripts.length) ? [] : scriptFontPackages(scripts).map(pkg => pkg.name);
|
|
179
182
|
const fallback = await loadPackages(scriptFontPackages(["Latn"]).filter(pkg => !requested.includes(pkg.name)), undefined, {fallbackOnly:true});
|
|
180
183
|
fontFiles.push(...fallback.fontFiles);
|
|
181
184
|
entries.push(...fallback.entries);
|
package/dist/fonts.js
CHANGED
|
@@ -45,6 +45,27 @@ function unavailableFontError(family, style, policy) {
|
|
|
45
45
|
return new OPFFontError("font-unavailable", `No local font face for '${family}'. ${owner} None of its replacements (${candidates.join(", ")}) is loaded${packs.length ? `; load the ${packs.map(pack=>"'"+pack+"'").join(" or ")} font pack` : ""}, or ${hook}. The PPTX names '${family}' either way.`, details);
|
|
46
46
|
}
|
|
47
47
|
/** Local font files only. The caller explicitly chooses aliases and fallback. */
|
|
48
|
+
// fontkit 2.0.4 cannot decode every OpenType lookup: its GSUB type 8 (reverse chaining contextual single substitution) struct lacks the
|
|
49
|
+
// backtrackGlyphCount field, so the lookup fails with "Not a fixed size" when a feature that references it is applied, and it has no processor
|
|
50
|
+
// for the type anyway. Noto Sans Mongolian 3.x has such a lookup under calt and rclt in every script, so every shaping of the face threw (FF-44).
|
|
51
|
+
// A lookup that cannot be decoded is treated as one that applies nothing (no subtables), so the rest of the feature still runs: advances equal
|
|
52
|
+
// a browser's for the face's Latin and Mongolian samples (test/mongolian-shaping.mjs). Applied only after shaping failed, once per font.
|
|
53
|
+
const lookupsGuarded = new WeakSet();
|
|
54
|
+
function skipUndecodableLookups(font) {
|
|
55
|
+
if (lookupsGuarded.has(font)) return false;
|
|
56
|
+
lookupsGuarded.add(font);
|
|
57
|
+
let guarded = false;
|
|
58
|
+
for (const tag of ["GSUB", "GPOS"]) {
|
|
59
|
+
let list;
|
|
60
|
+
try { list = font[tag]?.lookupList; } catch { continue; }
|
|
61
|
+
if (typeof list?.get !== "function") continue;
|
|
62
|
+
const get = list.get.bind(list);
|
|
63
|
+
list.get = index => { try { return get(index); } catch { return { lookupType: 1, flags: {}, subTables: [] }; } };
|
|
64
|
+
guarded = true;
|
|
65
|
+
}
|
|
66
|
+
return guarded;
|
|
67
|
+
}
|
|
68
|
+
|
|
48
69
|
export function createFontRegistry(entries, options = {}) {
|
|
49
70
|
if (!Array.isArray(entries) || !entries.length) throw new OPFFontError("empty-font-registry", "Supply at least one font file.");
|
|
50
71
|
const makeFace = entry => {
|
|
@@ -203,11 +224,15 @@ export function createFontRegistry(entries, options = {}) {
|
|
|
203
224
|
let run;
|
|
204
225
|
try { run=shape(); }
|
|
205
226
|
catch (error) {
|
|
227
|
+
// A lookup fontkit cannot decode (GSUB type 8 in Noto Sans Mongolian) applies nothing; shape again with the rest (FF-44).
|
|
228
|
+
if (skipUndecodableLookups(face.font)) { try { run=shape(); } catch { /* the mark retry below */ } }
|
|
206
229
|
// fontkit rejects some mark-attachment lookups (null anchors, for example
|
|
207
230
|
// Gurmukhi tippi in Noto Sans Gurmukhi). Mark positioning moves marks
|
|
208
231
|
// without changing advances, so measure again without it (FF-19).
|
|
209
|
-
|
|
210
|
-
|
|
232
|
+
if (!run) {
|
|
233
|
+
try { run=shape({abvm:false,blwm:false,mark:false,mkmk:false}); }
|
|
234
|
+
catch { throw new OPFFontError("font-shaping-failed", `Font '${face.family}' cannot shape this text.`, {path:style.path,fontFamily:face.family,cause:error?.message}); }
|
|
235
|
+
}
|
|
211
236
|
}
|
|
212
237
|
value={width:run.positions.reduce((total,position)=>total+position.xAdvance,0)/face.font.unitsPerEm,...value};
|
|
213
238
|
if(includeOutline) {
|
package/dist/svg.js
CHANGED
|
@@ -9,6 +9,7 @@ import {
|
|
|
9
9
|
import * as opfCore from "@openpresentation/opf";
|
|
10
10
|
import { createScriptFonts } from "./script-fonts.js";
|
|
11
11
|
import { disabledFeaturesStyle } from "./font-compatibility.js";
|
|
12
|
+
import { renderCatalogChart } from "./charts.js";
|
|
12
13
|
|
|
13
14
|
export const packageName = "@openpresentation/opf-render";
|
|
14
15
|
|
|
@@ -1217,88 +1218,11 @@ function renderTableBorders(defaultEdges, explicitEdges, scale, bound, options)
|
|
|
1217
1218
|
});
|
|
1218
1219
|
}
|
|
1219
1220
|
|
|
1220
|
-
function renderImportedChart(item, box, bound, options) {
|
|
1221
|
-
const chart=item.value, rows=chart.data?.rows??[], columns=chart.data?.columns??[];
|
|
1222
|
-
if(!rows.length||columns.length<2)return null;
|
|
1223
|
-
const kind=chart.type, circular=['pie','donut','doughnut'].includes(kind);
|
|
1224
|
-
const colors=[bound.design.colors.primary,bound.design.colors.secondary,'#9B6BCC','#D98944','#429B85','#CB5D79'].map(color=>chartColorForFill(bound.design.colors.surface,color));
|
|
1225
|
-
const children=[];
|
|
1226
|
-
const labelColor=textColorForFill(bound.design.colors.surface,bound.design.colors.text);
|
|
1227
|
-
const text=(value,rect,path,size=16,align='center')=>renderTextBox(String(value),rect,bound,{path,fontSize:size,fontFamily:bound.design.fonts.body,fontWeight:400,fill:labelColor,options,align,verticalAlign:'middle'});
|
|
1228
|
-
const number=value=>typeof value==='number'&&Number.isFinite(value)?value:typeof value==='string'&&value.trim()&&Number.isFinite(Number(value))?Number(value):null;
|
|
1229
|
-
const series=columns.slice(1).map((name,j)=>({name,values:rows.map(row=>number(row[j+1]))}));
|
|
1230
|
-
children.push(tag('rect',{x:box.x,y:box.y,width:box.width,height:box.height,fill:bound.design.colors.surface,stroke:bound.design.colors.border,...traceAttrs(options,item.path)}));
|
|
1231
|
-
if(circular){
|
|
1232
|
-
if(series.length!==1||series[0].values.some(v=>v!==null&&v<0)){
|
|
1233
|
-
children.push(text('Pie charts need one nonnegative series',box,item.path,18));return tag('g',traceAttrs(options,item.path),children.join('\n'));
|
|
1234
|
-
}
|
|
1235
|
-
const values=series[0].values,total=values.reduce((sum,v)=>sum+(v??0),0),cx=box.x+box.width*.35,cy=box.y+box.height*.5,r=Math.max(1,Math.min(box.width*.3,box.height*.42));
|
|
1236
|
-
if(!total){children.push(text('No positive chart values',box,item.path,18));return tag('g',traceAttrs(options,item.path),children.join('\n'));}
|
|
1237
|
-
let angle=-Math.PI/2;
|
|
1238
|
-
values.forEach((v,i)=>{
|
|
1239
|
-
const delta=(v??0)/total*Math.PI*2,end=angle+delta,color=colors[i%colors.length];
|
|
1240
|
-
if(delta>=Math.PI*2-1e-8)children.push(tag('circle',{cx,cy,r,fill:color,...traceAttrs(options,`${item.path}.data.rows.${i}.1`)}));
|
|
1241
|
-
else if(delta>0)children.push(tag('path',{d:`M ${cx} ${cy} L ${cx+r*Math.cos(angle)} ${cy+r*Math.sin(angle)} A ${r} ${r} 0 ${delta>Math.PI?1:0} 1 ${cx+r*Math.cos(end)} ${cy+r*Math.sin(end)} Z`,fill:color,...traceAttrs(options,`${item.path}.data.rows.${i}.1`)}));
|
|
1242
|
-
angle=end;
|
|
1243
|
-
const y=box.y+15+i*Math.min(30,(box.height-30)/rows.length);
|
|
1244
|
-
children.push(tag('rect',{x:box.x+box.width*.69,y:y+6,width:12,height:12,fill:color}));
|
|
1245
|
-
children.push(text(`${rows[i][0]}: ${v??'—'}`,{x:box.x+box.width*.69+20,y,width:box.width*.29-20,height:28},`${item.path}.data.rows.${i}`,14,'left'));
|
|
1246
|
-
});
|
|
1247
|
-
if(kind!=='pie')children.push(tag('circle',{cx,cy,r:r*.57,fill:bound.design.colors.surface}));
|
|
1248
|
-
}else{
|
|
1249
|
-
const horizontal=kind==='bar',legendHeight=series.length>1?34:8;
|
|
1250
|
-
const plot={x:box.x+(horizontal?100:64),y:box.y+legendHeight+14,width:Math.max(1,box.width-(horizontal?124:84)),height:Math.max(1,box.height-legendHeight-62)};
|
|
1251
|
-
const values=series.flatMap(s=>s.values).filter(v=>v!==null),min=Math.min(0,...values),rawMax=Math.max(0,...values),max=rawMax===min?min+1:rawMax,range=max-min;
|
|
1252
|
-
const fraction=(v,reverse=false)=>{
|
|
1253
|
-
const distance=reverse?max-v:v-min;
|
|
1254
|
-
if(Number.isFinite(range)&&Number.isFinite(distance))return distance/range;
|
|
1255
|
-
// Finite endpoints can overflow during subtraction. Keep ordinary
|
|
1256
|
-
// arithmetic unchanged and normalize only that exceptional range.
|
|
1257
|
-
const unit=Math.max(Math.abs(min),Math.abs(max)),low=min/unit,high=max/unit,position=v/unit;
|
|
1258
|
-
return (reverse?high-position:position-low)/(high-low);
|
|
1259
|
-
};
|
|
1260
|
-
const xValue=v=>plot.x+fraction(v)*plot.width,yValue=v=>plot.y+fraction(v,true)*plot.height;
|
|
1261
|
-
const zero=horizontal?xValue(0):yValue(0);
|
|
1262
|
-
for(let tick=0;tick<=4;tick++){
|
|
1263
|
-
const direct=min+range*tick/4;
|
|
1264
|
-
const value=Number.isFinite(direct)?direct:min*(1-tick/4)+max*(tick/4);
|
|
1265
|
-
const at=horizontal?xValue(value):yValue(value),rounded=Number(value.toPrecision(4));
|
|
1266
|
-
// Rounding MAX_VALUE to four digits can overflow although the tick is
|
|
1267
|
-
// finite. Its exact shortest decimal remains truthful and parseable.
|
|
1268
|
-
const label=Number.isFinite(rounded)?rounded:String(value);
|
|
1269
|
-
children.push(tag('line',{x1:horizontal?at:plot.x,x2:horizontal?at:plot.x+plot.width,y1:horizontal?plot.y:at,y2:horizontal?plot.y+plot.height:at,stroke:bound.design.colors.border,'stroke-width':1}));
|
|
1270
|
-
children.push(text(label,horizontal?{x:at-32,y:plot.y+plot.height+6,width:64,height:26}:{x:box.x+4,y:at-12,width:52,height:24},item.path,13,horizontal?'center':'right'));
|
|
1271
|
-
}
|
|
1272
|
-
if(series.length>1)series.forEach((s,j)=>{
|
|
1273
|
-
const width=(box.width-24)/series.length,x=box.x+12+j*width;
|
|
1274
|
-
children.push(tag('rect',{x,y:box.y+12,width:12,height:12,fill:colors[j%colors.length]}));
|
|
1275
|
-
children.push(text(s.name,{x:x+18,y:box.y+5,width:Math.max(1,width-22),height:28},`${item.path}.data.columns.${j+1}`,14,'left'));
|
|
1276
|
-
});
|
|
1277
|
-
const categorySize=(horizontal?plot.height:plot.width)/rows.length;
|
|
1278
|
-
rows.forEach((row,i)=>children.push(text(row[0],horizontal?{x:box.x+4,y:plot.y+i*categorySize,width:88,height:categorySize}:{x:plot.x+i*categorySize,y:plot.y+plot.height+7,width:categorySize,height:30},`${item.path}.data.rows.${i}.0`,14,horizontal?'right':'center')));
|
|
1279
|
-
series.forEach((s,j)=>{
|
|
1280
|
-
const color=colors[j%colors.length];
|
|
1281
|
-
if(kind==='line'||kind==='area'){
|
|
1282
|
-
let points=[];
|
|
1283
|
-
const flush=()=>{if(!points.length)return;const pairs=points.map(p=>p.join(',')).join(' ');if(kind==='area')children.push(tag('polygon',{points:`${points[0][0]},${zero} ${pairs} ${points.at(-1)[0]},${zero}`,fill:color,'fill-opacity':.18}));children.push(tag('polyline',{points:pairs,fill:'none',stroke:color,'stroke-width':3,...traceAttrs(options,`${item.path}.data`)}));points=[];};
|
|
1284
|
-
s.values.forEach((v,i)=>{if(v===null){flush();return;}const x=plot.x+(i+.5)*categorySize,y=yValue(v);points.push([x,y]);children.push(tag('circle',{cx:x,cy:y,r:4,fill:color,...traceAttrs(options,`${item.path}.data.rows.${i}.${j+1}`)}));});flush();
|
|
1285
|
-
}else{
|
|
1286
|
-
const bar=categorySize*.8/series.length;
|
|
1287
|
-
s.values.forEach((v,i)=>{if(v===null)return;const at=(horizontal?plot.y:plot.x)+i*categorySize+categorySize*.1+j*bar;
|
|
1288
|
-
children.push(tag('rect',horizontal?{x:Math.min(zero,xValue(v)),y:at,width:Math.abs(xValue(v)-zero),height:Math.max(.1,bar*.9),fill:color,...traceAttrs(options,`${item.path}.data.rows.${i}.${j+1}`)}:{x:at,y:Math.min(zero,yValue(v)),width:Math.max(.1,bar*.9),height:Math.abs(yValue(v)-zero),fill:color,...traceAttrs(options,`${item.path}.data.rows.${i}.${j+1}`)}));
|
|
1289
|
-
});
|
|
1290
|
-
}
|
|
1291
|
-
});
|
|
1292
|
-
children.push(tag('line',{x1:horizontal?zero:plot.x,x2:horizontal?zero:plot.x+plot.width,y1:horizontal?plot.y:zero,y2:horizontal?plot.y+plot.height:zero,stroke:labelColor,'stroke-width':1}));
|
|
1293
|
-
}
|
|
1294
|
-
return tag('g',traceAttrs(options,item.path),children.join('\n'));
|
|
1295
|
-
}
|
|
1296
|
-
|
|
1297
1221
|
function renderChart(item, box, bound, options) {
|
|
1298
|
-
|
|
1299
|
-
|
|
1300
|
-
|
|
1301
|
-
|
|
1222
|
+
// Catalog chart types (kept, deprecated and aliased ids) preview the native
|
|
1223
|
+
// construct opf-pptx exports; other ids keep the legacy single-series preview.
|
|
1224
|
+
const rendered = renderCatalogChart(item, box, bound, options, { tag, traceAttrs, stableNumber, renderTextBox });
|
|
1225
|
+
if (rendered) return rendered;
|
|
1302
1226
|
const chart = item.value ?? {};
|
|
1303
1227
|
const chartType = chart.type ?? engineDefaults.chartTypes[0];
|
|
1304
1228
|
const data = inlineChartRows(chart.data);
|
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
Copyright 2017 The Playfair Display Project Authors (https://github.com/clauseggers/Playfair-Display), with Reserved Font Name "Playfair Display".
|
|
2
|
+
|
|
3
|
+
This Font Software is licensed under the SIL Open Font License, Version 1.1.
|
|
4
|
+
This license is copied below, and is also available with a FAQ at:
|
|
5
|
+
http://scripts.sil.org/OFL
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
-----------------------------------------------------------
|
|
9
|
+
SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
|
|
10
|
+
-----------------------------------------------------------
|
|
11
|
+
|
|
12
|
+
PREAMBLE
|
|
13
|
+
The goals of the Open Font License (OFL) are to stimulate worldwide
|
|
14
|
+
development of collaborative font projects, to support the font creation
|
|
15
|
+
efforts of academic and linguistic communities, and to provide a free and
|
|
16
|
+
open framework in which fonts may be shared and improved in partnership
|
|
17
|
+
with others.
|
|
18
|
+
|
|
19
|
+
The OFL allows the licensed fonts to be used, studied, modified and
|
|
20
|
+
redistributed freely as long as they are not sold by themselves. The
|
|
21
|
+
fonts, including any derivative works, can be bundled, embedded,
|
|
22
|
+
redistributed and/or sold with any software provided that any reserved
|
|
23
|
+
names are not used by derivative works. The fonts and derivatives,
|
|
24
|
+
however, cannot be released under any other type of license. The
|
|
25
|
+
requirement for fonts to remain under this license does not apply
|
|
26
|
+
to any document created using the fonts or their derivatives.
|
|
27
|
+
|
|
28
|
+
DEFINITIONS
|
|
29
|
+
"Font Software" refers to the set of files released by the Copyright
|
|
30
|
+
Holder(s) under this license and clearly marked as such. This may
|
|
31
|
+
include source files, build scripts and documentation.
|
|
32
|
+
|
|
33
|
+
"Reserved Font Name" refers to any names specified as such after the
|
|
34
|
+
copyright statement(s).
|
|
35
|
+
|
|
36
|
+
"Original Version" refers to the collection of Font Software components as
|
|
37
|
+
distributed by the Copyright Holder(s).
|
|
38
|
+
|
|
39
|
+
"Modified Version" refers to any derivative made by adding to, deleting,
|
|
40
|
+
or substituting -- in part or in whole -- any of the components of the
|
|
41
|
+
Original Version, by changing formats or by porting the Font Software to a
|
|
42
|
+
new environment.
|
|
43
|
+
|
|
44
|
+
"Author" refers to any designer, engineer, programmer, technical
|
|
45
|
+
writer or other person who contributed to the Font Software.
|
|
46
|
+
|
|
47
|
+
PERMISSION & CONDITIONS
|
|
48
|
+
Permission is hereby granted, free of charge, to any person obtaining
|
|
49
|
+
a copy of the Font Software, to use, study, copy, merge, embed, modify,
|
|
50
|
+
redistribute, and sell modified and unmodified copies of the Font
|
|
51
|
+
Software, subject to the following conditions:
|
|
52
|
+
|
|
53
|
+
1) Neither the Font Software nor any of its individual components,
|
|
54
|
+
in Original or Modified Versions, may be sold by itself.
|
|
55
|
+
|
|
56
|
+
2) Original or Modified Versions of the Font Software may be bundled,
|
|
57
|
+
redistributed and/or sold with any software, provided that each copy
|
|
58
|
+
contains the above copyright notice and this license. These can be
|
|
59
|
+
included either as stand-alone text files, human-readable headers or
|
|
60
|
+
in the appropriate machine-readable metadata fields within text or
|
|
61
|
+
binary files as long as those fields can be easily viewed by the user.
|
|
62
|
+
|
|
63
|
+
3) No Modified Version of the Font Software may use the Reserved Font
|
|
64
|
+
Name(s) unless explicit written permission is granted by the corresponding
|
|
65
|
+
Copyright Holder. This restriction only applies to the primary font name as
|
|
66
|
+
presented to the users.
|
|
67
|
+
|
|
68
|
+
4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
|
|
69
|
+
Software shall not be used to promote, endorse or advertise any
|
|
70
|
+
Modified Version, except to acknowledge the contribution(s) of the
|
|
71
|
+
Copyright Holder(s) and the Author(s) or with their explicit written
|
|
72
|
+
permission.
|
|
73
|
+
|
|
74
|
+
5) The Font Software, modified or unmodified, in part or in whole,
|
|
75
|
+
must be distributed entirely under this license, and must not be
|
|
76
|
+
distributed under any other license. The requirement for fonts to
|
|
77
|
+
remain under this license does not apply to any document created
|
|
78
|
+
using the Font Software.
|
|
79
|
+
|
|
80
|
+
TERMINATION
|
|
81
|
+
This license becomes null and void if any of the above conditions are
|
|
82
|
+
not met.
|
|
83
|
+
|
|
84
|
+
DISCLAIMER
|
|
85
|
+
THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
|
86
|
+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
|
|
87
|
+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
|
|
88
|
+
OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
|
|
89
|
+
COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
|
|
90
|
+
INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
|
|
91
|
+
DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
|
92
|
+
FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
|
|
93
|
+
OTHER DEALINGS IN THE FONT SOFTWARE.
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
{
|
|
2
|
+
"upstream": {
|
|
3
|
+
"source": "https://github.com/clauseggers/Playfair/tree/6e115d70ee7ff6ed887babf3829ccd1de65fd2bd/fonts/TTF",
|
|
4
|
+
"commit": "6e115d70ee7ff6ed887babf3829ccd1de65fd2bd",
|
|
5
|
+
"licenseUrl": "https://raw.githubusercontent.com/clauseggers/Playfair/6e115d70ee7ff6ed887babf3829ccd1de65fd2bd/OFL.txt"
|
|
6
|
+
},
|
|
7
|
+
"license": "OFL-1.1",
|
|
8
|
+
"licenseFile": "OFL.txt",
|
|
9
|
+
"licenseSha256": "e414e07f7a4da16ed47ebec80d52dd79f21d3ca42bc92385a755d8078a038814",
|
|
10
|
+
"reservedFontNames": [
|
|
11
|
+
"Playfair Display"
|
|
12
|
+
],
|
|
13
|
+
"copyright": "Copyright 2017 The Playfair Display Project Authors (https://github.com/clauseggers/Playfair-Display), with Reserved Font Name \"Playfair Display\".",
|
|
14
|
+
"faces": [
|
|
15
|
+
{
|
|
16
|
+
"file": "PlayfairDisplay-Regular.ttf",
|
|
17
|
+
"family": "Playfair Display",
|
|
18
|
+
"weight": 400,
|
|
19
|
+
"italic": false,
|
|
20
|
+
"sha256": "70ef3ee8de32dc81c39f2733a4a2a050c7e6ba78a2f1632f9d5c6cfd482c3abb",
|
|
21
|
+
"upstreamUrl": "https://raw.githubusercontent.com/clauseggers/Playfair/6e115d70ee7ff6ed887babf3829ccd1de65fd2bd/fonts/TTF/PlayfairDisplay-Regular.ttf"
|
|
22
|
+
},
|
|
23
|
+
{
|
|
24
|
+
"file": "PlayfairDisplay-Italic.ttf",
|
|
25
|
+
"family": "Playfair Display",
|
|
26
|
+
"weight": 400,
|
|
27
|
+
"italic": true,
|
|
28
|
+
"sha256": "30a7eb5a9309754d4b3e205e6435ef07d80e1b86735774b2ace427f6ed61f991",
|
|
29
|
+
"upstreamUrl": "https://raw.githubusercontent.com/clauseggers/Playfair/6e115d70ee7ff6ed887babf3829ccd1de65fd2bd/fonts/TTF/PlayfairDisplay-Italic.ttf"
|
|
30
|
+
},
|
|
31
|
+
{
|
|
32
|
+
"file": "PlayfairDisplay-Bold.ttf",
|
|
33
|
+
"family": "Playfair Display",
|
|
34
|
+
"weight": 700,
|
|
35
|
+
"italic": false,
|
|
36
|
+
"sha256": "898a01a59214578e72012131ef4c346844c1fd35613f4ee113a37d61a094a2d0",
|
|
37
|
+
"upstreamUrl": "https://raw.githubusercontent.com/clauseggers/Playfair/6e115d70ee7ff6ed887babf3829ccd1de65fd2bd/fonts/TTF/PlayfairDisplay-Bold.ttf"
|
|
38
|
+
},
|
|
39
|
+
{
|
|
40
|
+
"file": "PlayfairDisplay-BoldItalic.ttf",
|
|
41
|
+
"family": "Playfair Display",
|
|
42
|
+
"weight": 700,
|
|
43
|
+
"italic": true,
|
|
44
|
+
"sha256": "bd3b48ca605438de4337d05ece1ecb9e4149a975d3207174f28e02098bbec3ff",
|
|
45
|
+
"upstreamUrl": "https://raw.githubusercontent.com/clauseggers/Playfair/6e115d70ee7ff6ed887babf3829ccd1de65fd2bd/fonts/TTF/PlayfairDisplay-BoldItalic.ttf"
|
|
46
|
+
}
|
|
47
|
+
]
|
|
48
|
+
}
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
Copyright 2010 The Raleway Project Authors (impallari@gmail.com), with Reserved Font Name "Raleway".
|
|
2
|
+
|
|
3
|
+
This Font Software is licensed under the SIL Open Font License, Version 1.1.
|
|
4
|
+
This license is copied below, and is also available with a FAQ at:
|
|
5
|
+
http://scripts.sil.org/OFL
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
-----------------------------------------------------------
|
|
9
|
+
SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
|
|
10
|
+
-----------------------------------------------------------
|
|
11
|
+
|
|
12
|
+
PREAMBLE
|
|
13
|
+
The goals of the Open Font License (OFL) are to stimulate worldwide
|
|
14
|
+
development of collaborative font projects, to support the font creation
|
|
15
|
+
efforts of academic and linguistic communities, and to provide a free and
|
|
16
|
+
open framework in which fonts may be shared and improved in partnership
|
|
17
|
+
with others.
|
|
18
|
+
|
|
19
|
+
The OFL allows the licensed fonts to be used, studied, modified and
|
|
20
|
+
redistributed freely as long as they are not sold by themselves. The
|
|
21
|
+
fonts, including any derivative works, can be bundled, embedded,
|
|
22
|
+
redistributed and/or sold with any software provided that any reserved
|
|
23
|
+
names are not used by derivative works. The fonts and derivatives,
|
|
24
|
+
however, cannot be released under any other type of license. The
|
|
25
|
+
requirement for fonts to remain under this license does not apply
|
|
26
|
+
to any document created using the fonts or their derivatives.
|
|
27
|
+
|
|
28
|
+
DEFINITIONS
|
|
29
|
+
"Font Software" refers to the set of files released by the Copyright
|
|
30
|
+
Holder(s) under this license and clearly marked as such. This may
|
|
31
|
+
include source files, build scripts and documentation.
|
|
32
|
+
|
|
33
|
+
"Reserved Font Name" refers to any names specified as such after the
|
|
34
|
+
copyright statement(s).
|
|
35
|
+
|
|
36
|
+
"Original Version" refers to the collection of Font Software components as
|
|
37
|
+
distributed by the Copyright Holder(s).
|
|
38
|
+
|
|
39
|
+
"Modified Version" refers to any derivative made by adding to, deleting,
|
|
40
|
+
or substituting -- in part or in whole -- any of the components of the
|
|
41
|
+
Original Version, by changing formats or by porting the Font Software to a
|
|
42
|
+
new environment.
|
|
43
|
+
|
|
44
|
+
"Author" refers to any designer, engineer, programmer, technical
|
|
45
|
+
writer or other person who contributed to the Font Software.
|
|
46
|
+
|
|
47
|
+
PERMISSION & CONDITIONS
|
|
48
|
+
Permission is hereby granted, free of charge, to any person obtaining
|
|
49
|
+
a copy of the Font Software, to use, study, copy, merge, embed, modify,
|
|
50
|
+
redistribute, and sell modified and unmodified copies of the Font
|
|
51
|
+
Software, subject to the following conditions:
|
|
52
|
+
|
|
53
|
+
1) Neither the Font Software nor any of its individual components,
|
|
54
|
+
in Original or Modified Versions, may be sold by itself.
|
|
55
|
+
|
|
56
|
+
2) Original or Modified Versions of the Font Software may be bundled,
|
|
57
|
+
redistributed and/or sold with any software, provided that each copy
|
|
58
|
+
contains the above copyright notice and this license. These can be
|
|
59
|
+
included either as stand-alone text files, human-readable headers or
|
|
60
|
+
in the appropriate machine-readable metadata fields within text or
|
|
61
|
+
binary files as long as those fields can be easily viewed by the user.
|
|
62
|
+
|
|
63
|
+
3) No Modified Version of the Font Software may use the Reserved Font
|
|
64
|
+
Name(s) unless explicit written permission is granted by the corresponding
|
|
65
|
+
Copyright Holder. This restriction only applies to the primary font name as
|
|
66
|
+
presented to the users.
|
|
67
|
+
|
|
68
|
+
4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
|
|
69
|
+
Software shall not be used to promote, endorse or advertise any
|
|
70
|
+
Modified Version, except to acknowledge the contribution(s) of the
|
|
71
|
+
Copyright Holder(s) and the Author(s) or with their explicit written
|
|
72
|
+
permission.
|
|
73
|
+
|
|
74
|
+
5) The Font Software, modified or unmodified, in part or in whole,
|
|
75
|
+
must be distributed entirely under this license, and must not be
|
|
76
|
+
distributed under any other license. The requirement for fonts to
|
|
77
|
+
remain under this license does not apply to any document created
|
|
78
|
+
using the Font Software.
|
|
79
|
+
|
|
80
|
+
TERMINATION
|
|
81
|
+
This license becomes null and void if any of the above conditions are
|
|
82
|
+
not met.
|
|
83
|
+
|
|
84
|
+
DISCLAIMER
|
|
85
|
+
THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
|
86
|
+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
|
|
87
|
+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
|
|
88
|
+
OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
|
|
89
|
+
COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
|
|
90
|
+
INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
|
|
91
|
+
DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
|
92
|
+
FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
|
|
93
|
+
OTHER DEALINGS IN THE FONT SOFTWARE.
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
{
|
|
2
|
+
"upstream": {
|
|
3
|
+
"source": "https://github.com/googlefonts/Raleway/tree/7e0be846a3097743b9bf442eb8e65bc1fd96c934/fonts/TTF",
|
|
4
|
+
"commit": "7e0be846a3097743b9bf442eb8e65bc1fd96c934",
|
|
5
|
+
"licenseUrl": "https://raw.githubusercontent.com/googlefonts/Raleway/7e0be846a3097743b9bf442eb8e65bc1fd96c934/OFL.txt"
|
|
6
|
+
},
|
|
7
|
+
"license": "OFL-1.1",
|
|
8
|
+
"licenseFile": "OFL.txt",
|
|
9
|
+
"licenseSha256": "7e946cf1171784d1015279e7dc35f827957a6b5d1f1f659ae0c98e5f5e37ed9b",
|
|
10
|
+
"reservedFontNames": [
|
|
11
|
+
"Raleway"
|
|
12
|
+
],
|
|
13
|
+
"copyright": "Copyright 2010 The Raleway Project Authors (impallari@gmail.com), with Reserved Font Name \"Raleway\".",
|
|
14
|
+
"faces": [
|
|
15
|
+
{
|
|
16
|
+
"file": "Raleway-Regular.ttf",
|
|
17
|
+
"family": "Raleway",
|
|
18
|
+
"weight": 400,
|
|
19
|
+
"italic": false,
|
|
20
|
+
"sha256": "cb70f8815eecd850263d54fa59286377b1d7362bec612e981155a00039d8b513",
|
|
21
|
+
"upstreamUrl": "https://raw.githubusercontent.com/googlefonts/Raleway/7e0be846a3097743b9bf442eb8e65bc1fd96c934/fonts/TTF/Raleway-Regular.ttf"
|
|
22
|
+
},
|
|
23
|
+
{
|
|
24
|
+
"file": "Raleway-Italic.ttf",
|
|
25
|
+
"family": "Raleway",
|
|
26
|
+
"weight": 400,
|
|
27
|
+
"italic": true,
|
|
28
|
+
"sha256": "63f52b6d8e88afa43d94162147ff55846f28af630d834018de5cb7ccc75a8ee8",
|
|
29
|
+
"upstreamUrl": "https://raw.githubusercontent.com/googlefonts/Raleway/7e0be846a3097743b9bf442eb8e65bc1fd96c934/fonts/TTF/Raleway-Italic.ttf"
|
|
30
|
+
},
|
|
31
|
+
{
|
|
32
|
+
"file": "Raleway-Bold.ttf",
|
|
33
|
+
"family": "Raleway",
|
|
34
|
+
"weight": 700,
|
|
35
|
+
"italic": false,
|
|
36
|
+
"sha256": "6894481ab1c298e9c66f23455ecf05ccb25393d719a6b2d63428358c0409d2d0",
|
|
37
|
+
"upstreamUrl": "https://raw.githubusercontent.com/googlefonts/Raleway/7e0be846a3097743b9bf442eb8e65bc1fd96c934/fonts/TTF/Raleway-Bold.ttf"
|
|
38
|
+
},
|
|
39
|
+
{
|
|
40
|
+
"file": "Raleway-BoldItalic.ttf",
|
|
41
|
+
"family": "Raleway",
|
|
42
|
+
"weight": 700,
|
|
43
|
+
"italic": true,
|
|
44
|
+
"sha256": "57eb1a701136eca30b52a4847edcec93daa53f0b5597dd98dbc0b07f475ce44a",
|
|
45
|
+
"upstreamUrl": "https://raw.githubusercontent.com/googlefonts/Raleway/7e0be846a3097743b9bf442eb8e65bc1fd96c934/fonts/TTF/Raleway-BoldItalic.ttf"
|
|
46
|
+
}
|
|
47
|
+
]
|
|
48
|
+
}
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|