README.md in prawn-icon-2.5.0 vs README.md in prawn-icon-3.0.0
- old
+ new
@@ -108,9 +108,19 @@
rake legend
```
should generate these files when run from Prawn::Icon's gem directory.
+## Configuration
+
+You can optionally configure Prawn::Icon to use an alternate data directory for font files.
+
+```ruby
+Prawn::Icon.configure do |config|
+ config.font_directory = '/path/to/my/fonts'
+end
+```
+
## Contributing
I'll gladly accept pull requests that are well tested for any bug found in Prawn::Icon.
If there is enough demand for including a particular icon font, I will also accept a pull request to include it in Prawn::Icon.