| Author |
Topic  |
|
|
jtauser
Moderator
  
USA
496 Posts |
Posted - 17 Feb 2009 : 01:08:03
|
I'm using the string library to set units on a V350. Different screens have different font sizes for numerical display.
When I place a text field next to the display, it allows me to change the font size for that field. When I run the application, the font is the size specified in the string library. Is the font size supposed to be hard-coded like this?
Joe T. |
|
|
Cara
Administrator
   
Israel
640 Posts |
Posted - 17 Feb 2009 : 04:19:33
|
Hey Joe!
Yes, this is the current definition. The library downloads its own fonts, to make sure that all of the relevant characters are downloaded. Otherwise, a user might--for example--write strings in Russian and French, then define the font 'variable field' as English...and not have the Cyrillic and French characters....
Do you find the current definition very problematic, or just something the user needs to be aware of? |
Cara Bereck Levy Technical Publications Unitronics http://www.unitronics.com ----------------------------------------- A mind is like a parachute. It doesn't work if it's not open. Frank Zappa
|
 |
|
|
jtauser
Moderator
  
USA
496 Posts |
Posted - 17 Feb 2009 : 13:57:19
|
Cara,
Then you need to remove the font selection field on the String Library box-

I worked around the problem by repeating the text three times in the String Library with different font sizes for each iteration. I then offset my pointers in my ladder code to specify the proper row in the string library to get the font I wanted.
Joe T. |
 |
|
|
Cara
Administrator
   
Israel
640 Posts |
Posted - 22 Feb 2009 : 06:30:45
|
quote: Originally posted by jtauser
Cara,
Then you need to remove the font selection field on the String Library box-
Joe T.
Indeed we do, indeed we have--you will see next release--thank you, Sir Bughunter!
 |
Cara Bereck Levy Technical Publications Unitronics http://www.unitronics.com ----------------------------------------- A mind is like a parachute. It doesn't work if it's not open. Frank Zappa
|
 |
|
|
jtauser
Moderator
  
USA
496 Posts |
Posted - 23 Jul 2010 : 00:16:21
|
Um... it's still there-

AND.. it defaults to 12 points, even though the strings in my library are all 8.
Here's what I tried in the variable properties dialog box: 1. Select "Constant String" 2. Now you can change Properties:Font to 8 3. Select "String from Library"
This puts the string selection back and changes the font properties to 12 again, but doesn't upsize the numeric variable on the screen. Now I get a compilation error, even though the variable fits in the box:

Is there a place to set the default string library font?
Joe T. |
 |
|
|
Cara
Administrator
   
Israel
640 Posts |
Posted - 25 Jul 2010 : 04:04:15
|
Hey Joe, Just letting you know that I did see this, and am taking it up with the relevant people--will report back. Happy Sunday :-) |
Cara Bereck Levy Technical Publications Unitronics http://www.unitronics.com ----------------------------------------- A mind is like a parachute. It doesn't work if it's not open. Frank Zappa
|
 |
|
|
jtauser
Moderator
  
USA
496 Posts |
Posted - 25 Jul 2010 : 22:54:37
|
Thanks, Cara. I redesigned the display layout and added an additional display to use 12 point fonts for everything. The application displays 28 temperatures, and I really needed the string library to allow changing the units from F to C by the customer. Vector Linearize took care of the rest in two nets.
That was the easiest way to get the job off my desk, but this does need to be addressed.
Joe T. |
 |
|
| |
Topic  |
|