ABC doesn't support @fontface.
However you can use custom fonts if you know what the font is beforehand (if the content is from your own server) when using addImageHTML().
All you need to do is install the font on your server (eg here I'm using OpenSans), and then reference it in your CSS like so:
@font-face {
font-family: 'open_sansregular';
src: url('../fonts/OpenSans-Regular-webfont.eot');
src: url('../fonts/OpenSans-Regular-webfont.eot?#iefix') format('embedded-opentype'),
url('../fonts/OpenSans-Regular-webfont.woff') format('woff'),
url('../fonts/OpenSans-Regular-webfont.ttf') format('truetype'),
url('../fonts/OpenSans-Regular-webfont.svg#open_sansregular') format('svg');
}
body
{
font-family: Open Sans, 'open_sansregular', sans-serif;
}
The key here is the:
font-family: Open Sans
part. This will try to reference a font named "Open Sans" that is on the local computer than renders the HTML. AbcPDF will pick it up and use it (I've done it myself).