Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion arcade/examples/drawing_text.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
DEFAULT_FONT_SIZE = 20

# Load fonts bumbled with Arcade such as the Kenney fonts
arcade.resources.load_system_fonts()
arcade.resources.load_kenney_fonts()


class GameView(arcade.View):
Expand Down
2 changes: 1 addition & 1 deletion arcade/examples/drawing_text_objects.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
DEFAULT_FONT_SIZE = 20

# Load fonts bumbled with Arcade such as the Kenney fonts
arcade.resources.load_system_fonts()
arcade.resources.load_kenney_fonts()


class GameView(arcade.View):
Expand Down
2 changes: 1 addition & 1 deletion arcade/examples/drawing_text_objects_batch.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
from pyglet.graphics import Batch

# Load fonts bumbled with Arcade such as the Kenney fonts
arcade.resources.load_system_fonts()
arcade.resources.load_kenney_fonts()

WINDOW_WIDTH = 1280 # Window width in pixels
WINDOW_HEIGHT = 800 # Window height in pixels
Expand Down
2 changes: 1 addition & 1 deletion arcade/examples/gui/1_layouts.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
import arcade
from arcade.gui import UIAnchorLayout, UIImage, UITextArea

arcade.resources.load_system_fonts()
arcade.resources.load_kenney_fonts()

DESCRIPTION = """How to place widgets on the screen?

Expand Down
2 changes: 1 addition & 1 deletion arcade/examples/gui/2_widgets.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
)

# Load system fonts
arcade.resources.load_system_fonts()
arcade.resources.load_kenney_fonts()

DEFAULT_FONT = ("Kenney Future", "arial")
DETAILS_FONT = ("arial", "Kenney Future Narrow")
Expand Down
2 changes: 1 addition & 1 deletion arcade/examples/gui/6_size_hints.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
UIView,
)

arcade.resources.load_system_fonts()
arcade.resources.load_kenney_fonts()

SIZE_HINT_TEXT = textwrap.dedent(
"""
Expand Down
2 changes: 1 addition & 1 deletion arcade/examples/gui/exp_hidden_password.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
from arcade import resources

# Load kenny fonts shipped with arcade
resources.load_system_fonts()
resources.load_kenney_fonts()


class MyView(UIView):
Expand Down
2 changes: 1 addition & 1 deletion arcade/resources/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,7 @@ def list_built_in_assets(
return filtered_paths


def load_system_fonts() -> None:
def load_kenney_fonts() -> None:
"""Loads all the fonts in arcade's system directory.

Currently, this is only the Kenney fonts::
Expand Down
2 changes: 1 addition & 1 deletion tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
WINDOW = None
OFFSCREEN = None

arcade.resources.load_system_fonts()
arcade.resources.load_kenney_fonts()


def make_window_caption(request=None, prefix="Testing", sep=" - ") -> str:
Expand Down
Loading