LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Monospaced font CVI 2020

Hello,

 

I have an issue with monospaced fonts in Labview 2020 f3. When I use Courier font for a control and try to write special characters like ä,ö,ü in it then an additional space ist inserted at the end of text, and the cursor blinks there. That may be confusing when I want to edit the field, because the place where the cursor blinks is not the place where I actually write.

Is this related with the new UTF-8 feature?

 

Thank you for any hints!

 

CVI_MonospacedFont.png

0 Kudos
Message 1 of 3
(1,079 Views)

Seems like a bug in the text control for UTF8 strings where the cursor position is still determined by the standard strlen() function rather than the UTF8 capable version. Considering the current status of CVI this might mean that it is a bug to stay in there forever.

Rolf Kalbermatter
My Blog
0 Kudos
Message 2 of 3
(1,042 Views)

In the project I used ASCII option, and strlen() gives in this case the number of characters, not 2 Bytes for special characters.
This behavior (with the cursor blinking in the wrong position) I observed only for monospaced fonts, all other fonts does not have this problem.

0 Kudos
Message 3 of 3
(1,023 Views)