font changes
parent
f00fff0d2b
commit
70ae5846c5
|
@ -583,14 +583,14 @@ div.jGraduate_Slider img {
|
|||
}
|
||||
|
||||
@font-face {
|
||||
font-family: 'Bair';
|
||||
font-family: 'Bankoli';
|
||||
src: url('font-files/bair.ttf') format('truetype');
|
||||
font-weight: normal;
|
||||
font-style: normal;
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: 'MPlus';
|
||||
font-family: 'Rounded MPlus 1c';
|
||||
src: url('font-files/MPLUSRounded1c-Regular.ttf') format('truetype');
|
||||
font-weight: normal;
|
||||
font-style: normal;
|
||||
|
|
|
@ -7195,7 +7195,7 @@ $.extend(all_properties.text, {
|
|||
fill: "#000000",
|
||||
stroke_width: 0,
|
||||
font_size: 24,
|
||||
font_family: 'Bair, sans-serif'
|
||||
font_family: 'Bankoli, sans-serif'
|
||||
});
|
||||
|
||||
// Current shape style properties
|
||||
|
@ -16185,7 +16185,7 @@ window.methodDraw = function() {
|
|||
showRulers: (svgedit.browser.isTouch()) ? false : true,
|
||||
show_outside_canvas: false,
|
||||
no_save_warning: true,
|
||||
initFont: 'Bair, sans-serif'
|
||||
initFont: 'Bankoli, sans-serif'
|
||||
};
|
||||
var customHandlers = {};
|
||||
Editor.curConfig = curConfig;
|
||||
|
|
|
@ -10,7 +10,7 @@
|
|||
<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.">
|
||||
|
||||
<link rel="stylesheet" href="all.css?t=1606259959204">
|
||||
<link rel="stylesheet" href="all.css?t=1606774407760">
|
||||
</head>
|
||||
<body>
|
||||
|
||||
|
@ -275,13 +275,13 @@
|
|||
<div class="toolset draginput select twocol" id="tool_font_family">
|
||||
<!-- Font family -->
|
||||
<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>
|
||||
<input id="font_family" data-title="Change Font Family" size="12" type="hidden" />
|
||||
<select id="font_family_dropdown">
|
||||
<option value="'Bair', sans-serif">Bair</option>
|
||||
<option value="MPlus, Courier, monospace">M PLUS Rounded 1c</option>
|
||||
<option value="NotoSerifJP">Noto Serif JP</option>
|
||||
<option value="'Bankoli', sans-serif">Bankoli</option>
|
||||
<option value="'Rounded MPlus 1c', Courier, monospace">Rounded MPlus 1c</option>
|
||||
<option value="'Noto Serif JP', serif">Noto Serif JP</option>
|
||||
</select>
|
||||
<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>
|
||||
|
@ -634,7 +634,7 @@
|
|||
</div>
|
||||
|
||||
|
||||
<script src="all.js?t=1606259959204"></script>
|
||||
<script src="all.js?t=1606774407760"></script>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
}
|
||||
|
||||
@font-face {
|
||||
font-family: 'M PLUS Rounded 1c';
|
||||
font-family: 'Rounded MPlus 1c';
|
||||
src: url('font-files/MPLUSRounded1c-Regular.ttf') format('truetype');
|
||||
font-weight: normal;
|
||||
font-style: normal;
|
||||
|
|
|
@ -293,7 +293,7 @@
|
|||
<input id="font_family" data-title="Change Font Family" size="12" type="hidden" />
|
||||
<select id="font_family_dropdown">
|
||||
<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>
|
||||
</select>
|
||||
<div class="tool_button" id="tool_bold" data-title="Bold Text [B]">B</div>
|
||||
|
|
|
@ -22,7 +22,7 @@ window.methodDraw = function() {
|
|||
showRulers: (svgedit.browser.isTouch()) ? false : true,
|
||||
show_outside_canvas: false,
|
||||
no_save_warning: true,
|
||||
initFont: 'Bair, sans-serif'
|
||||
initFont: 'Bankoli, sans-serif'
|
||||
};
|
||||
var customHandlers = {};
|
||||
Editor.curConfig = curConfig;
|
||||
|
|
|
@ -207,7 +207,7 @@ $.extend(all_properties.text, {
|
|||
fill: "#000000",
|
||||
stroke_width: 0,
|
||||
font_size: 24,
|
||||
font_family: 'Bair, sans-serif'
|
||||
font_family: 'Bankoli, sans-serif'
|
||||
});
|
||||
|
||||
// Current shape style properties
|
||||
|
|
Loading…
Reference in New Issue