Code Monkey home page Code Monkey logo

Comments (5)

Xevailo avatar Xevailo commented on May 27, 2024

Solved it:
changed the font2 declared in line 65 ti the default font.

from luma.oled.

rm-hull avatar rm-hull commented on May 27, 2024

Sorry I didn't get chance to investigate, I've been away with work related business.

from luma.oled.

rm-hull avatar rm-hull commented on May 27, 2024

It sounds like you now need to install libfreetype-dev before installing Pillow in order to support truetype fonts (this wasn't true with the specific version of Pillow I was using) - I added a note to this effect the README with this commit: 5578f69

You might need to do:

$ sudo apt-get install libfreetype-dev
$ sudo pip install --upgrade --no-deps --force-reinstall pillow

(or use pip3 if you are on Python 3)

from luma.oled.

Xevailo avatar Xevailo commented on May 27, 2024

Thanks for your help so far. Using apt-get install libfreetype-dev got me the error Unable to locate package libfreetype-dev. However, using apt-get install libfreetype6-dev instead and then pip install --upgrade --no-deps --force-reinstall pillow did the trick and the font has now successfully been loaded. Thank you very much for both the program and your help!

from luma.oled.

rm-hull avatar rm-hull commented on May 27, 2024

Great stuff - thanks for the taking the time to submit an issue & feedback

from luma.oled.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.