-
June 8th, 2020, 01:47 #1
5E extension allowing players to select their font size?
Is there a Font Extension that a DM can run that allows each player to select their preferred font sizes? (at least for chat if not each category)
If there is not, does anyone know if it is even possible to make such an extension?
I am looking to try and work my way into learning to make some and I thought I would try for this but I figured I would ask before I wasted too much time on it, if it is not possible.
Thanks in advance for any answer.
-
June 8th, 2020, 03:43 #2
There is nothing like this currently. There might be a way to do something. I'm not a developer though so I can't be certain. In general FG is designed so that the GM and all players run the same code. But, there are some things like options and /scaleui that are session/client independent. So, a clever programmer might be able to figure something out.
Problems? See; How to Report Issues, Bugs & Problems
On Licensing & Distributing Community Content
Community Contributions: Gemstones, 5E Quick Ref Decal, Adventure Module Creation, Dungeon Trinkets, Balance Disturbed, Dungeon Room Descriptions
Note, I am not a SmiteWorks employee or representative, I'm just a user like you.
-
June 8th, 2020, 11:51 #3
I dont believe its possible. Fonts are declared/defined in the xml at load time, and cant be redefined by script.
For support with any of my extensions, visit my #mattekure-stuff channel on Rob2e's discord https://discord.gg/rob2e
-
June 8th, 2020, 12:11 #4
As mentioned above, fonts are defined in the base code. Info on the definition here: https://fantasygroundsunity.atlassia...s/4162481/font
And these definitions are used within the control XML specification. Within the text control object: https://fantasygroundsunity.atlassia...extbasecontrol
You can use the setFont command to change the font used within a specific control: https://fantasygroundsunity.atlassia...ontrol#setFont
So, what you ask is possible, but it means you'd need to use the setFont command for all of the controls that you want to change - which could literally be hundreds, depending on exactly what you want to change.
So, possible? Yes. Feasible and reliable? Probably not, unless you're only changing a few specific controls.Private Messages: My inbox is forever filling up with PMs. Please don't send me PMs unless they are actually private/personal messages. General FG questions should be asked in the forums - don't be afraid, the FG community don't bite and you're giving everyone the chance to respond and learn!
-
June 8th, 2020, 14:28 #5
Thank you all for the answers. Looks like it is something I shouldn't even attempt to figure out. I was hoping it might be possible to add a new "slash command" that would allow players to type in a font height; something like "/chatfont 14", so not changing the font type just the font size.
Thanks again though for the answers.
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks