|
|
#1 |
|
Junior Member
Join Date: Jan 2004
Posts: 5
|
just 1 question
sorry for my english.
i want unregistred 2 fonts and i use this in my script Section Uninstall DeleteRegValue HKLM "SOFTWARE\Microsoft\Windows NT\CurrentVersion\Fonts" "Maize Regular (TrueType)" DeleteRegValue HKLM "SOFTWARE\Microsoft\Windows NT\CurrentVersion\Fonts" "Matrix (TrueType)" fonts::unregisterFont "$WINDIR\FONTS\Matrix.ttf" fonts::unregisterFont "$WINDIR\FONTS\Maize.ttf" Delete "$WINDIR\FONTS\Maize.ttf" Delete "$WINDIR\FONTS\Matrix.ttf" SectionEnd but the font is always registerd. where is my error ? thank you for your |
|
|
|
|
|
#2 |
|
NSIS MUI Dev
Join Date: Nov 2001
Posts: 3,717
|
What is exactly the problem? Does the font still appear in the list?
If you are using the latest NSIS 2 version, you can use $FONTS for the Fonts directory. Last edited by Joost Verburg; 17th January 2004 at 21:57. |
|
|
|
|
|
#4 |
|
Junior Member
Join Date: Jan 2004
Posts: 5
|
The problem is that the fonts forces seem always registrered, when I
launch Word, it are in the list of the fonts then which are removed in registry and directory fonts |
|
|
|
|
|
#5 |
|
Major Dude
|
During my research for FontName plugin and the font registration pages in the archive I found that fonts will remain in the application lists while
1: GDI32::RemoveFontResourceA funtion is not called. 2: Any application still has a loaded font list. Thus if any background program uses a font list your PC or those programs will need to be restarted before the font is removed from these lists. As a note I noticed that even though the fonts are displayed in the lists they are no longer available for use and other fonts are substituted if the user selects that font. Vytautas |
|
|
|
![]() |
|
|||||||
| Thread Tools | Search this Thread |
| Display Modes | |
|
|