LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Small Fonts missing from Icon editor selection

Solved!
Go to solution
Highlighted

Hi all,

 

Recently had to do a new laptop, and just realized that I can no longer select Small Fonts within the icon editor.  It is installed fine, and in the main program, it appears on the font list.  But, if I open the icon editor, it is not available.

 

If I edit the INI file and set the font to Small Fonts, then I it seems to work, as long as I don't change the selection.

 

Any ideas?

 

Windows 10 Pro, LV2017 and LV2018 both show the problem.

 

Thanks,

Matthew

0 Kudos
Message 1 of 5
(185 Views)

I also just realized that if Small Fonts was not the last font used within a specific icon, I don't seem to be able to get back to Small Fonts.

0 Kudos
Message 2 of 5
(175 Views)

Panic time!  I just opened my Dell Laptop (Windows 10 x64, LabVIEW 2016, 2017, and 2018, 32-bit) and opened the Icon Editor.  On the Icon Text screen, the Font shows "Small Fonts" (Whew!).  Similarly, the Text Tools in Layers also shows Small Fonts.

 

Not sure why you are having this problem, but it doesn't seem (to me) to be Windows or LabVIEW's fault.

 

Bob Schor

0 Kudos
Message 3 of 5
(143 Views)

I see a few Google hits that might seem interesting.  (I Googled "labview icon editor no small fonts".)

 

What's maybe just as interesting is Bob replied to one of them.  Smiley Wink  And no, not this one.  Smiley Very Happy

Bill
CLD
(Mid-Level minion.)
My support system ensures that I don't look totally incompetent.
Proud to say that I've progressed beyond knowing just enough to be dangerous. I now know enough to know that I have no clue about anything at all.
Humble author of the CLAD Nugget.
0 Kudos
Message 4 of 5
(129 Views)
Solution
Accepted by topic author Matthew_Kelton
06-15-2019 07:25 AM

Well, it appears to have been a Windows issue.  I still don't know why Small Fonts was available in the VI, but not the icon editor, but I got it working.

 

I downloaded the source code for the icon editor to try to get an idea of how it populated the list.  If I set the INI file variable, it actually used Small Fonts even if it wasn't on this list.  So, it was weird that it could access it, but not show it in the list.  So, the icon editor looks in the registry for the list of fonts.  Sure enough, that led to new Google searches which basically led me to believe that the font install was corrupted.

 

After fixing it, I probably could have fixed this myself within the registry now that I know the proper entries needed.  However, I didn't have access to another computer and wasn't sure that registry entries alone would fix it.

 

It should be noted as well that within Windows 10, the fonts showed up as installed if I browsed the C:\Windows\Fonts directory, but not show up if I looked at the Fonts Settings in the Control Panel.  Even after fixing it, Small Fonts still does not show up in the Fonts Control Panel Window.

 

So, I had to uninstall and reinstall the fonts, which was not trivial, as getting the font uninstalled would not delete the physical font file, and reinstalling, trying to overwrite the existing file would just result in the same original situation.  On Windows 10 at least, font files are owned by the TrustedInstaller, and even Administrators cannot delete the files.  Many sites state to just take ownership of the files, but Windows wouldn't even let me do that.

 

I finally found this - https://www.sevenforums.com/system-security/409760-solved-trustedinstaller-access-denied-permissions... - and the takeown and icacls commands finally got it to the point where I could delete the physical files and reinstall the fonts.  Once reinstalled, everything started working.

 

So, thank goodness NI provides the source for the icon editor, as I am not sure if I would have figured it out without very quickly.

Message 5 of 5
(123 Views)