GF

gf icon

METAFONT font

File type: Font and typeface file

A METAFONT GF file stores bitmap glyph data generated by METAFONT, the font-design system used in TeX workflows. It contains raster font images rather than editable font outlines.

What is gf file?

File type category:
Font and typeface file

Date updated: November 19, 2026

The Generic Font (GF) format is an output format produced by METAFONT, which creates fonts for the TeX typesetting system. A GF file holds raster data for the font's glyphs.

GF files are technical font output used by TeX tools, not ordinary font files intended for installation or manual editing. They can be converted to other raster font formats for use in TeX workflows.

TeXworks is a TeX editor and document viewer for working with LaTeX documents, available for Windows, Mac, and Linux, but it does not directly display GF files. GF remains a specialized format used in TeX toolchains.

How to open gf file?

TeXworks does not open GF files directly. On Windows, use the gftodvi utility from a TeX distribution to create a DVI proof document from the font, then view that document in a compatible DVI viewer.

How to convert gf file?

To convert a GF font to the packed raster font format used in TeX workflows, use gftopk, a utility supplied with TeX distributions. The resulting PK file is suitable for TeX tools that use packed bitmap fonts; GF does not convert directly to an editable outline font.

Technical details

MIME types
  • application/x-tex-gf

Suggested software to open gf file:

Associated software actions with the gf file

Software apps that create gf files:

Microsoft Windows

Software applications that handle other tasks involving gf files:

Microsoft Windows

Related file extensions