Page 1 of 1

Author View Webfont

Posted: Mon Oct 13, 2014 4:06 pm
by patrick
Hi,

is it possible to use an not installed font in the author view (e.g. through webfont with @font-face in css)?

I tried it but an error occurs...
Beschreibung: [CSS]:Problems occured during new fonts installation: bad pfa font

Thanks
Patrick

Re: Author View Webfont

Posted: Mon Oct 13, 2014 4:15 pm
by Radu
Hi Patrick,

Yes, the Author CSS support allows loading dynamic fonts:

http://www.oxygenxml.com/doc/ug-oxygen/ ... media.html

But being a Java application we rely on the capability of the Java font libraries to load a certain font.
For example loading true type fonts works. Some "otf" fonts may also be loaded successfully.
But as far as I know WOFF font files cannot be loaded directly by the Java libraries. Maybe you could try to convert them to TTF and load them as such.

Regards,
Radu

Re: Author View Webfont

Posted: Mon Oct 13, 2014 5:36 pm
by patrick
Thank you!

If I use a ttf, it works.