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

OSError: Label: File 'Gilroy-light.otf.ttf' not found #1297

Closed
Priyanshu-Kumar1 opened this issue Feb 20, 2021 · 4 comments
Closed

OSError: Label: File 'Gilroy-light.otf.ttf' not found #1297

Priyanshu-Kumar1 opened this issue Feb 20, 2021 · 4 comments
Labels

Comments

@Priyanshu-Kumar1
Copy link

Versions

  • Python:3.9
  • OS: android 9
  • Buildozer: 1.2.0

Description

My font file is Gilroy-light.otf but idk why .ttf is added at the end of error.
How can I solve it??

script

MDLabel:
				text: "Today"
				font_name: 'Gilroy-light.otf'
				font_size: '23dp'
				pos_hint: {'center_x' : .9, 'center_y' : .8}

buildozer.spec

source.include_exts = py,png,jpg,kv,atlas,otf

Logs

OSError: Label: File 'Gilroy-light.otf.ttf' not found
@RobertFlatt
Copy link
Contributor

Ask this one at KivyMD, it does not appear to be Buildozer related.

First check the KivyMD docs for an example using Label font_name in this way.

@Priyanshu-Kumar1
Copy link
Author

Ask this one at KivyMD, it does not appear to be Buildozer related.

First check the KivyMD docs for an example using Label font_name in this way.

Its running fine as script this error log is after compiling apk

@RobertFlatt
Copy link
Contributor

Check that the KivyMD versions are the same on both platforms.
Upgrade any that are because we know that we don't know what is in them.

@github-actions
Copy link

👋 @Priyanshu-Kumar1, we use the issue tracker exclusively for bug reports and feature requests. However, this issue appears to be a support request. Please use our support channels to get help with the project.
Let us know if this comment was made in error, and we'll be happy to reopen the issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants