Bug#1111365: renpy fails to start with missing font 'fonts/Roboto-Light.ttf'

Sébastien Dailly 2025iog7eehi at dailly.me
Sun Aug 17 13:31:31 BST 2025


Package: renpy
Version: 8.3.4+dfsg-2
Severity: important
X-Debbugs-Cc: 2025iog7eehi at dailly.me

When I start renpy, I have an error telling about a missing font:

Full traceback:
  File "launcher/game/front_page.rpy", line 241, in script call
    call choose_language
  File "launcher/game/preferences.rpy", line 466, in script
    call screen choose_language
  File "/usr/share/games/renpy/renpy/ast.py", line 1980, in execute
    self.call("execute")
  File "/usr/share/games/renpy/renpy/ast.py", line 1959, in call
    return renpy.statements.call(method, parsed, *args, **kwargs)
  File "/usr/share/games/renpy/renpy/statements.py", line 374, in call
    return method(parsed, *args, **kwargs)
  File "renpy/common/000statements.rpy", line 671, in execute_call_screen
    store._return = renpy.call_screen(name, *args, **kwargs)
  File "/usr/share/games/renpy/renpy/exports/statementexports.py", line 345, in
call_screen
    rv = renpy.ui.interact(mouse="screen", type="screen",
roll_forward=roll_forward)
  File "/usr/share/games/renpy/renpy/ui.py", line 301, in interact
    rv = renpy.game.interface.interact(roll_forward=roll_forward, **kwargs)
  File "/usr/share/games/renpy/renpy/display/core.py", line 2215, in interact
    repeat, rv = self.interact_core(preloads=preloads, trans_pause=trans_pause,
pause=pause, pause_start=pause_start, pause_modal=pause_modal, **kwargs) #
type: ignore
  File "/usr/share/games/renpy/renpy/display/core.py", line 2879, in
interact_core
    self.draw_screen(root_widget, fullscreen_video, (not fullscreen_video) or
video_frame_drawn)
  File "/usr/share/games/renpy/renpy/display/core.py", line 1381, in
draw_screen
    surftree = renpy.display.render.render_screen(
  …
  File "/usr/share/games/renpy/renpy/text/text.py", line 2600, in render
    virtual_layout = Layout(self, width, height, renders, drawable_res=False,
size_only=True)
  File "/usr/share/games/renpy/renpy/text/text.py", line 767, in __init__
    glyphs = ts.glyphs(s, self)
  File "/usr/share/games/renpy/renpy/text/text.py", line 340, in glyphs
    fo = font.get_font(self.font, self.size, self.bold, self.italic, 0,
self.antialias, self.vertical, self.hinting, layout.oversample, self.shaper,
self.instance, self.axis)
  File "/usr/share/games/renpy/renpy/text/font.py", line 745, in get_font
    face = load_face(fn, shaper)
  File "/usr/share/games/renpy/renpy/text/font.py", line 673, in load_face
    raise Exception("Could not find font {0!r}.".format(orig_fn))
Exception: Could not find font 'fonts/Roboto-Light.ttf'.

While running game code:
  File "launcher/game/front_page.rpy", line 241, in script call
    call choose_language
  File "launcher/game/preferences.rpy", line 466, in script
    call screen choose_language
  File "renpy/common/000statements.rpy", line 671, in execute_call_screen
    store._return = renpy.call_screen(name, *args, **kwargs)
Exception: Could not find font 'fonts/Roboto-Light.ttf'.

The package fonts-roboto is installed in the system.


-- System Information:
Debian Release: 13.0
  APT prefers stable-security
  APT policy: (500, 'stable-security'), (500, 'oldstable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 6.12.41+deb13-amd64 (SMP w/32 CPU threads; PREEMPT)
Kernel taint flags: TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages renpy depends on:
ii  fonts-dejavu-core     2.37-8
ii  fonts-motoya-l-cedar  1.01-7
ii  fonts-nanum           20200506-1
ii  fonts-roboto          2:0~20170802-4
ii  python3               3.13.5-1
ii  python3-ecdsa         0.19.1-1
ii  python3-legacy-cgi    2.6.3-1
ii  python3-pefile        2024.8.26-2.1
ii  python3-pygame-sdl2   8.2.2-1+b3
ii  python3-renpy         8.3.4+dfsg-2

Versions of packages renpy recommends:
ii  python3-six  1.17.0-1
ii  python3-tk   3.13.5-1
ii  zenity       4.1.90-1

renpy suggests no packages.

-- no debconf information


More information about the Pkg-games-devel mailing list