Digital-7 and 7-Segment Fonts: From LCD Mock-Up to Real Segment Artwork

Quick answer: Digital-7 is a 7-segment style font by the type designer Style-7. It is widely used to imitate LCD and LED readouts in product renders, apps and interface mock-ups, and it is distributed as freeware for non-commercial use, with a commercial licence available from the designer. DSEG is an alternative family of 7- and 14-segment fonts released under the SIL Open Font License 1.1, which allows commercial use.

A font is only a picture of an LCD. On a real segment LCD, every digit, point and icon is drawn as electrode artwork on the glass and wired to driver pins, so the font serves as a style reference and the LCD drawing is what gets approved.

S4870D TN segment LCD with 7-segment digits for thermometers (SuccessLCD catalogue photo)
Catalogue example: S4870D, a TN segment LCD with 7-segment digits for thermometers. Photo: SuccessLCD.

Digital-7 And DSEG Compared

FontDesignerLicence (as published)StylesTypical use
Digital-7Style-7Freeware for non-commercial use; contact the designer for a commercial licenceRegular, Italic, Mono and Mono ItalicClock, meter and scoreboard looks in mock-ups and personal projects
DSEG7 and DSEG14KeshikanSIL Open Font License 1.1: commercial use, modification and redistribution allowed; the font itself may not be soldClassic and Modern, in light, regular and bold with italics, plus “Mini” versions with wider segment gapsApps, web pages and firmware that need an LCD look; DSEG14 for letters

Licences can differ between download sites and versions. Read the licence file that comes with the copy you use, and treat a font embedded in commercial firmware or a sold app as commercial use.

Font Versus Real Segment LCD

Aspect7-segment fontSegment LCD glass
ShapesFixed by the font designerDrawn for the outline, digit height and viewing area of the product
SegmentsParts of a glyph imageSeparate electrodes, each connected to a segment line and multiplexed with common lines
CharactersAny glyph the font includesOnly what the segments can form; K, M, V, W, X and Z are unclear on 7 segments
Unlit segmentsUsually invisibleCan be faintly visible at some angles, more so in heat or at high drive voltage
Gaps and slantChosen for appearanceSet by pattern rules and alignment tolerance; slant drawn into the artwork for every digit and icon

See 7-, 14- and 16-segment digit design for digit heights, segment counts and which letters each format can show.

From Font Mock-Up To LCD Drawing

  1. Fix the content: number of digits, digit height, decimal points, colons, minus sign, units and icons.
  2. List the characters: note every letter or message each position must show, such as “E”, “r”, “Lo” or “OFF”.
  3. Describe the style: upright or slanted, segment thickness and gap. A screenshot of the font mock-up is a useful reference.
  4. Count the segments: 4 digits × 7 segments, 3 decimal points and a colon make 32 segments. At 1/4 duty that needs 4 common and 8 segment pins; static drive needs 33 pins. See segment LCD duty and bias.
  5. Approve the drawing: the LCD drawing and the segment-to-pin map, not the font file, define the glass.

SuccessLCD designs this artwork for custom segment LCDs. A font mock-up plus the list above is a good starting point for a quotation.

Drawing 7-Segment Digits In Firmware

On a TFT or graphic LCD, large 7-segment digits can be drawn either from a bitmap font rendered at the needed size or as seven filled polygons, which scale cleanly and need no font licence. The segments are named a to g: a is the top bar, b and c run down the right side, d is the bottom bar, e and f run up the left side, and g is the middle bar.

7-segment digit with segment names a to gLeft: a 7-segment digit with segments labelled a (top), b (upper right), c (lower right), d (bottom), e (lower left), f (upper left), g (middle) and the decimal point dp. Right: the digit 2 with segments a, b, d, e and g lit, encoded as 0x5B.Segment namesabcdefgdpDigit “2”: a, b, d, e, g onBitValueg1f0e1d1c0b1a1= 0x5B(bit 0 = a … bit 6 = g)On segment LCD glass the driver bits follow the segment-to-pin map, not this order.
Figure: segment names a to g, and the digit 2 encoded as 0x5B.
DigitSegments onPattern (bit 0 = a … bit 6 = g)
0a b c d e f0x3F
1b c0x06
2a b d e g0x5B
3a b c d g0x4F
4b c f g0x66
5a c d f g0x6D
6a c d e f g0x7D
7a b c0x07
8a b c d e f g0x7F
9a b c d f g0x6F

On a segment LCD, the bits written to the driver IC follow the glass’s segment-to-pin map, which is rarely in a–g order. Build the lookup table from the LCD drawing; driver ICs such as HT1621-type parts are covered in LCD controller and driver ICs.

Digital-7 And 7-Segment Font FAQs

Is the Digital-7 font free for commercial use?

Digital-7 is published by Style-7 as freeware for non-commercial use, and a commercial licence can be bought from the designer. Always check the licence file of the copy you download. DSEG, under the SIL Open Font License 1.1, allows commercial use.

Which font looks like an LCD display?

Digital-7 and DSEG7 imitate 7-segment LCD digits. For letters, DSEG14 imitates 14-segment displays. For a dot-matrix look, use a 5×7 pixel font.

Can I use a 7-segment font on a real LCD?

Not directly. A segment LCD’s digits are electrode artwork on the glass. The font is a useful style reference, and the manufacturer draws the segments to fit the outline, digit height and driver.

What are the segment letters a to g?

a is the top bar, b the upper right, c the lower right, d the bottom bar, e the lower left, f the upper left and g the middle bar. A decimal point is often called dp.

Can a 7-segment display show letters?

Some: A, b, C, d, E, F, H, L, o, P, r and U are readable. K, M, V, W, X and Z are not; use a 14- or 16-segment digit or a dot-matrix display for full text.

Turning a mock-up into a segment LCD? Send the mock-up, digit height, characters to show, outline limits and driver. Send your requirements for an engineering review, or see custom segment LCDs. See also custom LCD module options.

Scroll to Top
Get a QuoteWhatsApp