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

Changing font to Droid Sans #2

Closed
orschiro opened this issue Nov 19, 2014 · 4 comments
Closed

Changing font to Droid Sans #2

orschiro opened this issue Nov 19, 2014 · 4 comments

Comments

@orschiro
Copy link

Hi @ttygde,

Thanks very much for pokoy! It is a very helpful application to not remain focused on the screen for too long. :)

I have one question. I would like to use Droid Sans as my default font. I created the following config file but it is not applying Droid Sans. Do you have any idea how to use an Xft font?

Thanks very much for your help!

Robert

~ cat ~/.pokoyrc  
# pokoy config file

# Default settings. Uncomment to change.

#show_bar           true
#show_timer         true
#enable_skip        true
#enable_postpone    true
#idle_time          10:00
#sleep_time         30:00

#break              35:00   5:00    2:00    
#break              5:00    0:10    0:00    

# Example settings. They are not default.

#font               -*-terminus-*-*-*-*-32-*-*-*-*-*-*-*
font                Droid Sans:Regular:pixelsize=12:antialias=true:hinting=true:autohint=true
#block              MPlayer
@ttygde
Copy link
Owner

ttygde commented Nov 19, 2014

Hello. Thanks for feedback. I do not implement xft fonts support.
You should use XLFD.

@orschiro
Copy link
Author

@ttygde

Thanks for your quick response! From the available XLFD fonts I would like to use Dejavu Sans Mono.

I will need to figure out, however, why the font cannot be loaded.

~ xterm -fn "-*-dejavu sans mono-medium-r-normal--*-80-*-*-*-*-iso10646-1"
xterm: cannot load font '-*-dejavu sans mono-medium-r-normal--*-80-*-*-*-*-iso10646-1'
xterm: cannot load font '-*-dejavu sans mono-medium-r-normal--*-80-*-*-*-*-iso10646-1'

This is strange because I have installed the ttf-dejavu-ib 2.34-12 package from Bohoomil's infinality repo. This package should contain Dejavu Sans Mono.

@ttygde
Copy link
Owner

ttygde commented Nov 20, 2014

This font from package ttf-dejavu loads fine. You can use xfontsel to see available fonts.

@orschiro
Copy link
Author

@ttygde

I will just stick to the default font. Thanks for your support!

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

2 participants