Embed fonts or convert labels to paths
An exported label displays in the right typeface only if the viewer’s machine has the font or the file carries it. To make an SVG carry it, either embed the font file or convert the labels to vector outlines so that no font is needed.
| Embed fonts | Convert to paths | |
|---|---|---|
| Text stays selectable and searchable | Yes | No |
| Depends on the viewer’s fonts | No | No |
| File size | Grows by the size of each font | Small |
| Suited to PowerPoint, Word, Keynote | No | Yes, with Maximum compatibility |
Embed fonts in an SVG
Section titled “Embed fonts in an SVG”- Click File > Export SVG.
- Select Embed fonts for offline use.
- Click Export SVG.
The checkbox appears only when the document uses a font that is not a standard system font: a Google font or a font you uploaded. If you uploaded a font, the checkbox is already selected, because an uploaded font has no web copy for the viewer to download.
Each font goes into the SVG as a base64 @font-face block. Uploaded TTF and OTF files and Google fonts (WOFF2) are all supported. Every embedded font adds its full size to the file.
Convert labels to paths
Section titled “Convert labels to paths”In the Export SVG dialog, select Convert labels to paths. Atom labels become vector outlines drawn from Liberation Sans, a font with the same letter widths as Arial, so the file needs no font for them. Only labels made of the letters C, H, N, O, S, P, F, B, I, and K, digits, and the + and − signs can be outlined; a label with any other letter (Cl, Br, Na, Si) stays text and still needs the font. The outlined text can no longer be selected or edited. Text annotations are not outlined.
Outlining works only when every atom label is set in Arial or Helvetica. If any label uses another font, such as Times New Roman, no labels are outlined and all of them stay as text. To outline them, set Label Font to Arial in Structure Settings before you export, or embed the fonts instead.
For Microsoft Office, Keynote, and LibreOffice, select Maximum compatibility instead. It turns on Convert labels to paths and turns off Theme-aware (light/dark) and Embed fonts for offline use, which gives a static file for those apps. A label that cannot be outlined (see above) still needs the font on the viewer’s computer.
PNG, PDF, and copy as image
Section titled “PNG, PDF, and copy as image”PNG, PDF, and copy as image need no setting.
PNG export and copy as image (Ctrl+Shift+C) embed the fonts before the drawing is turned into pixels.
PDF export handles fonts in three ways:
- Text in Arial, Helvetica, Times New Roman, Georgia, and Courier New is set in Liberation Sans, Serif, and Mono, in its own weight and style, and embedded. These fonts have the same letter widths, so nothing moves. With Embed fonts cleared in the PDF dialog, this text uses the PDF standard fonts Helvetica, Times, and Courier instead, which are not embedded.
- A Google font is embedded as a TTF file (its regular Latin face, fetched while you are online). An uploaded TTF or OTF font is embedded from your browser’s font library. An uploaded WOFF2 font cannot be embedded in a PDF; its text prints in one of the standard fonts instead, usually Helvetica.
- Characters that the chosen font cannot draw, such as Greek letters, the minus sign, arrows, and superscript signs, are set in the bundled Liberation font of the same style, or in DejaVu Sans for characters that Liberation lacks. They are sized to keep the text’s width on the canvas. This also covers Greek letters in a Google font such as Roboto, which would otherwise print blank.
For everything else that changes on the way into a PDF, see What the PDF contains.
Phones and tablets
Section titled “Phones and tablets”When the only risk is a phone that lacks Arial, Times, or Courier, mobile-safe rendering is lighter than full embedding. It embeds subsets of Liberation Sans, Serif, or Mono for those fonts, holding only the characters your drawing uses.
Saving a .mkit file is separate from exporting. For how uploaded fonts travel inside a saved document, see Fonts in .mkit files. To choose or add fonts, see Manage fonts.