Page 1 of 1

Font size in Text component with AllowHtml = true

Posted: Mon Apr 02, 2012 4:15 am
by daryof
Hello,

With Stimulsoft Reports.Fx for PHP prerelease build 2012.03.07

I have a text with html tags, the font size rendering i can see in preview is smaller than the same html rendered in browser...
Am i missing something?

Code: Select all



  
    
    
    
    
    
  
  EngineV2
  
  
  
    
      None;Black;2;Solid;False;4;Black
      Transparent
      
        
          Transparent
          0.2,0.4,18.4,8.6
          
            
              True
              Transparent
              0.8,0.6,17.2,6.2
              
              Arial,10
              0,0,0,0
              Text1
              
              
              <html><body>
<p><font size="10" face="sans-serif">A text with font size 10 </font><br>
<font size="2" face="sans-serif"> A text with font size 2</font></body></html>
              Black
            
          
          
          Panel1
          
          
        
      
      
      5b46f3b473d1b6a7d2587215f4a4fe23
      1,1,1,1
      Page1
      29.7
      21
      
      
        Arial,100
        [50:0:0:0]
      
    
  
  
  Report
  04/02/2012 10:05:10 AM
  04/02/2012 10:05:03 AM
  
  7a0fc963acec0b05949d7216127cb7f5
  Report
  Centimeters
  2012.1.1215
  CSharp
  





Font size in Text component with AllowHtml = true

Posted: Tue Apr 03, 2012 9:28 am
by Vladimir
Hello,

We could not reproduce the error. Please send us screenshots.

Thank you.

Font size in Text component with AllowHtml = true

Posted: Tue Apr 03, 2012 9:56 am
by daryof
Hello,

in the report i have created only a text field and inside there is html code, as you can see the font size="2" is too small in preview....


(I have a ticket application (Kayako...) with ticketpost made in html, the posts have font size="2" and they are visible
in browser and in kayako very well, in my stimulsoft report these posts are unreadable because too smaller...)

Font size in Text component with AllowHtml = true

Posted: Wed Apr 04, 2012 3:56 am
by HighAley
Hello.
daryof wrote:in the report i have created only a text field and inside there is html code, as you can see the font size="2" is too small in preview....


(I have a ticket application (Kayako...) with ticketpost made in html, the posts have font size="2" and they are visible
in browser and in kayako very well, in my stimulsoft report these posts are unreadable because too smaller...)
The size is in pixels.
We don't have full support of all html tags.
The list of supported tags you could find in our Stimulsoft Reports.Fx Universal User Manual.

Thank you.

Font size in Text component with AllowHtml = true

Posted: Wed Apr 04, 2012 5:07 am
by daryof
Hello,

Yes, i have seen the manual "Stimulsoft_Reports.Fx_Manual.En.pdf"

3.6.1.3 Size Parameter

The size parameter defines the size of the text in the font element in points. For example:

If the expression is incorrectly formulated then the parameter is ignored.
Alternative Tags
The font size can also defined separately using the tag. For example:

Font size in Text component with AllowHtml = true

Posted: Fri Apr 06, 2012 8:23 am
by HighAley
Hello.

Sorry for delay. We need more time to prepare an answer for you.

Thank you.

Font size in Text component with AllowHtml = true

Posted: Mon Apr 09, 2012 2:53 am
by Vladimir
Hello,

We have fixed this error, the update will be available in the first prerelease build on the next week. If you need to update immediately, please make a request to support[at]stimulsoft.com, in the letter specify your registration data and link to this forum thread.

Thank you.