On 05/ 7/18 09:51 PM, Parth Wazurkar wrote:
> What are these magic numbers? where can I find details about magic numbers.
https://en.wikipedia.org/wiki/Magic_number_(programming) explains what they
are - just unique values in a specific position in the file to help identify
the format even if the file gets renamed.

The actual numbers would be found in the file format specifications for each
font format - you can find pointers to those in:
http://git.savannah.gnu.org/cgit/freetype/freetype2.git/tree/docs/formats.txt
http://fileformats.archiveteam.org/wiki/Fonts

And there's probably a collection of them in the /etc/magic file used by
the file(1) command on most Linux/UNIX systems too.  (For that, see
http://www.darwinsys.com/file/ for more info.)

-- 
        -Alan Coopersmith-               [email protected]
         Oracle Solaris Engineering - https://blogs.oracle.com/alanc

_______________________________________________
Freetype-devel mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/freetype-devel

Reply via email to