It is currently Tue Oct 17, 2017 1:55 am


All times are UTC - 5 hours [ DST ]


Register for Windows Forums


New posts Register

Register for Windows Forums now to gain access to: post messages, download free books, competitions for great prizes, and get to know others. Members also see NO ADVERTS. Join today!




 Page 1 of 2 [ 20 posts ]  Go to page 1, 2  Next
Message Author
 
 Post subject: Winfonts - backup & preview your installed fonts!
New postPosted: Sun Aug 21, 2011 12:10 pm 

Hello, while struggling with the screen capture program, I just made this program fast (my friend asked this kind of program but I though I could share it here too). So with this you can preview & backup fonts easily. This is a good program especially for those who are looking specific kind of font but using e.g. word or notepad is too slow.

Here is the main window:
Image

Here you have quite a much of buttons and labels, so I'll explain a few:

Mark - This adds the selected font to another box on the right so you can pick a few fonts and compare them later.
Accepted font extensions - This box that includes all extensions I have declared as font extension, you can edit it by pressing the 'Edit' button. Required for restoring fonts from a backup. (Extensions by default are *.ttf, *.otf, *.pfb and *.fon)
Overview all fonts - opens this window:
Image
Double-clicking any item will select that font and you can mark it then.

Download link: via Mediafire

Please give me some feedback! Or if you have questions/need a specific program, I can do my best, just ask!



_________________
"Life wouldn't be life if you lived your own life without real life"
Confusing, eh?
Years of membershipYears of membershipYears of membershipYears of membershipYears of membershipYears of membershipYears of membership
User avatar
Content Contributor
Content Contributor

Joined: Sat Nov 07, 2009 10:52 am
Posts: 322
Thanks given: 15 times
Thanks received: 74 times
Location: Finland
OS: 8
 Profile E-mail  
 
Offline
 
 Post subject: Re: Winfonts - backup & preview your installed fonts!
New postPosted: Tue Aug 23, 2011 9:23 am 

Backup all fonts:

