Bold with fonts that don't support it

Last post 01-20-2006, 2:35 PM by Adam. 1 replies.
Sort Posts: Previous Next
  •  01-20-2006, 11:54 AM 14954

    Bold with fonts that don't support it

    I am currently working on an application that takes the html from the editor and inserts it into a pdf.  The client that we are working with some specific fonts.  How does the editor handle fonts that does not have the bold or italic associated with it? For example i will be using "sans" but when the client wants to bold the text the font "sans bold" will need to be used does the wysiwyg do this automatically or do i need to handle this on my own someway.


  •  01-20-2006, 2:35 PM 14969 in reply to 14954

    Re: Bold with fonts that don't support it

    >>I am currently working on an application that takes the html from the editor and inserts it into a pdf. 
     
    Just let you know in the coming version 5.2, CuteEditor will has this feature too.

    >>For example i will be using "sans" but when the client wants to bold the text the font "sans bold" will need to be used does the wysiwyg do this automatically or do i need to handle this on my own someway.

    CuteEditor can handle this situation easily.

    Pleasse check the following article:

    Font Name dropdown Customization 
     
    http://cutesoft.net/developer+guide/FontName_dropdown_Customization.htm


    <FontName>
       <item text="Arial" html="&lt;font size=3 face='Arial'&gt;Arial&lt;/font&gt;">Arial</item>
       <item text="sans bold" html="&lt;font size=3 face='sans bold'&gt;sans bold&lt;/font&gt;">sans bold</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 face='Wingdings'&gt;Wingdings&lt;/font&gt;">Wingdings</item>
      </FontName>


     
     

    asp.net Chat http://cutesoft.net/ASP.NET+Chat/default.aspx
    Web Messenger: http://cutesoft.net/Web-Messenger/default.aspx
    asp.net wysiwyg editor: http://cutesoft.net/ASP.NET+WYSIWYG+Editor/default.aspx
    asp wysiwyg html editor: http://cutesoft.net/ASP
    asp.net Image Gallery: http://cutesoft.net/ASP.NET+Image+Gallery/default.aspx
    Live Support: http://cutesoft.net/live-support/default.aspx

View as RSS news feed in XML