Embedding of fonts in PDF and SVG files
How fonts are handled in PDF and SVG files mainly depends on the fonts that you use in the project.
- PDF Files
-
The music and text fonts, and their sub-sets, that are supplied with Dorico Pro are embedded in PDF files during the export. If you open the PDF files on a different computer, they look the same, even if that computer does not have the fonts installed that are used in the document. If you use different fonts, make sure that these permit embedding.
- SVG Files
-
SVG (Scalable Vector Graphics) files do not embed fonts directly. Some font characters, such as note heads, articulations, and accidentals, are converted into outlines, so that they do not depend on the font from which they are taken. Other font characters, such as time signature and tuplet digits, are only encoded using references to the font from which they are taken. The latter also applies to regular text, such as staff labels, tempo instructions, and dynamics. This means that the SVG file looks incorrect if rendered by a web browser on a computer that does not have the fonts installed. The appearance of SVG files depends on the browser or the rendering software, and on the fonts that are installed on the computer.
To ensure that the SVG file appears correctly if embedded in a web page, you can open the SVG file in an illustration program and convert all font characters to outline paths, then re-export the SVG file and embed that file. Alternatively, you can use web fonts to ensure that the necessary fonts are available on the web server.
SVG graphics that are exported from Dorico Pro conform to the SVG Tiny 1.1 specification, which defines a subset of features in the full SVG specification.
For information about using web fonts with SVG, refer to the Help Center on the Steinberg website.