font changes

master
Mark MacKay 2020-12-10 15:19:25 -06:00
parent f00fff0d2b
commit 70ae5846c5
7 changed files with 15 additions and 15 deletions

6
dist/all.css vendored
View File

@ -583,21 +583,21 @@ div.jGraduate_Slider img {
} }
@font-face { @font-face {
font-family: 'Bair'; font-family: 'Bankoli';
src: url('font-files/bair.ttf') format('truetype'); src: url('font-files/bair.ttf') format('truetype');
font-weight: normal; font-weight: normal;
font-style: normal; font-style: normal;
} }
@font-face { @font-face {
font-family: 'MPlus'; font-family: 'Rounded MPlus 1c';
src: url('font-files/MPLUSRounded1c-Regular.ttf') format('truetype'); src: url('font-files/MPLUSRounded1c-Regular.ttf') format('truetype');
font-weight: normal; font-weight: normal;
font-style: normal; font-style: normal;
} }
@font-face { @font-face {
font-family: 'NotoSerifJP'; font-family: 'Noto Serif JP';
src: url('font-files/NotoSerifJP-Regular.otf') format('opentype'); src: url('font-files/NotoSerifJP-Regular.otf') format('opentype');
font-weight: normal; font-weight: normal;
font-style: normal; font-style: normal;

4
dist/all.js vendored
View File

@ -7195,7 +7195,7 @@ $.extend(all_properties.text, {
fill: "#000000", fill: "#000000",
stroke_width: 0, stroke_width: 0,
font_size: 24, font_size: 24,
font_family: 'Bair, sans-serif' font_family: 'Bankoli, sans-serif'
}); });
// Current shape style properties // Current shape style properties
@ -16185,7 +16185,7 @@ window.methodDraw = function() {
showRulers: (svgedit.browser.isTouch()) ? false : true, showRulers: (svgedit.browser.isTouch()) ? false : true,
show_outside_canvas: false, show_outside_canvas: false,
no_save_warning: true, no_save_warning: true,
initFont: 'Bair, sans-serif' initFont: 'Bankoli, sans-serif'
}; };
var customHandlers = {}; var customHandlers = {};
Editor.curConfig = curConfig; Editor.curConfig = curConfig;

12
dist/index.html vendored
View File

@ -10,7 +10,7 @@
<meta charset="utf-8"> <meta charset="utf-8">
<meta name="description" content="Method Draw is an open source SVG editor for the web, you can use it online without signing up."> <meta name="description" content="Method Draw is an open source SVG editor for the web, you can use it online without signing up.">
<link rel="stylesheet" href="all.css?t=1606259959204"> <link rel="stylesheet" href="all.css?t=1606774407760">
</head> </head>
<body> <body>
@ -275,13 +275,13 @@
<div class="toolset draginput select twocol" id="tool_font_family"> <div class="toolset draginput select twocol" id="tool_font_family">
<!-- Font family --> <!-- Font family -->
<span>Font</span> <span>Font</span>
<div id="preview_font" style="font-family: Bair, sans-serif;">Bair</div> <div id="preview_font" style="font-family: Bankoli, sans-serif;">Bankoli</div>
<div class="caret"></div> <div class="caret"></div>
<input id="font_family" data-title="Change Font Family" size="12" type="hidden" /> <input id="font_family" data-title="Change Font Family" size="12" type="hidden" />
<select id="font_family_dropdown"> <select id="font_family_dropdown">
<option value="'Bair', sans-serif">Bair</option> <option value="'Bankoli', sans-serif">Bankoli</option>
<option value="MPlus, Courier, monospace">M PLUS Rounded 1c</option> <option value="'Rounded MPlus 1c', Courier, monospace">Rounded MPlus 1c</option>
<option value="NotoSerifJP">Noto Serif JP</option> <option value="'Noto Serif JP', serif">Noto Serif JP</option>
</select> </select>
<div class="tool_button" id="tool_bold" data-title="Bold Text [B]">B</div> <div class="tool_button" id="tool_bold" data-title="Bold Text [B]">B</div>
<div class="tool_button" id="tool_italic" data-title="Italic Text [I]">i</div> <div class="tool_button" id="tool_italic" data-title="Italic Text [I]">i</div>
@ -634,7 +634,7 @@
</div> </div>
<script src="all.js?t=1606259959204"></script> <script src="all.js?t=1606774407760"></script>
</body> </body>
</html> </html>

View File

@ -6,7 +6,7 @@
} }
@font-face { @font-face {
font-family: 'M PLUS Rounded 1c'; font-family: 'Rounded MPlus 1c';
src: url('font-files/MPLUSRounded1c-Regular.ttf') format('truetype'); src: url('font-files/MPLUSRounded1c-Regular.ttf') format('truetype');
font-weight: normal; font-weight: normal;
font-style: normal; font-style: normal;

View File

@ -293,7 +293,7 @@
<input id="font_family" data-title="Change Font Family" size="12" type="hidden" /> <input id="font_family" data-title="Change Font Family" size="12" type="hidden" />
<select id="font_family_dropdown"> <select id="font_family_dropdown">
<option value="'Bankoli', sans-serif">Bankoli</option> <option value="'Bankoli', sans-serif">Bankoli</option>
<option value="'M PLUS Rounded 1c', Courier, monospace">M PLUS Rounded 1c</option> <option value="'Rounded MPlus 1c', Courier, monospace">Rounded MPlus 1c</option>
<option value="'Noto Serif JP', serif">Noto Serif JP</option> <option value="'Noto Serif JP', serif">Noto Serif JP</option>
</select> </select>
<div class="tool_button" id="tool_bold" data-title="Bold Text [B]">B</div> <div class="tool_button" id="tool_bold" data-title="Bold Text [B]">B</div>

View File

@ -22,7 +22,7 @@ window.methodDraw = function() {
showRulers: (svgedit.browser.isTouch()) ? false : true, showRulers: (svgedit.browser.isTouch()) ? false : true,
show_outside_canvas: false, show_outside_canvas: false,
no_save_warning: true, no_save_warning: true,
initFont: 'Bair, sans-serif' initFont: 'Bankoli, sans-serif'
}; };
var customHandlers = {}; var customHandlers = {};
Editor.curConfig = curConfig; Editor.curConfig = curConfig;

View File

@ -207,7 +207,7 @@ $.extend(all_properties.text, {
fill: "#000000", fill: "#000000",
stroke_width: 0, stroke_width: 0,
font_size: 24, font_size: 24,
font_family: 'Bair, sans-serif' font_family: 'Bankoli, sans-serif'
}); });
// Current shape style properties // Current shape style properties