03-04-2013 08:44 AM
In 2012, if I copy and paste from one string to another, the text turns on Bold and Underline. Does this happen you everyone else? Is this a bug that has been or need to be reported?
Solved! Go to Solution.
03-04-2013 10:11 AM
Most likely, the array on the right had the font formatted as bold and underlined. If you copy and paste the data from the data operations right click menu, it will copy the data over, but maintain the formatting that is already defined for the destination array. You can simply define the font for the right array by selecting it, then defining the font properties by clicking on the font menu, then style menu, then select Plain as shown below.
03-04-2013 10:32 AM
No, I am showing the before and after copy and paste. Within the string array, if I copy from one location to another, the whole string array turns bold and underlined.
03-04-2013 10:45 AM - edited 03-04-2013 10:46 AM
This problem seems to be intermittent. I think it might have something to do with the original source code generated by 2010. If I copy a string from 2010 to 2012, it will do it every time. But at the time of my first post, I was not copying from 2010. And yes I did a mass compile.
03-04-2013 11:00 AM - edited 03-04-2013 11:01 AM
This is a known bug and happens if you specify a specific appfont in the ini file (or in the options dialog equivalent).
It has been reported by me long ago, so NI is aware of it and there is a CAR.
03-04-2013 11:09 AM
Thanks.
So to fix the dreaded XP vs 7 font problem by setting them in the ini, we now get bold and underline strings. I normally stay 1 version behind, but 2012 has some cool features.
03-04-2013 11:23 AM - edited 03-04-2013 11:25 AM
This problem existed way before LabVIEW 2012 but because of the random nature, you might not have bumped into it. It is not a new problem.
You are lucky with only bold/underline. Long ago, I got 20pt greek symbol (or similar) font for a while when pasting. 😮