Data Matrix is one of a group of encoding mechanisms collectively referred to as 2-D bar codes, to distingush them from the more familiar linear 1-D bar codes, such as Code39, Code128, Interleaved 2 of 5, EAN13, etc.
The title of the official specification document (ISO/IEC 16022:2006(E)) for Data Matrix is:
"Information Technology - Automatic identification and data capture techniques - Data Matrix bar code symbology specification"
This title includes the term "bar code".
The Data Matrix symbol may use any of 24 square shapes (from 8x8 modules, up to 132x132 modules), or 6 rectangular shapes (from 6x16 to 14x44 modules).
Which shape is used depends (in part) on how much data is to be encoded, and which compaction method is used.
In this context, and for this symbology, 'module' refers to a small, nominally square, shape which is either dark (usually black) or light (usually white).
Each symbol can be envisaged as an array of such modules, the array having a number of columns, and a number of rows.
If you are going to display or print such an array, one method is to consider each row separately, as a sequence of tiny squares, each square being either filled (black) or empty (white).
This is presumably the basis of printing such a symbol using raster graphics mechanisms.
But a suitable font can do just the same; at its simplest, such a font could contain just two characters, one which prints a filled square module, and one which 'prints' an empty square module.
In practice, the mechanism would be more efficient if the font contained rather more characters.
For example, the font I created for use with a transform for a PDF417 barcode ( a 'stacked' 2-D bar code rather than a 'matrix' one) contained 35 characters: 32 to represent binary 0 -> binary 31 (i.e. each character represented some linear combination of 5 modules, or bits); plus a separator character (binary '10') and special start and end row characters.
This was sufficient to be able to represent each of the possible 17-module wide black-white (bar-space) sequences which could be generated (plus the start & end sequences).