Page 1 of 1

Adding custom font in Author view

Posted: Mon Jan 23, 2012 8:21 pm
by Vincent
Hi,
Today I come with a little issue :)

I would like to use a custom font in the Author view.
I tried the CSS :
@font-face {
font-family: my_font;
src: url('fonts/my_custom_font.ttf');
}

And then I call the CSS property "font-family"... but nothing Happen.

Is that possible to import such a font ?
Is there any special way to proceed ?

Thank you,

Vincent.

Re: Adding custom font in Author view

Posted: Tue Jan 24, 2012 12:59 pm
by mihaela
Hi Vincent,

The @font-face CSS rule is not supported yet by the oXygen Author.

What you can do is to copy your font in the Windows Fonts directory and oXygen will recognize and use this font (after an application restart) like any other font already installed in your system.

Best regards,
Mihaela

Re: Adding custom font in Author view

Posted: Wed Jan 25, 2012 6:39 pm
by Vincent
Thank you,
It's working for me.


Vincent.

Re: Adding custom font in Author view

Posted: Thu Feb 14, 2013 1:12 pm
by Radu
Hi,

Oxygen 14.2 just added support for the @font-face CSS at-rule.

Regards,
Radu

Re: Adding custom font in Author view

Posted: Thu Feb 14, 2013 3:18 pm
by Vincent
Great news,
Thank you Radu of keeping me in touch. I appreciate.

Vincent.