mirror of
https://github.com/tonikelope/megabasterd.git
synced 2025-04-29 14:14:37 +02:00
7.94
Default font -> system default font (trying to fix bad UTF-8 bad characters)
This commit is contained in:
parent
3988eb7f22
commit
5667ab9364
2
pom.xml
2
pom.xml
@ -3,7 +3,7 @@
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<groupId>com.tonikelope</groupId>
|
||||
<artifactId>MegaBasterd</artifactId>
|
||||
<version>7.93</version>
|
||||
<version>7.94</version>
|
||||
<packaging>jar</packaging>
|
||||
<repositories>
|
||||
<repository>
|
||||
|
@ -52,6 +52,7 @@ import static java.util.concurrent.Executors.newCachedThreadPool;
|
||||
import java.util.logging.Level;
|
||||
import static java.util.logging.Level.SEVERE;
|
||||
import java.util.logging.Logger;
|
||||
import javax.swing.JLabel;
|
||||
import javax.swing.JMenuItem;
|
||||
import javax.swing.JOptionPane;
|
||||
import static javax.swing.JOptionPane.QUESTION_MESSAGE;
|
||||
@ -69,7 +70,7 @@ import javax.swing.UIManager;
|
||||
*/
|
||||
public final class MainPanel {
|
||||
|
||||
public static final String VERSION = "7.93";
|
||||
public static final String VERSION = "7.94";
|
||||
public static final boolean FORCE_SMART_PROXY = false; //TRUE FOR DEBUGING SMART PROXY
|
||||
public static final int THROTTLE_SLICE_SIZE = 16 * 1024;
|
||||
public static final int DEFAULT_BYTE_BUFFER_SIZE = 16 * 1024;
|
||||
@ -80,7 +81,7 @@ public final class MainPanel {
|
||||
public static final String DEFAULT_LANGUAGE = "EN";
|
||||
public static final boolean DEFAULT_SMART_PROXY = false;
|
||||
public static final double FORCE_GARBAGE_COLLECTION_MAX_MEMORY_PERCENT = 0.7;
|
||||
public static Font GUI_FONT = createAndRegisterFont("/fonts/Roboto-Regular.ttf");
|
||||
public static Font GUI_FONT = new JLabel().getFont();
|
||||
public static final float ZOOM_FACTOR = 0.8f;
|
||||
public static final String DEFAULT_USER_AGENT = "Mozilla/5.0 (X11; Linux x86_64; rv:61.0) Gecko/20100101 Firefox/61.0";
|
||||
public static final String ICON_FILE = "/images/pica_roja_big.png";
|
||||
@ -646,7 +647,7 @@ public final class MainPanel {
|
||||
if (_font != null) {
|
||||
if (_font.equals("DEFAULT")) {
|
||||
|
||||
GUI_FONT = createAndRegisterFont("/fonts/Roboto-Regular.ttf");
|
||||
GUI_FONT = new JLabel().getFont();
|
||||
|
||||
} else {
|
||||
|
||||
|
Binary file not shown.
Binary file not shown.
Before Width: | Height: | Size: 209 KiB After Width: | Height: | Size: 208 KiB |
Loading…
x
Reference in New Issue
Block a user