summaryrefslogtreecommitdiff
path: root/autotable_fontsettings.php
blob: 006b7d8065b509e7af9ecada1c6fd24175849c28 (plain)
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
<?php
/*
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation; either version 2 of the License, or
 * (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
 * GNU General Public License for more details.
 */
?>
<span class="autotable_fontheight">
	<i style="font-size: 8pt;" class="fas fa-font"></i><i class="fas fa-font"></i>
	<select onchange="$('#<?=$id?>_wrapper').css('font-size', $(this).val()); $(window).resize();">
		<option value=""></option>
		<option value="8pt">8pt</option>
		<option value="9pt">9pt</option>
		<option value="10pt">10pt</option>
		<option value="11pt">11pt</option>
		<option value="12pt">12pt</option>
		<option value="13pt">13pt</option>
		<option value="14pt">14pt</option>
		<option value="16pt">16pt</option>
		<option value="18pt">18pt</option>
	</select>
</span>

<span class="autotable_changefont">
	<i class="fas fa-font"></i>
	<select onchange="$('#<?=$id?>_wrapper').css('font-family', $(this).val()); $(window).resize();">
		<option value=""></option>
		<option style="font-family: Consolas !important" value="Consolas">Consolas</option>
		<option style="font-family: 'Lucida Console' !important" value="Lucida Console">Lucida Console</option>
		<option style="font-family: 'Lucida Sans' !important" value="Lucida Sans">Lucida Sans</option>
		<option style="font-family: 'Courier New' !important" value="Courier New">Courier New</option>
		<option style="font-family: 'Arial Narrow' !important" value="Arial Narrow">Arial Narrow</option>
		<option style="font-family: Arial !important" value="Arial">Arial</option>
	</select>
</span>