-
Notifications
You must be signed in to change notification settings - Fork 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
Custom font #1
Comments
Thank you @ashraf-ali-ca .
This gem depend on FreeType ( http://www.freetype.org/ ). I agree that this is a problem.
I can't come up with a good CLI-API... |
@ksss here is an Arabic font https://www.google.com/fonts#UsePlace:use/Collection:Scheherazade also some Arabic text.
Am still learning Ruby but you could just a have a dictionary of colours and map it to a sequence of letters i.e if a text contains an 'AA' = blue or 'Ab' = red etc and allow the user to load custom dictionary. |
Thank you. It seems can read from FreeType. Custom dictionary...hmm. |
@ksss cool gem I was wondering does it support Arabic font also would it be possible to set a different colours for each letter.
The text was updated successfully, but these errors were encountered: