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

Feature Request: Allow passing font information as Hash parameter #10

Open
ghost opened this issue Feb 5, 2012 · 0 comments
Open

Feature Request: Allow passing font information as Hash parameter #10

ghost opened this issue Feb 5, 2012 · 0 comments

Comments

@ghost
Copy link

ghost commented Feb 5, 2012

Hi.

The README mentions this:

document = Document.new(Font.new(Font::ROMAN, 'Times New Roman'))

I think this is a bit cumbersome to type, especially the ().

Would it be nicer if we allow something like:

document = Document.new( :font => 'Times New Roman' )

?

If so, I could try to check what would be required to make this happen.

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

0 participants