| | |
converting file types
Please support our C++ advertiser: Programming Forums - DaniWeb Sister Site
![]() |
A friend of mine recently asked me how one would convert a .bmp font to a .ttf. I said I was unsure, but it got me thinking to how I would code a program to do that. How would someone who wants to create a .bmp to .ttf converter go about it? Is there some sort of documentation somewhere explaining how the .ttf file format works? And in addition to that, what about other file formats? Where do the people who code programs that create .jpegs or play .mp3s learn about how to properly read/write from those file formats? Is the information publicly available by somewhere?
I'm a student. If my statements seem too absolute, feel free to coat them with "In my opinion..." or "I believe...".
http://www.wotsit.org/ has many file formats documented, and is a good place to start.
Some formats are proprietary, meaning there may be little or no information in the public domain.
You could also try "ttf file format" as a specific search, to locate other examples.
Some formats are proprietary, meaning there may be little or no information in the public domain.
You could also try "ttf file format" as a specific search, to locate other examples.
Is bmp font == pixel font? If so, I think it's impossible automatically convert pictures to True Type font. The last one is not only character glyphs but really a special program for rendering fonts with different rasters and sizes. There are tons of utilities (of course, libraries too) which are capable to convert ttf (and other outline) fonts to pixel fonts, but I never heard about automatic reverse direction transformations.
On the other hand, numerous font generators and editors are capable to import pictures as a base for interactive ttf font design and improvement.
On the other hand, numerous font generators and editors are capable to import pictures as a base for interactive ttf font design and improvement.
![]() |
Similar Threads
- Converting Excel Data to MSAccess .MDB in VB.NET (VB.NET)
- c/c++ program to read rtf file's text in linux (C++)
- Still need help with opening a file and store the data on it in an array (C++)
- Unknown EMF record types when converting to PDF (Visual Basic 4 / 5 / 6)
- converting a .dat --> .mp3 the right way? (Windows NT / 2000 / XP)
- How about converting all my media to quicktime format? (Mac Software)
- converting from javascript to HTML? (Java)
- converting video files (OS X)
Other Threads in the C++ Forum
- Previous Thread: Must be C++ thing cuz it works in C
- Next Thread: compare 2D arrays
Views: 743 | Replies: 6
| Thread Tools | Search this Thread |
Tag cloud for C++
6 add api array arrays beginner binary bitmap c++ c/c++ calculator char class classes code compile compiler console conversion convert count data delete desktop directshow dll encryption error file forms fstream function functions game getline givemetehcodez google graph homeworkhelper iamthwee ifstream input int integer java lazy lib linkedlist linux loop looping loops map math matrix memory microsoft newbie news node number output parameter pointer problem program programming project proxy python random read recursion recursive reference return sort string strings struct studio system template templates test text tree unix url variable vector video visual visualstudio win32 windows winsock word wordfrequency wxwidgets






