-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
167 lines (155 loc) · 6.64 KB
/
index.html
File metadata and controls
167 lines (155 loc) · 6.64 KB
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
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Webfont optimization - Recreation</title>
<link rel="stylesheet" href="styles.css">
<link href="https://fonts.googleapis.com/css2?family=Montserrat:wght@400;700&display=swap" rel="stylesheet">
</head>
<body>
<header class="top-nav">
<div class="nav-links">
<a href="#" class="active">Webfont generator</a>
<a href="#">Unpack TTC</a>
<a href="#">Font formats</a>
<a href="#">Examples</a>
<a href="#">Feedback</a>
<a href="#">Donate</a>
<a href="https://gwfh.mranftl.com/fonts" target="_blank">Fonts URL(SIZE)</a>
</div>
<div class="donate1">
<a href="#" class="donate-btn">Donate</a>
</div>
</header>
<main class="container">
<h1 class="logo">
<span class="logo-main">Font Optimizer</span>
<span class="logo-sub">MODERN AND SIMPLE CSS @FONT-FACE optimization</span>
</h1>
<div class="actions-row">
<button class="add-fonts-btn">Add fonts</button>
<button class="convert-btn">Convert</button>
</div>
<p class="supported-formats">
TTF, OTF, WOFF, WOFF2, or SVG. 1 GB per file. Multiupload and drag-and-drop are supported.
</p>
<div class="description">
<p><em>The <strong>@font-face</strong> CSS rule allows web developers to specify online fonts to display text on their web pages. By allowing authors to provide their own fonts, <strong>@font-face</strong> eliminates the need to depend on the limited number of fonts users have installed on their computers.</p>
<p><strong>Usage:</strong> click the <strong>Add font(s)</strong> button, select the TTF, OTF, WOFF, WOFF2, or SVG fonts on your computer and click <strong>Convert</strong>. Download zip archive with converted fonts, CSS styles and demo page. That's all!</em></p>
</div>
<div class="settings-panel">
<div class="settings-grid">
<div class="setting-item">
<label class="toggle-label">
<span class="toggle-text">On</span>
<input type="checkbox" checked>
<span class="slider round on"></span>
</label>
<span class="label-text">Family support</span>
</div>
<div class="setting-item">
<label class="toggle-label">
<span class="toggle-text">Off</span>
<input type="checkbox">
<span class="slider round"></span>
</label>
<span class="label-text">Fix vertical metrics</span>
</div>
<div class="setting-item">
<label class="toggle-label">
<span class="toggle-text">Off</span>
<input type="checkbox">
<span class="slider round"></span>
</label>
<span class="label-text">Add local rule</span>
</div>
<div class="setting-item">
<label class="toggle-label">
<span class="toggle-text">Off</span>
<input type="checkbox">
<span class="slider round"></span>
</label>
<span class="label-text">Base64 encode</span>
</div>
<div class="setting-row">
<span class="row-label">Formats</span>
<div class="checkbox-group">
<label><input type="checkbox"> TTF</label>
<label><input type="checkbox" checked> WOFF</label>
<label><input type="checkbox"> SVG</label>
<label><input type="checkbox"> EOT</label>
<label><input type="checkbox" checked> WOFF2</label>
</div>
</div>
<div class="setting-row">
<span class="row-label">Hinting</span>
<select>
<option>Keep existing</option>
<option>TTFAutohint</option>
<option>Strip hinting</option>
</select>
</div>
<div class="setting-row">
<span class="row-label">Demo page language</span>
<select>
<option>without demo page</option>
<option>English</option>
<option>Russian</option>
<option>Georgian</option>
<option>Hindi</option>
</select>
</div>
<div class="setting-row">
<span class="row-label">Subsets</span>
<select> <!-- I am adding some at a someting after research-->
<option>All</option>
<option>Arabic</option>
<option>Bengali</option>
<option>Kannad</option>
<option>Telugu</option>
<option>Gujarati</option>
<option>Malayalam</option>
<option>Myanmar</option>
<option>Tamil</option>
<option>Hindi</option>
<option>Urdu</option>
<option>Nepali</option>
<option>Marathi</option>
<option>Kashmiri</option>
<option>Spanish</option>
<option>French</option>
<option>Chinese(Mandarin)</option>
</select>
</div>
<div class="setting-row">
<span class="row-label">Characters</span>
<input type="text" value="0123abcDE etc.">
</div>
<div class="setting-row">
<span class="row-label">Unicode ranges</span>
<input type="text" value="002D-007E, u024F, U+0400-04FF, 41-5A etc.">
</div>
<div class="setting-row new-feature">
<span class="row-label">Font display <span>new</span></span>
<select>
<option>auto</option>
<option>block</option>
<option>swap</option>
<option>fallback</option>
<option>optional</option>
</select>
</div>
<div class="setting-row new-feature">
<span class="row-label">Fonts directory <span>new</span></span>
<input type="text" value="path/to/directory">
</div>
</div>
</div>
</main>
<footer>
© 2025 - 2035 OddLabs
</footer>
<script src="script.js"></script>
</body>
</html>