Giter VIP home page Giter VIP logo

Comments (7)

dzg avatar dzg commented on August 25, 2024 2

So any way currently to use mono font with python script?

NM, I found how:
print "foo", "| font='andale mono'"

from xbar.

majodev avatar majodev commented on August 25, 2024

+1 - Also doesn't work in El Capitan.

from xbar.

LaurentFough avatar LaurentFough commented on August 25, 2024

+1 Tried several different methods.
No luck.

from xbar.

matryer avatar matryer commented on August 25, 2024

It seems like more recent Mac OS X versions don't support this. Will dig deeper.

from xbar.

taylorzane avatar taylorzane commented on August 25, 2024

Try wrapping your font in quotes. I was able to get version 1.4beta (technically the master branch) working on OS X 10.10.5 (Yosemite).

This still sounds like a bug with the setup of the fontWithName:size: method, though.

from xbar.

alesf avatar alesf commented on August 25, 2024

It works in latest master version (1.4) on El Capitan.
Quotes are logically only needed when there is a space in font name.

Additionally I've made a PR for font validation that checks if font exists on the system.

from xbar.

rrggrr avatar rrggrr commented on August 25, 2024

Could be because I'm calling it before executing a python script, but cannot specify any font. Without fixed-width font its difficult (impossible) to display tabular data... though suggestions welcome.

from xbar.

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.