This plugins is 32-bit only and won't work with 64-bit versions of Opus.
Windows Vista and above have a font preview handler built-in which Opus will use automatically.
So you only need this plugin if you are using 32-bit Windows XP.
This ViewerPlugin lets you preview FontFiles (TrueType (ttf) and OpenType (otf)) within the Dopus-ViewerPane.
It works with installed and non-installed FontFiles!
Configure the included Ini-File to change the text and the fontsizes the text will be displayed.
The lower RichEdit is not read only so you are able to type your own text (temporarily)
It should work under 32bit XP and Vista.
Feedback is welcome
Current Version: 1.1.1 (11.02.09)
Please take a look at these files:
readme.txt => further information and usage
history.txt => changelist
ATTENTION:
Referring to this post, please use my PlugIns only with DOpus 9.1.1.8 or higher! I'll limit the usage to this version in a further release. Thanks. FontViewer.zip (257 KB)
Thanks very much. It works very well for me, fast and smooth. I've been eager to have this extra capability in my file manager.
I have one question for you. Is it possible to have the viewer give the name of the font? That would be helpful to me. Often I don't recognize the *.ttf or *.otf name.
Great to have a Viewer Plugin to preview FontFiles for WinXP!
The plugin only works with the WINDOWS\Fonts directory if you choose to have DOpus display the WINDOWS\Fonts folder as a real folder:
There is a Font Name column which you can turn on in Opus to tell you the name of each font.
Also, this plugin seems to work fine with the Fonts folder shown as virtual, although it didn't initially for some reason. (I enabled the unrelated MultiView plugin, to test if it would show something to prove to myself that plugins can see files in virtual folders and after doing that the FontViewer plugin worked fine for some reason, even if I then disabled MultiView.
Edit: Next two paragraphs crossed out. Turns out it works okay on Vista but there is indeed a problem on XP.
Dinkelhopper, it might be worth debugging the file paths you get when files in the virtual font folder are selected. Maybe they're in an unexpected format?
The Text viewer plugin has no problems showing files in virtual folders (as hex in this case) so it definitely should work for all plugins.
When I enable the MultiView Plugin and/or the FontViewer Plugin (in WinXP) it also doesn't show anything with the Fonts folder shown as virtual:
(but it's not a big problem for me, because it works fine with the Fonts folder shown as real)
Just tried on XP and you're right. Must be something different with XP and Vista.
Since the text plugin also doesn't show anything Dinkelhopper is right in that it isn't the plugin's fault. I'll report that to GPSoft so they can take a look at it. For now, as Christiaan said, you can tell Opus to treat the Fonts folder as real to work around the problem on XP.
BTW, anyone using Vista should have a font viewer built in. (The Opus ActiveX plugin will use the Font preview handler which ships with Windows. That works with both 32-bit and 64-bit.) So the combination of this plugin and the ActiveX plugin means that everyone can now examine fonts in the viewer pane, one way or another, except for the small number of 64-bit users running Windows XP.
Oh strange things with your last release...
When i change police files, pane is not refresh correctly...
Instead of refresh preview lines, another lines are display at the end...