mirror of
https://github.com/Azgaar/Fantasy-Map-Generator.git
synced 2025-12-17 09:41:24 +01:00
De-modulized script.js
This commit is contained in:
parent
ff3c70c179
commit
3471cfd271
2 changed files with 3 additions and 4 deletions
|
|
@ -6666,7 +6666,6 @@ function fantasyMap() {
|
|||
// Code from Kaiido's answer:
|
||||
// https://stackoverflow.com/questions/42402584/how-to-use-google-fonts-in-canvas-when-drawing-dom-objects-in-svg
|
||||
function GFontToDataURI(url) {
|
||||
"use strict";
|
||||
return fetch(url) // first fecth the embed stylesheet page
|
||||
.then(resp => resp.text()) // we only need the text of it
|
||||
.then(text => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue