Font size question

Last post 05-08-2010, 11:47 AM by Adam. 3 replies.
Sort Posts: Previous Next
  •  05-03-2010, 2:38 PM 60641

    Font size question

    All,
     
    I modifed Common.config to use actual 'pt' sized according to the example enclosed in that file.  The problem is that when I select text with a specific font size, the dropdown font size box does not automatically select it.
     
    Any ideas how to get this to work?
     
    Thx
    jonpfl
     

    <item text="7pt" html="&lt;span style='font-size:7pt'&gt;7pt&lt;/span&gt;">7pt</item>

    <item text="8pt" html="&lt;span style='font-size:8pt'&gt;8pt&lt;/span&gt;">8pt</item>

  •  05-03-2010, 4:09 PM 60643 in reply to 60641

    Re: Font size question

    1. <FontSize>  
    2.       <item text="1 (8pt)" value="1" />  
    3.      <item text="2 (10pt)" value="2" />  
    4.      <item text="5 (18pt)" value="5" />  
    5. </FontSize>  
    Example 2.
    1. <FontSize>  
    2.       <item text="10px" value="10px" />  
    3.      <item text="12px" value="12px" />  
    4.      <item text="14px" value="14px" />  
    5. </FontSize>  
    Regards,
    Eric
     
     
  •  05-04-2010, 6:30 AM 60669 in reply to 60643

    Re: Font size question

    Eric:
    1. <FontSize>  
    2.       <item text="1 (8pt)" value="1" />  
    3.      <item text="2 (10pt)" value="2" />  
    4.      <item text="5 (18pt)" value="5" />  
    5. </FontSize>  
    Example 2.
    1. <FontSize>  
    2.       <item text="10px" value="10px" />  
    3.      <item text="12px" value="12px" />  
    4.      <item text="14px" value="14px" />  
    5. </FontSize>  
    Regards,
    Eric
     
     
     
    I was using that initially but we have to have fonts 8, 9 and 10 (at the minimun) in our program for legal reasons.  There are certain documents that have to be in font 8 or 9.
     
    I saw that example before but realized we needed more.
     
    Is it possible to have fonts 8 through 15 and have it correctly select it when text is selected?
     
    Thx
    jonpfl
  •  05-08-2010, 11:47 AM 60837 in reply to 60669

    Re: Font size question

    Jonpfl,
     
    The range of accepted font size values is from 1(smallest) to 7(largest).
     
    If you want to add more bigger value, please add the following code into font size section of common.config file.
     

       <item text="50px" value="50px">
        <html><![CDATA[<font style='font-size:50px'>50px </font>]]></html>
       </item>

    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