How does BuildVu handle fonts?

Some fonts are embedded within a PDF file, while others are not. The tool that created the PDF file chooses which fonts to embed.

If a font is embedded, then BuildVu will process and use the embedded font. If a font is not embedded, then BuildVu will use an open source fallback font.

In realtext modes, BuildVu processes and rewrites embedded fonts so that browsers can understand them. The font files are written out and used inside the converted content using a CSS @font-face.

In shapetext modes, BuildVu flattens the text into shapes inside the page content. If a nonselectable shapetext mode is used, the font file itself is not written out. If a selectable shapetext mode is used, an additional layer of invisible text is written out for selection purposes and the font file is written out.

Where fonts are shared between multiple pages, BuildVu will write out one copy of the font. If BuildVu writes out multiple font files with similar names it is because the PDF file stores different versions of the font with the same name or because the font maps multiple glyphs to the same extraction value.

If a font is not embedded then BuildVu will substitute for one of the following open source fonts stored within the software. This ensures a consistent appearance across devices and avoids any copyright issues related to copying system fonts.

Open source fallback fonts:

  • Liberation Serif
  • Liberation Sans
  • Noto Sans Condensed
  • Noto Sans Symbols2
  • Tex Gyre Cursor
  • GNU Unifont
  • Anton

See also:

Have more questions? Ask us on Discord