Adding custom fonts don't work in Chrome

3 posts, 1 answers
  1. Goran
    Goran avatar
    12 posts
    Member since:
    Jun 2015

    Posted 09 Aug 2017 Link to this post


    I want to add a custom font in Rad Editor. I added @font-face and URL to my ttf file. For testing purposes I added two DIVs outside the RAD editor and they are displaying the fonts correctly in both browsers. However, when I try to set a font on text in RadEditor, the font changes only if I'm in Firefox. If I'm in Google Chrome, this changing font in Editor does not work - instead of my custom font the default Times New Roman is used.

    Here's the code and font file you can download from this link:

    <%@ Page Language="VB" AutoEventWireup="false" EnableViewState="true"  %>
    <%@ Register assembly="Telerik.Web.UI" namespace="Telerik.Web.UI" tagprefix="telerik" %>
    <!DOCTYPE html>
    <head runat="server">
       <style type="text/css">
            @font-face {
                font-family: ArialUnicode;
                src: url('ArialUnicodeMS.ttf');
        <form id="form1" runat="server">
            <telerik:RadScriptManager ID="RadScriptManager1" Runat="server">           
            <div style="font-family: ArialUnicode">ArialUnicode</div>
            <div style="font-family: Arial">Arial</div>
            <telerik:RadEditor ID="RadEditor1" Runat="server" content ="Hello" RenderMode="Auto"  >
                    <telerik:EditorFont Value="Arial" />
                    <telerik:EditorFont Value="Times New Roman" />
                    <telerik:EditorFont Value="ArialUnicode" />


    Can you help me?



  2. Answer
    Rumen avatar
    14320 posts

    Posted 09 Aug 2017 Link to this post

    Hi Goran,

    Please find attached a video and a project demonstrating how to configure the editor to load the font.

    Kind regards,
    Progress Telerik
    Try our brand new, jQuery-free Angular 2 components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
  3. Goran
    Goran avatar
    12 posts
    Member since:
    Jun 2015

    Posted 09 Aug 2017 in reply to Rumen Link to this post

    Thank you very much, it works!!


Back to Top