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

Enable to change font #89

Merged
merged 3 commits into from Feb 13, 2013
Merged

Conversation

fukayatsu
Copy link
Contributor

Default font Impact.ttf can't print non-alphanumeric characters
like Japanese, Chinese, and so on. So I want to set another one.

example)

lolcommits --capture --test -m '笑' -f /Library/Fonts/Osaka.ttf

or

export LOLCOMMITS_FONT="/Library/Fonts/Osaka.ttf"
lolcommits --capture --test -m '笑'

means lol in Japanese :)

Default font `Impact.ttf` can't print non-alphanumeric characters
like Japanese, Chinese, and so on. So I want to set another one.

example)

    lolcommits --capture --test -m '笑' -f /Library/Fonts/Osaka.ttf

or

    export LOLCOMMITS_FONT="/Library/Fonts/Osaka.ttf"
    lolcommits --capture --test -m '笑'

`笑` means `lol` in Japanese :)
@mroth
Copy link
Member

mroth commented Feb 9, 2013

This is awesome! It looks like it's causing the tests to fail however... any idea why?

runner is nil at `lolcommits --plugins`
@fukayatsu
Copy link
Contributor Author

Now tests passed at ruby 1.8.7 and 1.9.2, but failed at 1.9.3 :(

@fukayatsu
Copy link
Contributor Author

Failing Scenarios:
cucumber features/bugs.feature:19 # Scenario: Don't trigger capture during a git rebase

I think this feature is unstable.

@mroth
Copy link
Member

mroth commented Feb 11, 2013

Yes, I agree, it seems like builds randomly fail on that test on travis-ci but then pass when being re-run. I have no idea why however. I'm going to just disable that test for now until I can debug it.

mroth added a commit that referenced this pull request Feb 11, 2013
@mroth
Copy link
Member

mroth commented Feb 13, 2013

This looks great, thanks for much! Merging for v0.4.1 release. You might want to add the documentation to the wiki page here as well: https://github.com/mroth/lolcommits/wiki/Configuration-Variables

mroth added a commit that referenced this pull request Feb 13, 2013
@mroth mroth merged commit 8d46bd1 into lolcommits:master Feb 13, 2013
@fukayatsu
Copy link
Contributor Author

Thank you for merging!! :)

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.

None yet

2 participants