See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
System.IO.IOException: The file 'C:\Users\Stu\Desktop\desktop.ini' already exists.
   at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
   at System.IO.File.InternalCopy(String sourceFileName, String destFileName, Boolean overwrite)
   at System.IO.File.Copy(String sourceFileName, String destFileName, Boolean overwrite)
   at Microsoft.VisualBasic.FileIO.FileSystem.CopyOrMoveFile(CopyOrMove operation, String sourceFileName, String destinationFileName, Boolean overwrite, UIOptionInternal showUI, UICancelOption onUserCancel)
   at Microsoft.VisualBasic.MyServices.FileSystemProxy.CopyFile(String sourceFileName, String destinationFileName, Boolean overwrite)
   at Winfonts.Form1.Button6_Click_1(Object sender, EventArgs e)
   at System.Windows.Forms.Control.OnClick(EventArgs e)
   at System.Windows.Forms.Button.OnClick(EventArgs e)
   at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
   at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
   at System.Windows.Forms.Control.WndProc(Message& m)
   at System.Windows.Forms.ButtonBase.WndProc(Message& m)
   at System.Windows.Forms.Button.WndProc(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


************** Loaded Assemblies **************
mscorlib
    Assembly Version: 4.0.0.0
    Win32 Version: 4.0.30319.237 (RTMGDR.030319-2300)
    CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v4.0.30319/mscorlib.dll
----------------------------------------
Winfonts
    Assembly Version: 1.0.0.0
    Win32 Version: 1.0.0.0
    CodeBase: file:///D:/Stu/Downloads/Dump/Winfonts.exe
----------------------------------------
Microsoft.VisualBasic
    Assembly Version: 10.0.0.0
    Win32 Version: 10.0.30319.1 built by: RTMRel
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/Microsoft.VisualBasic/v4.0_10.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualBasic.dll
----------------------------------------
System
    Assembly Version: 4.0.0.0
    Win32 Version: 4.0.30319.236 built by: RTMGDR
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Core
    Assembly Version: 4.0.0.0
    Win32 Version: 4.0.30319.233 built by: RTMGDR
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll
----------------------------------------
System.Windows.Forms
    Assembly Version: 4.0.0.0
    Win32 Version: 4.0.30319.235 built by: RTMGDR
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System.Drawing
    Assembly Version: 4.0.0.0
    Win32 Version: 4.0.30319.1 built by: RTMRel
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
System.Configuration
    Assembly Version: 4.0.0.0
    Win32 Version: 4.0.30319.1 (RTMRel.030319-0100)
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
System.Xml
    Assembly Version: 4.0.0.0
    Win32 Version: 4.0.30319.233 built by: RTMGDR
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
System.Runtime.Remoting
    Assembly Version: 4.0.0.0
    Win32 Version: 4.0.30319.1 (RTMRel.030319-0100)
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Runtime.Remoting/v4.0_4.0.0.0__b77a5c561934e089/System.Runtime.Remoting.dll
----------------------------------------

************** JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.

For example:

<configuration>
    <system.windows.forms jitDebugging="true" />
</configuration>

When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box.


Seems simple to fix.

Restore fonts from a Backup:
If clicked but then cancelled, a success message is still shown!

Would be nice to be able to specify a directory of fonts.



_________________
Image
Years of membershipYears of membershipYears of membershipYears of membershipYears of membershipYears of membershipYears of membershipYears of membershipYears of membership
User avatar
Site Admin
Site Admin
Windows Guru²
Windows Guru²

Joined: Sat Jun 07, 2008 9:08 am
Posts: 3186
Thanks given: 375 times
Thanks received: 441 times
Location: 0x7C00
OS: 8 RT
 Profile E-mail  
 
Offline
 
 Post subject: Re: Winfonts - backup & preview your installed fonts!
New postPosted: Thu Aug 25, 2011 12:36 pm 

Yep, easy fix! Thanks for pointing that out, Stu. Specify a directory of fonts, are you meaning that some fonts are in a specific directory and it'd show only the fonts that are in the selected directory?



_________________
"Life wouldn't be life if you lived your own life without real life"
Confusing, eh?
Years of membershipYears of membershipYears of membershipYears of membershipYears of membershipYears of membershipYears of membership
User avatar
Content Contributor
Content Contributor

Joined: Sat Nov 07, 2009 10:52 am
Posts: 322
Thanks given: 15 times
Thanks received: 74 times
Location: Finland
OS: 8
 Profile E-mail  
 
Offline
 
 Post subject: Re: Winfonts - backup & preview your installed fonts!
New postPosted: Thu Aug 25, 2011 1:40 pm 

When started it looks in %windir%\fonts. I only have a handful installed at any one time so 99% of my fonts are in a different directory e.g. E:\Media\Design\Fonts. It would be nice to be able to specify a custom directory to preview.
Also, why not add every font file type available instead of having the ability to filter/change?


Last edited by Stu on Thu Nov 10, 2011 2:33 pm, edited 1 time in total.


_________________
Image
Years of membershipYears of membershipYears of membershipYears of membershipYears of membershipYears of membershipYears of membershipYears of membershipYears of membership
User avatar
Site Admin
Site Admin
Windows Guru²
Windows Guru²

Joined: Sat Jun 07, 2008 9:08 am
Posts: 3186
Thanks given: 375 times
Thanks received: 441 times
Location: 0x7C00
OS: 8 RT
 Profile E-mail  
 
Offline
 
 Post subject: Re: Winfonts - backup & preview your installed fonts!
New postPosted: Sat Aug 27, 2011 4:40 am 

Yea, I'll look at it, it looks only the installed fonts atm. The font type list is because I really have no idea how many font extensions are in total.



_________________
"Life wouldn't be life if you lived your own life without real life"
Confusing, eh?
Years of membershipYears of membershipYears of membershipYears of membershipYears of membershipYears of membershipYears of membership
User avatar
Content Contributor
Content Contributor

Joined: Sat Nov 07, 2009 10:52 am
Posts: 322
Thanks given: 15 times
Thanks received: 74 times
Location: Finland
OS: 8
 Profile E-mail  
 
Offline
 
 Post subject: Re: Winfonts - backup & preview your installed fonts!
New postPosted: Sat Aug 27, 2011 9:57 am 
For this post the author Stu has received gratitude : Batupata

Batupata wrote:
The font type list is because I really have no idea how many font extensions are in total.


http://www.fileinfo.com/filetypes/font



_________________
Image
Years of membershipYears of membershipYears of membershipYears of membershipYears of membershipYears of membershipYears of membershipYears of membershipYears of membership
User avatar
Site Admin
Site Admin
Windows Guru²
Windows Guru²

Joined: Sat Jun 07, 2008 9:08 am
Posts: 3186
Thanks given: 375 times
Thanks received: 441 times
Location: 0x7C00
OS: 8 RT
 Profile E-mail  
 
Offline
 
 Post subject: Re: Winfonts - backup & preview your installed fonts!
New postPosted: Sat Aug 27, 2011 10:08 am 
For this post the author Batupata has received gratitude : Stu

Thanks!! Already managed to preview uninstalled fonts :D



_________________
"Life wouldn't be life if you lived your own life without real life"
Confusing, eh?
Years of membershipYears of membershipYears of membershipYears of membershipYears of membershipYears of membershipYears of membership
User avatar
Content Contributor
Content Contributor

Joined: Sat Nov 07, 2009 10:52 am
Posts: 322
Thanks given: 15 times
Thanks received: 74 times
Location: Finland
OS: 8
 Profile E-mail  
 
Offline
 
 Post subject: Re: Winfonts - backup & preview your installed fonts!
New postPosted: Thu Nov 10, 2011 2:32 pm 

Any updates? ;)



_________________
Image
Years of membershipYears of membershipYears of membershipYears of membershipYears of membershipYears of membershipYears of membershipYears of membershipYears of membership
User avatar
Site Admin
Site Admin
Windows Guru²
Windows Guru²

Joined: Sat Jun 07, 2008 9:08 am
Posts: 3186
Thanks given: 375 times
Thanks received: 441 times
Location: 0x7C00
OS: 8 RT
 Profile E-mail  
 
Offline
 
 Post subject: Re: Winfonts - backup & preview your installed fonts!
New postPosted: Sat Nov 12, 2011 3:56 am 
For this post the author Batupata has received gratitude : Stu

Yeap! :D In order to make the marked fonts list working for both installed and custom fonts at the same time, I have to make a new font list where I have to copy the specific fonts. Probably easy, it just need thinking.
Still some bugs, but I'll list the known ones here:

    1. The marked fonts list.
    2. I haven't even looked at the backup and restore buttons atm, but I have (almost) the whole weekend time!
    3. 'Delete' button doesn't work.
    4. If you get the "Please set a valid folder where to look for font files" message, but your folder is valid, please just press refresh.

Here is the download link if you want to test this version:
Winfonts



_________________
"Life wouldn't be life if you lived your own life without real life"
Confusing, eh?
Years of membershipYears of membershipYears of membershipYears of membershipYears of membershipYears of membershipYears of membership
User avatar
Content Contributor
Content Contributor

Joined: Sat Nov 07, 2009 10:52 am
Posts: 322
Thanks given: 15 times
Thanks received: 74 times
Location: Finland
OS: 8
 Profile E-mail  
 
Offline
 
 Post subject: Re: Winfonts - backup & preview your installed fonts!
New postPosted: Sat Nov 12, 2011 8:53 am 

Great update Batu! This is fantastic!

Some things i've found:

.otf fonts are not being recognised or displayed in the dropdown list. (Reproducible)

Setting a custom location results in the top-level fonts being immediately displayed however, if i click All Subdirectories and hit refresh, it crashes. (Reproducible)

When saving the marked fonts list to .txt file i recieve this error message. (Reproducible)
See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
System.InvalidCastException: Operator '&' is not defined for type 'ListViewItem' and string "
".
   at Microsoft.VisualBasic.CompilerServices.Operators.InvokeObjectUserDefinedOperator(UserDefinedOperator Op, Object[] Arguments)
   at Microsoft.VisualBasic.CompilerServices.Operators.InvokeUserDefinedOperator(UserDefinedOperator Op, Object[] Arguments)
   at Microsoft.VisualBasic.CompilerServices.Operators.ConcatenateObject(Object Left, Object Right)
   at Winfonts.Form1.Button4_Click(Object sender, EventArgs e)
   at System.Windows.Forms.Control.OnClick(EventArgs e)
   at System.Windows.Forms.Button.OnClick(EventArgs e)
   at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
   at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
   at System.Windows.Forms.Control.WndProc(Message& m)
   at System.Windows.Forms.ButtonBase.WndProc(Message& m)
   at System.Windows.Forms.Button.WndProc(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


************** Loaded Assemblies **************
mscorlib
    Assembly Version: 4.0.0.0
    Win32 Version: 4.0.30319.239 (RTMGDR.030319-2300)
    CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v4.0.30319/mscorlib.dll
----------------------------------------
Winfonts
    Assembly Version: 1.0.0.0
    Win32 Version: 1.0.0.0
    CodeBase: file:///E:/User-Data/Stu/Downloads/Dump/Winfonts.exe
----------------------------------------
Microsoft.VisualBasic
    Assembly Version: 10.0.0.0
    Win32 Version: 10.0.30319.1 built by: RTMRel
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/Microsoft.VisualBasic/v4.0_10.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualBasic.dll
----------------------------------------
System
    Assembly Version: 4.0.0.0
    Win32 Version: 4.0.30319.236 built by: RTMGDR
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Core
    Assembly Version: 4.0.0.0
    Win32 Version: 4.0.30319.233 built by: RTMGDR
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll
----------------------------------------
System.Windows.Forms
    Assembly Version: 4.0.0.0
    Win32 Version: 4.0.30319.235 built by: RTMGDR
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System.Drawing
    Assembly Version: 4.0.0.0
    Win32 Version: 4.0.30319.1 built by: RTMRel
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
System.Runtime.Remoting
    Assembly Version: 4.0.0.0
    Win32 Version: 4.0.30319.1 (RTMRel.030319-0100)
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Runtime.Remoting/v4.0_4.0.0.0__b77a5c561934e089/System.Runtime.Remoting.dll
----------------------------------------

************** JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.

For example:

<configuration>
    <system.windows.forms jitDebugging="true" />
</configuration>

When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box.


When viewing Overview all fonts, sometimes it crashes, sometimes it works fine.

Memory leaks? - This was increasing by the second.



_________________
Image
Years of membershipYears of membershipYears of membershipYears of membershipYears of membershipYears of membershipYears of membershipYears of membershipYears of membership
User avatar
Site Admin
Site Admin
Windows Guru²
Windows Guru²

Joined: Sat Jun 07, 2008 9:08 am
Posts: 3186
Thanks given: 375 times
Thanks received: 441 times
Location: 0x7C00
OS: 8 RT
 Profile E-mail  
 
Offline
Display posts from previous:  Sort by  
 Page 1 of 2 [ 20 posts ]  Go to page 1, 2  Next

All times are UTC - 5 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 4 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  

cron