HEX (Unifont)

From Just Solve the File Format Problem
(Difference between revisions)
Jump to: navigation, search
(Created page with "{{FormatInfo |formattype=electronic |subcat=Fonts |extensions={{ext|hex}} |released=1998 }} '''HEX''' is a bitmap font format associated with the GNU Unifont project. It is a ...")
 
(example)
 
Line 12: Line 12:
 
* [https://ftp.gnu.org/gnu/unifont/ Unifont] (also [http://unifoundry.com/pub/unifont/ here)]
 
* [https://ftp.gnu.org/gnu/unifont/ Unifont] (also [http://unifoundry.com/pub/unifont/ here)]
 
** <code>hex2bdf</code>, <code>bdfimplode</code>, <code>hex2sfd</code>, <code>unifontpic</code>, <code>unifont-viewer</code>, etc.
 
** <code>hex2bdf</code>, <code>bdfimplode</code>, <code>hex2sfd</code>, <code>unifontpic</code>, <code>unifont-viewer</code>, etc.
 +
 +
== Example ==
 +
 +
Glyph for ASCII capital 'A'.
 +
<code>
 +
 +
0041:0000000018242442427E424242420000
 +
</code>
 +
 +
Decoded to bitmap with 0 as "." and 1 as "@", this line gives :
 +
<code>   
 +
    ........
 +
    ........
 +
    ........
 +
    ........
 +
    ...@@...
 +
    ..@..@..
 +
    ..@..@..
 +
    .@....@.
 +
    .@....@.
 +
    .@@@@@@.
 +
    .@....@.
 +
    .@....@.
 +
    .@....@.
 +
    .@....@.
 +
    ........
 +
    ........
 +
</code>
 +
 +
  
 
== Samples files ==
 
== Samples files ==

Latest revision as of 14:49, 7 January 2024

File Format
Name HEX (Unifont)
Ontology
Extension(s) .hex
Released 1998

HEX is a bitmap font format associated with the GNU Unifont project. It is a plain text-based format, and uses hex encoding. It is very limited, and used mainly as an intermediate format.

GNU Unifont is a project to create and maintain a free bitmap font containing all of the defined characters in Unicode's Basic Multilingual Plane. Many non-BMP characters are also covered in some way, though they seem to be second-class citizens.

Contents

[edit] Software

  • Unifont (also here)
    • hex2bdf, bdfimplode, hex2sfd, unifontpic, unifont-viewer, etc.

[edit] Example

Glyph for ASCII capital 'A'.

0041:0000000018242442427E424242420000

Decoded to bitmap with 0 as "." and 1 as "@", this line gives :

   ........
   ........
   ........
   ........
   ...@@...
   ..@..@..
   ..@..@..
   .@....@.
   .@....@.
   .@@@@@@.
   .@....@.
   .@....@.
   .@....@.
   .@....@.
   ........
   ........


[edit] Samples files

[edit] Links

Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox