Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pygame font extract from relative path #298

Open
arthurlutz opened this issue Oct 15, 2019 · 0 comments
Open

pygame font extract from relative path #298

arthurlutz opened this issue Oct 15, 2019 · 0 comments

Comments

@arthurlutz
Copy link
Contributor

python sys.py/run.py 
pygame 1.9.6
Hello from the pygame community. https://www.pygame.org/contribute.html
../skin/default/truetype/VarelaRound-Regular.ttf
Traceback (most recent call last):
  File "sys.py/run.py", line 39, in <module>
    from UI.page         import PageStack,PageSelector,Page
  File "/home/arthur/local/clockworkpi/launcher/sys.py/UI/page.py", line 22, in <module>
    from icon_pool import MyIconPool
  File "/home/arthur/local/clockworkpi/launcher/sys.py/UI/icon_pool.py", line 9, in <module>
    from skin_manager import MySkinManager
  File "/home/arthur/local/clockworkpi/launcher/sys.py/UI/skin_manager.py", line 163, in <module>
    InitMySkinManager()
  File "/home/arthur/local/clockworkpi/launcher/sys.py/UI/skin_manager.py", line 160, in InitMySkinManager
    MySkinManager = SkinManager()
  File "/home/arthur/local/clockworkpi/launcher/sys.py/UI/skin_manager.py", line 30, in __init__
    self.Init()
  File "/home/arthur/local/clockworkpi/launcher/sys.py/UI/skin_manager.py", line 41, in Init
    self.SetFonts()
  File "/home/arthur/local/clockworkpi/launcher/sys.py/UI/skin_manager.py", line 56, in SetFonts
    self._Fonts["varela%d"%i] = pygame.font.Font(fonts_path["varela"],i)
IOError: [Errno 2] No such file or directory: '../skin/default/truetype/VarelaRound-Regular.ttf'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant