Click to open or copy the files for the FontEdit sample.
The FontEdit tool allows you to modify an existing bitmap font. You can change any or all of the header information, as well as graphically edit the bitmap image of the glyphs. This sample can be useful for learning about the binary font format.
This sample uses the following keywords:
_lclose; _lread; _lwrite; aboutdlg; adddel; atoi; beginpaint; bitblt; boxbackup; boxpaint; boxrestore; boxtochar; boxtoclipboard; bytecopy; charrectdimensions; chartobox; charupper; charwidth; checkdlgbutton; checkradiobutton; checksave; cj_dib_scan; clearbox; clearfill; clipboardtobox; closeclipboard; commdlgopen; commdlgsaveas; converttobitmapformat; converttofileformat; createbitmap; createcompatibledc; createsolidbrush; createwindow; defwindowproc; deletedc; deleteglobalbitmap; deleteobject; destroywindow; dialogbox; dispatchmessage; dlgmergestrings; drawbox; drawmenubar; drawrubberband; dupcol; duprow; emptyclipboard; enablemenuitem; enddialog; endpaint; endrubberbandingrect; errorbox; excisechars; fillrect; findmouse; fonteditcommand; fonteditinit; fonteditpaint; fonteditwndproc; fontload; fontrename; fontsave; fontshowhorzscroll; fontshowpaint; fontshowwndproc; format20filetoobig; getclientrect; getclipboarddata; getdc; getdlgitem; getdlgitemint; getdlgitemtext; getkstuff; getmenu; getmessage; getnewmap; getobject; getpixel; getprofilestring; getstockobject; getsystemmetrics; gettextextentpoint32; gettextmetrics; getwindowrect; globalalloc; globalfree; headerproc; initialiserubberbandingrect; initsizes; invalidaterect; invertfont; isclipboardformatavailable; isiconic; iswindowvisible; loadaccelerators; loadcursor; loadicon; loadstring; localalloc; localfree; lstrcat; lstrcpy; lstrlen; makeintresource; makeprocinstance; max; memset; messagebox; min; mouseinbox; mouseinfont; mousemovefont; mouseoutfont; movewindow; newaverage; newfirstchar; newlastchar; openclipboard; openfile; patblt; peekmessage; postmessage; postquitmessage; proport; ptinrect; readrect; rectangle; registerclass; releasecapture; releasedc; resizebody; resizeproc; resizeshow; resizewidths; rgb; scrollfont; selectobject; setbitmapbits; setcapture; setcharset; setclipboarddata; setcursor; setdlgitemint; setdlgitemtext; setfamily; setfixed; setfocus; setpixel; setrop2; setscrollpos; setstretchbltmode; setweight; setwindowtext; showwindow; shrinkfont; snappointtogrid; spreadwidths; sprintf; stretchblt; textout; toclipboard; translatemessage; unreferenced_parameter; updatewindow; usenewmap; verifyheadercontents; verifytablecontents; widthproc; winmain; zapcol; zaprow