This repository has been archived by the owner on Apr 22, 2023. It is now read-only.
forked from danmarshall/google-font-to-svg-path
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
executable file
·96 lines (95 loc) · 6.87 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
<!DOCTYPE html>
<head>
<meta charset="utf-8">
<title>google-font-to-svg-path</title>
<meta name="description" content="google-font-to-svg-path">
<link rel="shortcut icon" type="image/x-icon" href="./img/x_icon.svg">
<link rel="stylesheet" type="text/css" href="./css/index.css">
<link rel="stylesheet" type="text/css" href="./css/rigel/rigel.spi.min.css">
<script src="https://maker.js.org/target/js/browser.maker.js" type="text/javascript"></script>
<script src="https://cdn.jsdelivr.net/npm/bezier-js@2/bezier.js"></script>
<script src="opentype.js" type="text/javascript"></script>
<script src="index.js" type="text/javascript"></script>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/mdbassit/Coloris@latest/dist/coloris.min.css">
<script src="https://cdn.jsdelivr.net/gh/mdbassit/Coloris@latest/dist/coloris.min.js"></script>
<script data-ad-client="ca-pub-9656548229423934" async=""
src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
</head>
<div class="--rg--plx">
<div class="--rg--plx0 --head--flex">
<div>
<h1 id="heading">Google Font to Svg </h1>
</div><label class="switch"><input id="dm" type="checkbox"><span class="slider round"></span></label>
<div class="--nav"><img alt="GitHub forks"
src="https://img.shields.io/github/forks/danmarshall/google-font-to-svg-path?color=8f8f8f&logo=github&logoColor=8f8f8f&style=for-the-badge"
style="height:1.5625rem;"><img alt="GitHub forks"
src="https://img.shields.io/github/stars/danmarshall/google-font-to-svg-path?color=8f8f8f&logo=github&logoColor=8f8f8f&style=for-the-badge"
style="height:1.5625rem;"><img alt="GitHub forks"
src="https://img.shields.io/github/watchers/danmarshall/google-font-to-svg-path?color=8f8f8f&logo=github&logoColor=8f8f8f&style=for-the-badge"
style="height:1.5625rem;"><a href="https://github.com/danmarshall/google-font-to-svg-path"
target="_blank"><img alt="GitHub forks"
src="https://img.shields.io/badge/Github-Repo-8f8f8f?color=8f8f8f&logo=github&logoColor=8f8f8f&style=for-the-badge"
style="height:1.5625rem;"></a></div>
</div>
<div class="--rg--plx1 --bg--top">
<div class="--rg--grid --rg--46">
<div class="--flex --col"><label>Google font: <select class="--select"
id="font-select"></select></label><label>(optional) upload font: <div class="--nav"><input
class="--btn" id="font-upload" type="file"><button class="--btn"
id="font-upload-remove">×</button></div></label>
<div class="--nav"><label>variant: <select class="--select"
id="font-variant"></select></label><label>Dxf Units: <select class="--select"
id="dxf-units"></select></label><label>Fill rule: <select class="--select"
id="input-fill-rule">
<option value="evenodd">evenodd</option>
<option value="nonzero">nonzero</option>
</select></label></div>
<div class="--nav">
<div class="--form--group --field --center"><input class="--form--field" id="input-text" type="text"
value="Varb" placeholder="text" autocomplete="off"><label class="--form--label">text</label>
</div>
<div class="--form--group --field --center"><input class="input-size --form--field" id="input-size"
placeholder="size" autocomplete="off" type="number" value="100"><label
class="--form--label">size</label></div>
</div>
<div class="--nav">
<div class="--form--group"><input class="input-fill --form--field" id="input-fill" type="text"
value="#000" data-coloris="" placeholder="fill" autocomplete="off"><label
class="--form--label">fill</label></div>
<div class="--form--group"><input class="input-stroke --form--field" id="input-stroke" type="text"
value="#000" data-coloris="" autocomplete="off" placeholder="stroke"><label
class="--form--label">stroke </label></div>
</div>
<div class="--nav">
<div class="--form--group"><input class="--form--field" id="input-bezier-accuracy" type="text"
placeholder="auto"><label class="--form--label">bezier accuracy </label></div>
<div class="--form--group"> <input class="input-stroke-width --form--field" id="input-stroke-width"
type="text" value="0.25mm" placeholder="stroke width" autocomplete="off"><label
class="--form--label">stroke Width </label></div>
</div>
<div class="--nav"> <label>union:<input id="input-union" type="checkbox"></label><label>kerning: <input
id="input-kerning" type="checkbox" checked=""></label><label>fill: <input id="input-filled"
type="checkbox" checked=""></label><label>separate characters: <input id="input-separate"
type="checkbox"></label><label>Non-scaling stroke: <input class="input-stroke-non-scaling"
id="input-stroke-non-scaling" type="checkbox" checked=""></label></div>
</div>
<div>
<div style="height:9.375rem;">
<div class="--center" id="svg-render"></div>
</div>
<div class="--content--center --flex"><textarea id="output-svg" readonly=""></textarea></div>
<div class="--nav"><button class="--btn --nonlink" id="copy-to-clipboard-btn">copy to
clipboard</button><a class="--btn --nonlink" id="download-btn">Download Svg</a><a
class="--btn --nonlink" id="create-link">Create link</a><a class="--btn --nonlink"
id="dxf-btn">Download Dxf</a></div>
</div>
<script src="./js/darkmode.js"></script>
<div class="sidebar">
<script async="" src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
<!-- vertical--><ins class="adsbygoogle" style="display:block" data-ad-client="ca-pub-9656548229423934"
data-ad-slot="8489021387" data-ad-format="auto" data-full-width-responsive="true"></ins>
<script>(adsbygoogle = window.adsbygoogle || []).push({});</script>
</div>
</div>
</div>
</div><input id="dummy" name="dummy" type="hidden">