Font size in Text component with AllowHtml = true

Stimulsoft Reports.PHP discussion
Post Reply
daryof
Posts: 4
Joined: Mon Apr 04, 2011 9:04 am

Font size in Text component with AllowHtml = true

Post 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
  




Vladimir
Posts: 1462
Joined: Fri Apr 13, 2007 4:05 am
Location: Earth

Font size in Text component with AllowHtml = true

Post by Vladimir »

Hello,

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

Thank you.
daryof
Posts: 4
Joined: Mon Apr 04, 2011 9:04 am

Font size in Text component with AllowHtml = true

Post 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...)
Attachments
1761.screenshot_font_size.png
1761.screenshot_font_size.png (104.13 KiB) Viewed 4601 times
HighAley
Posts: 8430
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Font size in Text component with AllowHtml = true

Post 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.
daryof
Posts: 4
Joined: Mon Apr 04, 2011 9:04 am

Font size in Text component with AllowHtml = true

Post 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:
HighAley
Posts: 8430
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Font size in Text component with AllowHtml = true

Post by HighAley »

Hello.

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

Thank you.
Vladimir
Posts: 1462
Joined: Fri Apr 13, 2007 4:05 am
Location: Earth

Font size in Text component with AllowHtml = true

Post 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.
Post Reply