Search code examples
pythonandroidkivylabelbuildozer

Font not found on android with kivy


I am writing an app with kivy, and I have ran into a problem. I want to use standard but custom fonts in my app, I mean something like Arial or Calibri, this is my label code:

lbl = Label(text=str(font), on_press=callback, font_name="Arial", font_size="35sp")

while that works on Windows, on Android it doesn't! It says that Arial.ttf can't be found.

Is there any solution?


Solution

  • I solved the issue copying the fonts inside the app folder, and editing the spec file to include all ttf files