Commit a28d18d8 authored by Nemecle's avatar Nemecle
Browse files

changed font loading strategy

parent 5c98a267
......@@ -75,7 +75,7 @@ function get_noise(x,y) {
}
function preload() {
GENERAL_FONT = loadFont("inconsolata-v20-latin-ext_latin-regular.ttf");
//GENERAL_FONT = loadFont("./inconsolata-v20-latin-ext_latin-regular.ttf");
}
function setup() {
......@@ -309,7 +309,7 @@ function draw_city_name(city_name="ASTREOL") {
textSize(text_size);
textStyle(BOLD);
textFont(GENERAL_FONT);
textFont("Inconsolata");
let text_w = textWidth(city_name);
let text_h = text_size;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment