-
Notifications
You must be signed in to change notification settings - Fork 63
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
Support for non-monospace fonts #119
Comments
@RonenNess what needs to be done to support non-monospace fonts? |
Hi @ayousuf23, I'm afraid that would be quite difficult as I do a lot of size calculations based on font size, assuming all characters are equal. You can try setting non mono font and see what breaks, maybe the stuff that would break happen to be elements you don't use. Bottom line- no idea, but might be complicated. |
Just as an idea: there are some programs which generating .xml or .json files of the font containing information like the size of each character. I would go that route and implement this funtionallity into the content pipeline or add a reference to JSON and implement (De-)Serializing methods. Then it should be easily possible to work with any font in GeonBit.UI. At least if someone is willing to do the work of course 😜 |
GeonBit.UI needs to support non-monospace fonts. What should be done to support them?
The text was updated successfully, but these errors were encountered: