Re: Cute Editor Font Family

  •  06-25-2009, 3:22 AM

    Re: Cute Editor Font Family

    Hi goh6613,
     
    1. how can i set the div style when user select the font family instead of  "font-family:Verdana", i wanna change to "font-family:verdana", i want to make all the style in lowercase
     
    a. Open file  Common.config (CuteSoft_Client\CuteEditor\Configuration\Shared\Common.config)
     
    b. Find section below:
     
     <FontName>
       <item text="Arial" html="&lt;font size=3 face='Arial'&gt;Arial&lt;/font&gt;">Arial</item>
       <item text="Verdana" html="&lt;font size=3 face='Verdana'&gt;Verdana&lt;/font&gt;">Verdana</item>
       <item text="Comic Sans MS" html="&lt;font size=3 face='Comic Sans MS'&gt;Comic Sans MS&lt;/font&gt;">Comic Sans MS</item>
       <item text="Courier" html="&lt;font size=3 face='Courier'&gt;Courier&lt;/font&gt;">Courier</item>
       <item text="Georgia" html="&lt;font size=3 face='Georgia'&gt;Georgia&lt;/font&gt;">Georgia</item>
       <item text="Impact" html="&lt;font size=3 face='Arial'&gt;Impact&lt;/font&gt;">Impact</item>
       <item text="Lucida Console" html="&lt;font size=3 face='Lucida Console'&gt;Lucida Console&lt;/font&gt;">Lucida Console</item>
       <item text="Tahoma" html="&lt;font size=3 face='Tahoma'&gt;Tahoma&lt;/font&gt;">Tahoma</item>
       <item text="Times New Roman" html="&lt;font size=3 face='Times New Roman'&gt;Times New Roman&lt;/font&gt;">Times New Roman</item>
       <item text="Wingdings" html="&lt;font size=3 &gt;Wingdings&lt;/font&gt;">Wingdings</item>
       </FontName>
     
    c. Change to:
     
     <FontName>
       <item text="Arial" html="&lt;font size=3 face='Arial'&gt;Arial&lt;/font&gt;">arial</item>
       <item text="Verdana" html="&lt;font size=3 face='Verdana'&gt;Verdana&lt;/font&gt;">verdana</item>
       <item text="Comic Sans MS" html="&lt;font size=3 face='Comic Sans MS'&gt;Comic Sans MS&lt;/font&gt;">comic sans ms</item>
       <item text="Courier" html="&lt;font size=3 face='Courier'&gt;Courier&lt;/font&gt;">courier</item>
       <item text="Georgia" html="&lt;font size=3 face='Georgia'&gt;Georgia&lt;/font&gt;">georgia</item>
       <item text="Impact" html="&lt;font size=3 face='Arial'&gt;Impact&lt;/font&gt;">impact</item>
       <item text="Lucida Console" html="&lt;font size=3 face='Lucida Console'&gt;Lucida Console&lt;/font&gt;">lucida console</item>
       <item text="Tahoma" html="&lt;font size=3 face='Tahoma'&gt;Tahoma&lt;/font&gt;">tahoma</item>
       <item text="Times New Roman" html="&lt;font size=3 face='Times New Roman'&gt;Times New Roman&lt;/font&gt;">times new roman</item>
       <item text="Wingdings" html="&lt;font size=3 &gt;Wingdings&lt;/font&gt;">wingdings</item>
       </FontName>
     
    2. how can i add in new font ?
     
    a. Open file  Common.config (CuteSoft_Client\CuteEditor\Configuration\Shared\Common.config)
     
    b. Find section below
     
     <FontName>
     </FontName>
     
    c. Add a font option into the section above , like below
     
     <FontName>
        <item text="Gulim" html="&lt;font size=3 face='Gulim'&gt;Gulim&lt;/font&gt;">Gulim</item>
      </FontName>
     
    Regards,
     
    ken
View Complete Thread