Everything related to our flagship word processor.
11 posts • Page 1 of 1
- Official Nisus Person
- Posts: 4876
- Joined: 2002-07-11 17:14:10
- Location: San Diego, CA
Certainly you could edit the plist to excise the unwanted fonts. Most people don't consider that an option You'll want to look for the key "com.nisus.lastUsedFonts".
As Martin explained, you can clear the list of last used fonts by deleting com.nisus.lastUsedFonts in com.nisus.NisusWriter.plist. You can do so by executing a terminal command or by running the following NWP macro.Ruchama wrote:thanks, not even by diving into the plist file..
Unfortunately, you cannot make NWP understand the change programmatically. So you have to restart NWP manually. Perhaps you may find delete command scaring, but don’t worry. It will be re-generated when necessary.
Code: Select all
begin Perl `defaults delete com.nisus.NisusWriter 'com.nisus.lastUsedFonts' 2>/dev/null`; end Prompt 'Last Used Fonts have been cleared', 'Save all open documents and restart Nisus Writer Pro immediately'
thanks, kino. I shall survive the psychological barrier.. I guess typing the command in terminal is longer than opening the plist file and deleting those redundant fonts. (I could also copy the line.. ) Still, good to know that there is more than one solution.
Unfortunately you cannot use a text editor to edit com.nisus.NisusWriter.plist manually, which is not a plain text file any more but a binary file in OS X 10.6.x at least. So, if you don’t have Property List Editor.app specialized in editing plist files (a component of Developer Tools), you have to run a terminal command to change com.nisus.NisusWriter.plist. The macro posted above is a kind of NWP macro wrapper of the terminal command (/usr/bin/defaults).Ruchama wrote:I guess typing the command in terminal is longer than opening the plist file and deleting those redundant fonts.
copy and just pasteRuchama wrote:I guess typing the command in terminal is longer than opening the plist file and deleting those redundant fonts.
in the terminal prompt worked for me, as integrating it in a shell script that I made for cleaning up after an update...
Code: Select all
defaults delete com.nisus.NisusWriter com.nisus.lastUsedFonts