Skip to content

Commit

Permalink
7.94
Browse files Browse the repository at this point in the history
Default font -> system default font (trying to fix bad UTF-8 bad characters)
  • Loading branch information
tonikelope committed Oct 19, 2023
1 parent 3988eb7 commit 5667ab9
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down
7 changes: 4 additions & 3 deletions src/main/java/com/tonikelope/megabasterd/MainPanel.java
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@
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;
Expand All @@ -69,7 +70,7 @@
*/
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;
Expand All @@ -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";
Expand Down Expand Up @@ -646,7 +647,7 @@ public void loadUserSettings() {
if (_font != null) {
if (_font.equals("DEFAULT")) {

GUI_FONT = createAndRegisterFont("/fonts/Roboto-Regular.ttf");
GUI_FONT = new JLabel().getFont();

} else {

Expand Down
Binary file removed src/main/resources/fonts/Roboto-Regular.ttf
Binary file not shown.
Binary file modified src/main/resources/images/mbasterd_screen.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 5667ab9

Please sign in to comment.