1

We have added our custom Font type to CMS using Open Font List option available under Administration Tab, as mentioned in the SDL Live Doc. But we are not able to find the place where we need to add the font type properties.
1) Do we need to Install the Font first in server?
2) For existing font type i.e Arial, Arial Black e.t.c., We couldn't find any Css file where we can extend and add our new font type details.

4

There is no configuration available for the fonts. The only thing you can set is the name of the font to be available in the the list of fonts, that the Editors can select for the rich text format fields.

The selected font is translated to the following in the rich text field,

<span style="font-family: FONT-NAME;">componente</span>

So to install a type of font not available by default in all browsers, I think that it is necessary to add a "font-face" in your application css files. For example try loading your font files with:

@font-face {
    font-family: myOwnFont;
    src: url('myOwnFont.woff');
}

If you want to see the results of this font in the Field Editor of the Content Manager Explorer, then you have to add this font face to a css file loaded by the content manager, for example the "FormatAreaStyles.css" file in the following path:

<TRIDION>\web\WebUI\Editors\CME\Configuration\
  • what will be the src: Url, is it where the font is installed? – SDLBeginner Feb 10 '16 at 12:58
  • If you put the woff file in the same path as the FormatAreaStyles, and put the url with quotes like url('myOwnFornt.woff') it works – Raúl Escudero Feb 10 '16 at 17:10
  • I installed them in Windows fonts Folder where other fonts are alrady installed in server and giving url as <br> src: url("../fonts/myOwnFornt.woff"); . But not fonts not working in RTF. any suggestions – SDLBeginner Feb 12 '16 at 13:20
  • 1
    Forget the Windows Fonts. Put your .woff file in the same path as the FormatAreaStyles.css, and configure the font-face as I told you in that file. Is all you need to see your fonts displayes in the RichTextFormat field. – Raúl Escudero Feb 13 '16 at 7:44
  • thank you @RaulEscudero ... now i am getting my fonts working, except the Italic one. Tying to make it work. – SDLBeginner Feb 15 '16 at 13:12

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.