When exporting a screen and importing it into another configuration, all fonts are set back to default. I looked in the xml file, and it does show different font groups.
I also made a new configuration and named the font groups the same. After exporting, the font groups in the xml file are different for the same fonts / fontgroup as used in the original configuration.
Bug: Imported Screens lose font information
- mbowdich
- Posts: 209
- Joined: Tue Oct 05, 2010 10:54 am
- jpratt
- Enovation Controls Development
- Posts: 222
- Joined: Mon Jun 21, 2010 11:18 am
Re: Bug: Imported Screens lose font information
Just to clarify. When you exported from the second configuration the name of the font group doesn't match what you selected on the screen?
Jake Pratt
Software Development Manager
Software Development Manager
- jpratt
- Enovation Controls Development
- Posts: 222
- Joined: Mon Jun 21, 2010 11:18 am
Re: Bug: Imported Screens lose font information
I looked into this a bit more. Currently when you export gauges, we do not export the font groups but instead export the internal key (unlike variables etc). If you re-import the gauges in the new configuration it will only be able to import the font group if they have same key (not likely if you created the configurations at different times.
I will log this as an issue to fix in a future release. As a work around (although not a simple one) You can export a gauge from your new configuration to find out the font group key of the font group you want to use and edit the export (search and replace the original key with the new key) before importing the font group into the new configuration. I have to admit that it may be easier to just change them in the destination.
I will log this as an issue to fix in a future release. As a work around (although not a simple one) You can export a gauge from your new configuration to find out the font group key of the font group you want to use and edit the export (search and replace the original key with the new key) before importing the font group into the new configuration. I have to admit that it may be easier to just change them in the destination.
Jake Pratt
Software Development Manager
Software Development Manager
- mbowdich
- Posts: 209
- Joined: Tue Oct 05, 2010 10:54 am
Re: Bug: Imported Screens lose font information
Thanks Jake.
For some of the screens, the search and replace in the xml file will be much faster.
For some of the screens, the search and replace in the xml file will be much faster.