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.
Hello, I think I have understood the cause of the error. In the official rinpy package, the fonts file are provided, (you can find the in the repo[1]). In the debian package, the two files where replaced by links to the font directory : ls -l lrwxrwxrwx 1 root root 60 5 avril 01:07 Roboto-Light.ttf -> ../../../../../fonts/truetype/roboto/hinted/Roboto-Light.ttf lrwxrwxrwx 1 root root 62 5 avril 01:07 Roboto-Regular.ttf -> ../../../../../fonts/truetype/roboto/hinted/Roboto-Regular.ttf But the link is wrong. The fonts are installed in /usr/share/fonts/truetype/roboto/unhinted/RobotoTTF, and the links points to /usr/share/fonts/truetype/roboto/hinted/RobotoTTF (missing [un]hinted). [1] https://github.com/renpy/renpy/tree/master/launcher/game/fonts
We believe that the bug you reported is fixed in the latest version of renpy, which is due to be installed in the Debian FTP archive. A summary of the changes between this version and the previous one is attached. Thank you for reporting the bug, which will now be closed. If you have further comments please address them to 1111365@bugs.debian.org, and the maintainer will reopen the bug report if appropriate. Debian distribution maintenance software pp. Alexandre Detiste <tchet@debian.org> (supplier of updated renpy package) (This message was generated automatically at their request; if you believe that there is a problem with it please contact the archive administrators by mailing ftpmaster@ftp-master.debian.org) Format: 1.8 Date: Fri, 22 Aug 2025 20:37:37 +0200 Source: renpy Architecture: source Version: 8.3.4+dfsg-3 Distribution: unstable Urgency: high Maintainer: Debian Games Team <pkg-games-devel@lists.alioth.debian.org> Changed-By: Alexandre Detiste <tchet@debian.org> Closes: 1111365 Changes: renpy (8.3.4+dfsg-3) unstable; urgency=high . * Fix fonts-roboto -> fonts-robot-hinted breakage (Closes: #1111365) Checksums-Sha1: 30bd64db6282c75f037c75206ce96b0fe518fa9d 2572 renpy_8.3.4+dfsg-3.dsc 9041305f10114d03527b669a4fc4a32cb16526c2 42812 renpy_8.3.4+dfsg-3.debian.tar.xz 64930683e5684146735d83d3b19fc0aeda472e31 17878 renpy_8.3.4+dfsg-3_source.buildinfo Checksums-Sha256: 359b2a41cbcd99044bff9fe71005f01647a4e1e23c1fe0a001e126064e6fe2e3 2572 renpy_8.3.4+dfsg-3.dsc e42522a7d23f1cf15468ae436cfb7cda412518fef46d5adb0f99aeb6b4a27840 42812 renpy_8.3.4+dfsg-3.debian.tar.xz 4d0745fe3d8f53ef8f5f54cc3725dc6857f5895c90df5cd9802b3cb6d7a6d538 17878 renpy_8.3.4+dfsg-3_source.buildinfo Files: e91313a4fcf5ccc86f600524d79d99ec 2572 games optional renpy_8.3.4+dfsg-3.dsc a2d7bca21e1470327b9269ac25f997ec 42812 games optional renpy_8.3.4+dfsg-3.debian.tar.xz b60bb17c5ecad6434fe8a1efec46887b 17878 games optional renpy_8.3.4+dfsg-3_source.buildinfo -----BEGIN PGP SIGNATURE----- iQJFBAEBCgAvFiEEj23hBDd/OxHnQXSHMfMURUShdBoFAmiox80RHHRjaGV0QGRl Ymlhbi5vcmcACgkQMfMURUShdBpgGg/8Dz1dZRrQ23JmIY3Ov2idFOiuPT/N7c7x ur5gg7SUGacL0oWJex9MyamPT+/DfvrY2yvwSvDJme2t8fGG7B0ix+m23NZk5lhD R+D4QU2XKD6SmcWDAXrKx630BuG52PMnjP3Snn8zTR8cDo7tjEMUtP/HHSLyHASj Z+KOyDGSOl2GYKnlKBDl7Ev0hXCk09jV3l9wOCuq8KRj9ar4GxqOkHsS1MtF73X3 BqgJrE0V5Ke6wcWuW0vNZ/cmRD5+nppI5EOsMxhY13yKJ7TlfnCsaEiKSm8yYOTP /MQoCHmhba5Nw1G/S6AIwsgplalJer+HegLJSDOVCZieU2INc8jtBGso1UEbdjRt 4mPt0ofMtGE28OGcDzWXQJFtH8tztm45LYt8ovEZIudTjetYMXgBU8od5YhlbKQf bKuoT2ZBOv3KFBkOleqdNGwSnv1x+L4f5pyBmsS3/3BPGestKpgzHzWDesdqLRZO CKLyvy9OmDXvSyI7MFeSMwH4HQ0yJXEmtVfThbKBRVcOy9gPUg1DrMumW/xrpMqa wcwsZQcu8nlakEh97sd6EVRSp9JqGnWSc0aXmiYduZEeqkiHRrYUgqbFBiw+7dGd Y1AhQxvejvKgxhrYVQ/4aXoJUlrrAioprDoUFLtMsoXbZC7dF3eo5iXXyR72Rx9K uozjSLVuJdw= =eGv3 -----END PGP SIGNATURE-----
We believe that the bug you reported is fixed in the latest version of renpy, which is due to be installed in the Debian FTP archive. A summary of the changes between this version and the previous one is attached. Thank you for reporting the bug, which will now be closed. If you have further comments please address them to 1111365@bugs.debian.org, and the maintainer will reopen the bug report if appropriate. Debian distribution maintenance software pp. Alexandre Detiste <tchet@debian.org> (supplier of updated renpy package) (This message was generated automatically at their request; if you believe that there is a problem with it please contact the archive administrators by mailing ftpmaster@ftp-master.debian.org) Format: 1.8 Date: Sat, 23 Aug 2025 22:44:16 +0200 Source: renpy Architecture: source Version: 8.3.4+dfsg-4 Distribution: unstable Urgency: medium Maintainer: Debian Games Team <pkg-games-devel@lists.alioth.debian.org> Changed-By: Alexandre Detiste <tchet@debian.org> Closes: 1111365 Changes: renpy (8.3.4+dfsg-4) unstable; urgency=medium . * Realy fix fonts-roboto -> fonts-robot-hinted breakage (Closes: #1111365) Checksums-Sha1: c3e6c4508e13874eabf3badcdeae456992f3cedc 2572 renpy_8.3.4+dfsg-4.dsc 8943cd44456daf6aaf8be81176d0e70f3fd0c875 42848 renpy_8.3.4+dfsg-4.debian.tar.xz ad59a6c8d788ae68053d8d38cb3780d50939628b 17878 renpy_8.3.4+dfsg-4_source.buildinfo Checksums-Sha256: 4c71bdb9e5632f99faf81237bbc3a45ba4c86698e1c1c3e6840e41ebf2e3d835 2572 renpy_8.3.4+dfsg-4.dsc e23d91b03f16f1456ea7461455a6ebea341c792f1b99e5c9f0cffe48fad511d4 42848 renpy_8.3.4+dfsg-4.debian.tar.xz d75cb319c73303a51af78e336060adf09c9db82edef8df8c78cb4a7c9658481f 17878 renpy_8.3.4+dfsg-4_source.buildinfo Files: a2e96a6cf135691ae99ab4c211944a9e 2572 games optional renpy_8.3.4+dfsg-4.dsc 0533d4198b567a96a5eeeed13db1dd96 42848 games optional renpy_8.3.4+dfsg-4.debian.tar.xz dc4ec4a7be0233d0c324da748d9d31a9 17878 games optional renpy_8.3.4+dfsg-4_source.buildinfo -----BEGIN PGP SIGNATURE----- iQJFBAEBCgAvFiEEj23hBDd/OxHnQXSHMfMURUShdBoFAmiqKL0RHHRjaGV0QGRl Ymlhbi5vcmcACgkQMfMURUShdBrf4xAAuZPdNEDrCq5CrI6zkuUmSBpT7GkaKsag AYQ/fwCwm+96N2N5HJcrwh4zI2U51BlBUo8E62CSoI5lYR/Ovj7p8Rfs0mAEsNJZ hfglQ9jcBltLH/VAYVhE7WkrPFhl8gX/2sfdmbDKlvTe4KfbLMtsleUHurA2AQeP I4QOKeb1xTBs3d1bKze18cD9PwUxPjrIvYW/GahkaWRJ3w2OTR8bBe+zRzI03VCV WT1dTMzhOa4elJtLJP8Bg7400sXD4u+0TChFMphClcGNrCXOsZr+40fATn8EAJ4g 8PSrV7Im7dYfmxMWIwu8jRJcCOBHQ3n4rcIfZ0GxiveUT18KyUqej79rlHK0N/Oq 2bpXRz5XvhWxTmEJ/kU2e09gXcCmmG3sT++n+iV4yhhlksLRgqyF7Q6n7BI7vlD/ YkrClpMglGEMfgY0fd+INYiGzBRIWxl6HPK8riC/LUUJCONsB1jovEpJ/rPNY7DC aZ4Whm/w1d4gxhduhf1o9O5If2tjaR55XYrosxeXCvGSD5SvIFZzejw/9mgClkwG eNbIeWij9WH2yNjIr1i71v7qB8Aag7Al6QkDgMMFmPN4rTYc2P7dGZEOszAAag7x 328I7RnSUalrnmmn1IH4yqD6MCA8RWOYLzhxbR82zvvz60iFEIkse2sfEZAUZTfx ij5qZQGBgP8= =NeN1 -----END PGP SIGNATURE-----
We believe that the bug you reported is fixed in the latest version of renpy, which is due to be installed in the Debian FTP archive. A summary of the changes between this version and the previous one is attached. Thank you for reporting the bug, which will now be closed. If you have further comments please address them to 1111365@bugs.debian.org, and the maintainer will reopen the bug report if appropriate. Debian distribution maintenance software pp. Alexandre Detiste <tchet@debian.org> (supplier of updated renpy package) (This message was generated automatically at their request; if you believe that there is a problem with it please contact the archive administrators by mailing ftpmaster@ftp-master.debian.org) Format: 1.8 Date: Fri, 22 Aug 2025 20:37:37 +0200 Source: renpy Architecture: source Version: 8.3.4+dfsg-2+deb13u1 Distribution: trixie Urgency: medium Maintainer: Debian Games Team <pkg-games-devel@lists.alioth.debian.org> Changed-By: Alexandre Detiste <tchet@debian.org> Closes: 1111365 Changes: renpy (8.3.4+dfsg-2+deb13u1) trixie; urgency=medium . * Fix fonts-roboto -> fonts-robot-hinted breakage (Closes: #1111365) Checksums-Sha1: e98956fd239acd6398711a8396b45de54abd4a8c 2604 renpy_8.3.4+dfsg-2+deb13u1.dsc 7ce563fe168b3da0f43af2821bbffa4710e0f68d 42812 renpy_8.3.4+dfsg-2+deb13u1.debian.tar.xz e92f360bd98e5cc3c7d59db5aae1251fb863e1fc 17872 renpy_8.3.4+dfsg-2+deb13u1_source.buildinfo Checksums-Sha256: f9f2975d7af43171d1ed82b151639014195080639f500de595d0ae060461937f 2604 renpy_8.3.4+dfsg-2+deb13u1.dsc 58cb49312518524c14493a0745a669f22a00e55a1861f9c92c153c5fddfaaff4 42812 renpy_8.3.4+dfsg-2+deb13u1.debian.tar.xz 9dd7a9f3787d2160da84dbe6060175a054ab034a8c98b76f7047a50322f391fe 17872 renpy_8.3.4+dfsg-2+deb13u1_source.buildinfo Files: ccd927b121f757953a6eb421c80f6755 2604 games optional renpy_8.3.4+dfsg-2+deb13u1.dsc 857e32dad962c314fd6b888e7e469a85 42812 games optional renpy_8.3.4+dfsg-2+deb13u1.debian.tar.xz 35fd4e45728536bccc39b8005bd6a896 17872 games optional renpy_8.3.4+dfsg-2+deb13u1_source.buildinfo -----BEGIN PGP SIGNATURE----- iQJFBAEBCgAvFiEEj23hBDd/OxHnQXSHMfMURUShdBoFAmix9vARHHRjaGV0QGRl Ymlhbi5vcmcACgkQMfMURUShdBp2uA//SN9H/7JOBDO0qeCUjDmoPWZEsgqzNRDm eoDIj6R9w9ajpZnmNur/8wwXd15Pd9/igFoR7M+4q57ki/LUWuLWwtrUXQszrWGB O9V1oePSOpmM3fxwoM4JLNHYNMXETgnzNd63xBiv1Fo2VxB+GpF7T89/veLe3D4i l4NG9sXxqQAdZ5HB0IRi2wLSDo4T0oQUxG8P1Vdj5A/Q8CWr0jSmVo7MVnGHpYFK dpbzrkzQi5vIAbFfJExjMkLSIyLlFMTxDVGhzVOc6kaQILqPRv0mDr3gqBoncN1Q rqyfSj2IcUrpy5qVX1zcAY60REeEi7wyR+66tDoZycdWnlXlKh7c4cNliGv0lIj+ D/+9FN7iMUb/hUSh3qB2PbCnI58aycNXywRPKme9PFQdBk1v0FHCZW8JW1KoWRX2 VJtr/7CEeXP6843ievpyTiimdGNBagG6seNY1laifAaJvbFVOa2hhMiXrUKjW2NY bjnTmh1ks9/HAOiQ1dW7bZadyzu6VlemxvhOU2r9W3pdI/ch5Z62vQJ8dDKSQIck hHdNfv+RVmo0S95kMsc+7KwtizhdxEcgk75RxWOOY15+pPhwJpmuf8G6CyujgOWY D/dBxrT9pGnrSxF+YFRn63ITCnC4hxbonqWLpnLaK+qbcMMcCFWhLXi8BODu0u/8 mQZ5aQjiT9s= =cEsZ -----END PGP SIGNATURE-----