Edit online

Font Embedding

CSS Font Embedding

All the font families that are referenced from the CSS are embedded automatically in the PDF by Oxygen PDF Chemistry.

Basic Fonts Embedding

Although the basic fonts are guaranteed to be available in all PDF readers, there are some situations where you will have to embed them explicitly when using PDF/Universal Accessibility or Archiving. Because there are some copyright restrictions on these fonts, Oxygen PDF Chemistry cannot redistribute them. You will have to locate the files on your system and declare a set of font faces with the same name as the default ones.

Note: The following example assumes the fonts are placed in a fonts directory next to the stylesheet. The names of the fonts may differ on your platform.

@font-face{
	font-family:Times;
	font-style: normal;
	font-weight:400;
	src: url("fonts/TIMES.TTF");	
}
@font-face{
	font-family:Times;
	font-style: italic;
	font-weight:400;
	src: url("fonts/TIMESI.TTF");	
}
@font-face{
	font-family:Times;
	font-style: italic;
	font-weight:700;
	src: url("fonts/TIMESBI.TTF");
}
@font-face{
	font-family:Times;
	font-style: normal;
	font-weight:700;
	src: url("fonts/TIMESBD.TTF");	
}

/* –––––––––––––––––––––––- */

@font-face{
	font-family:Helvetica;
	font-style: normal;
	font-weight:400;
	src: url("fonts/ARIAL.TTF");
}
@font-face{
	font-family:Helvetica;
	font-style: italic;
	font-weight:400;
	src: url("fonts/ARIALI.TTF");	
}
@font-face{
	font-family:Helvetica;
	font-style: italic;
	font-weight:700;
	src: url("fonts/ARIALBI.TTF");
}
@font-face{
	font-family:Helvetica;
	font-style: normal;
	font-weight:700;
	src: url("fonts/ARIALBD.TTF");	
}

/* –––––––––––––––––––––––- */

@font-face{
	font-family:Courier;
	font-style: normal;
	font-weight:400;
	src: url("fonts/COUR.TTF");	
}
@font-face{
	font-family:Courier;
	font-style: italic;
	font-weight:400;
	src: url("fonts/COURI.TTF");
}
@font-face{
	font-family:Courier;
	font-style: italic;
	font-weight:700;
	src: url("fonts/COURBI.TTF");
}
@font-face{
	font-family:Courier;
	font-style: normal;
	font-weight:700;
	src: url("fonts/COURBD.TTF");	
}

/* –––––––––––––––––––––––- */

@font-face{
	font-family:Symbol;
	font-style: normal;
	font-weight:400;
	src: url("fonts/SYMBOL.TTF");	
}

/* –––––––––––––––––––––––- */

@font-face{
	font-family:"Zapf Dingbats";
	font-style: normal;
	font-weight:400;
	src: url("fonts/WINGDING.TTF");	
}

/* –––––––––––––––––––––––- */
@font-face{
	font-family:Any;
	font-style: normal;
	font-weight:400;
	src: url("fonts/TIMES.TTF");	
}
@font-face{
	font-family:Any;
	font-style: italic;
	font-weight:400;
	src: url("fonts/TIMESI.TTF");	
}
@font-face{
	font-family:Any;
	font-style: italic;
	font-weight:700;
	src: url("fonts/TIMESBI.TTF");
}
@font-face{
	font-family:Any;
	font-style: normal;
	font-weight:700;
	src: url("fonts/TIMESBD.TTF");	
}