Inkscape.org
Beginners' Questions fonts deleted from windows still show in inkscape 1.0.2 font list
  1. #1
    Backertg Backertg @Backertg
    👍

    Help - major issues with straightening out the fonts library in the new inkscape (no issues in 0.92.05).

    We have a lot of fonts that we no longer need to use.  I removed some of them through the windows fonts utility.  They no longer show in the windows font list not in any MS office application. They do still show in the inkscape font list.  I have removed them from every spot in the registry that I can locate them by name.  How can this be?  Where is the inkscape font list stored and how can it be deleted and recreated?  Int he previous versions prior to 1.0 the instructions stated that the font list was regenerated on every inkscape restart.  This is definitely not happening now.  It might be updating in some way but it does not drop the deleted font name as a list entry.  

    Todd

     

  2. #2
    Aero Aero @Aero◻️

    Do you have additional font directories set in preferences?
    https://wiki.inkscape.org/wiki/index.php/Release_notes/1.0#Load_additional_fonts

  3. #3
    Backertg Backertg @Backertg

    Hello Aero,

    Yes and no.  Tried unchecking both of those and that did not change the font list showing in inkscape.

    Originally, dud haveca font in a user library as i double clicked on install and forgot to use the install for all users box.  Unistslled that font and went to the inkscape user font directory and deleted it.  Also deleted the reference in the registry.  Nowhere on the pc but still persistent in the font list regardless of checked or not. 

     

    This font in particular had some other issues.  It is an OTF font.  Displays properly on the MAC version of inkscape but not the pc version although it displays fine in any other pc application on the same machine.

    Ideas on both issues?

  4. #4
    Aero Aero @Aero◻️

    I never install fonts for all users, why would you want to do that?
    If you installed your font twice in Windows, did you uninstall it twice too?
    Did you restart Windows?
    Do you use the latest version of Inkscape?
     

  5. #5
    Backertg Backertg @Backertg
    *

    Aero,

    1) some good reasons for having mulitple user accounts on a PC that we share at home.  Therefore installing fonts for all users makes total sense

    2) windows will only let you uninstall a single instance of a font one time - nothing else to uninstall, that is why I did the registry sweep to look for any stray references

    3) restarted windows multiple times, restarted inkscape multiple times, uninstalled inkscape 1.0.2-2, installed inkscape 0.9.2.5, uninstalled 0.925, reinstalled 1.0.2-2

    4) currently using PC platform (Windows 10 Pro 10.0.19042 build 19042) and running the latest Inkscape V1.0.2-2 (e86c870879, 2021-01-15).

    Issue still persists.  It has to be tied to the Inkscape font list since windows dows not show it nor do any other windows applications.  Also the inkscape font list show blank lines in the font list or double wide lines around the Cambria Math font in the list as well as others.  Earlier versions of Inkscape never showed this behavior.  Any idea where the inkscape font list is stored when generated or what it is named?  Would like to clean that line of the registry out or delete the system file where it is stored so it could be recreated fresh when next starting inkscape.  Pictures showing the Cambria math spaces attached.  Also a picture attached showing Serpentine bold-Oblique OTF font preview as squares - does not happen on the MAC version of Inkscape and shows fine in any windows application.

    Both of these are weird behaviors of the windows Inkscape font list...

     

  6. #6
    Aero Aero @Aero◻️

    AFAIK, Inkscape will search folders listed in fonts.conf and preferences.xml for fonts.

    Windows font folders
    %LOCALAPPDATA%\Microsoft\Windows\Fonts (Normal Install)
    %WINDIR%\FONTS (Install for all users, Admin only)

    Inkscape font folders
    %HOMEPATH%\.fonts (Inkscape, Gimp and maybe some other Linux apps)
    %APPDATA%\inkscape\fonts
    \inkscape\share\inkscape\fonts (Inkscape program folder. Users should not add fonts here)

  7. #7
    Tyler Durden Tyler Durden @TylerDurden

    Windows can also have zombie fonts: https://bugs.launchpad.net/inkscape/+bug/1773601

  8. #8
    Backertg Backertg @Backertg

    Thanks for the ideas!

    Aero,

    Checked all of those location and had already cleared out any fonts except for the main windows font folder.  Can't locate the fonts.conf file on the drive. where is that located?  I did locate the preferences.xml file.  I don't see any folders referenced but do see 2 specific fonts called out that look like the default font and the current selected for the text function.  Am I missing something?

    Tyler,

     

    The windows zombie fonts info interesting and would explain a lot of the behavior.  From the link you included - not sure how to do this on the same computer of if I actually have to be usinga  network login to the computer form a different computer.  Do you know how to do this?  "To even see the font(s), one needs to use explorer as a network access to \\COMPUTERNAME\C$\Windows\Fonts\. ("COMPUTERNAME" is whatever yours is.) These are not typical hidden files, which can be shown with a directory (folder) setting."

  9. #9
    Tyler Durden Tyler Durden @TylerDurden
    Backertg

    Do you know how to do this?

    Exactly as stated, using Windows Explorer's navigation bar, typing in the path will show the files.

    Deleting the files may be tricky due to Windows security. That's why some folks will use the terminal window or a live Linux disk.

  10. #10
    Backertg Backertg @Backertg
    👍

    Tyler - got that straight.  I was able to delete fonts using windows font settings menu (normal way), confirmed there were no hidden fonts in the fonts directory,  and also confirmed they were cleared from the inkscape font list after rebooting this test machine.  I will do the same tonight on the machine at home that has the problems I have not been able to correct and get back to you later tonight.  Hopefully the trouble fonts will show as zombie sleepers and I will be able to remove them per the network access method.

     

  11. #11
    Backertg Backertg @Backertg

    Tyler / Aero,

    Ran through the same exercise on the main PC at home tonight and found some of the "Zombie" fonts in the windows\fonts directory using the network access approach to exploring the directory.  Did need special permissions to delete the files and was only able to do that by using the windows powershell (admin) tool and manually locating the correct directory.  End result is that once those were deleted and the system rebooted, they no longer show in the inkscape font listing!

    Thanks a million to you both.

    One more question on the font list behavior.  Each time inkscape is opened, the first time you try to select a font from the font list by scrolling down, the list goes blank white after the first page.  If you then reopen the list you can scroll down through the full listing.  That is a lot of extra time - bug or settings issue?  Also it seems that in earlier versions, one was able to type the first letter of the font and it would jump down to that section of the list.  That no longer works - again bug or setting issue? 

    Lastly, is there a way to create a "favorites list" that would place the most often used fonts or a set of chosen fonts at the top of the font list as microsoft office programs do?

     

  12. #12
    Tyler Durden Tyler Durden @TylerDurden

    The font list display has been buggy since forever.

    It is possible to save a template that contains text of desired fonts, where the text is hidden and locked in the root of the document. The objects cannot be seen or used.

    But when the template is used for new documents, the specified fonts will be in the top section of the font list.  Attached is an example I have saved to the templates directory of my Inkscape user profile. Also here is a screenshot of a new document.

    Fontsindoc
  13. #13
    Backertg Backertg @Backertg

    Tyler,

    Interesting way go simulate the favorites list.  I don't seem to be able to download the template svg file to use.  Are the font phrases saved in a particular layer number?

     

  14. #14
    Tyler Durden Tyler Durden @TylerDurden

    Gotta left-click the attachments button first, then right-click on the filename...

  15. #15
    Backertg Backertg @Backertg

    Tyler,

    Ok - I expected the link to not actually download a file - just a hyperlink or webpage.  Got the file.

    Looks like that works perfectly.  If you create a new file with the texts as you did, how do you move those to the root directory.  I understand how to create layers, add items, group them and hide/lock the layer but don't see a way to access the space you hid them.  Do you need to use the XML editor to do this?  If you have a minute and can lay out a step by step instruction that would be much appreciated!

    Todd

     

  16. #16
    Tyler Durden Tyler Durden @TylerDurden

    The Objects dialog can be used to hide and lock objects and layers. It can also switch layers to groups. 

    • I'd rename Layer 1 to hidden text.
    • Put a text object in that layer for each font desired. (e.g. four fonts = four objects)
    • Lock and hide the layer.
    • Convert the layer to a group using the button in the "T" column of the Objects dialog.
    • Add a new layer to the objects dialog.
    • Save as a template.
  17. #17
    Backertg Backertg @Backertg

    OK - sounds clear enough.  The only issue I see is that the CNC post processor we utilize must use layer 1.  Any issue with adding a layer 2 and then using it for the hidden layer instead?

     

  18. #18
    Tyler Durden Tyler Durden @TylerDurden

    That should be fine.

  19. #19
    Backertg Backertg @Backertg

    Perfect - Thank you!

  20. #20
    cfle cfle @cfle

    @Backertg Did you find a solution to the font menu issue?  I am having the same issue.

Inkscape Inkscape.org Inkscape Forum Beginners' Questions fonts deleted from windows still show in inkscape 1.0.2 font list