rtf icon indicating copy to clipboard operation
rtf copied to clipboard

Feature Request: Allow passing font information as Hash parameter

Open ghost opened this issue 13 years ago • 0 comments

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.

ghost avatar Feb 05 '12 08:02 ghost