8000 Added font family as an option to be passed in. by elsewares · Pull Request #4 · chrishunt/favcount · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Added font family as an option to be passed in. #4

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

Merged
merged 2 commits into from
Sep 25, 2013

Conversation

elsewares
Copy link
Contributor

Easy peasy.

@@ -12,6 +12,7 @@
this.icon = icon;
this.opacity = 0.4;
this.canvas = document.createElement('canvas');
this.font = "Helvetica, Arial, 'sans serif'";
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Would you mind giving this a quick change:

this.font = "Helvetica, Arial, sans-serif";

@chrishunt
Copy link
Owner

@elsewares Thanks for pr! Out of curiosity, what font are you thinking about using?

@elsewares elsewares closed this Sep 13, 2013
@elsewares elsewares reopened this Sep 13, 2013
@elsewares
Copy link
Contributor Author

No problem - it's a great solution for things like notifications. I was interested to see how well it would work with webfonts - specifically PT Sans and PT Serif. I'm also trying to figure out how to get the background to pulse.

chrishunt added a commit that referenced this pull request Sep 25, 2013
Added font family as an option to be passed in.
@chrishunt chrishunt merged commit 02ec2d9 into chrishunt:master Sep 25, 2013
chrishunt pushed a commit that referenced this pull request Sep 25, 2013
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

Successfully merging this pull request may close these issues.

2 participants
0