Page 1 of 2

Tahoma Italic Text problem

Posted: Thu Mar 31, 2011 8:43 am
by luczan
hi all


my report contains a simple text with tahoma text font..
if text is normal, exported report to pdf is correct
if text is italic, exported report to pdf is correct
but if text is normal + italic TEXT / TEXT (allows html tags - true), exported report to pdf is incorrect - only normal text is printed

preview is ok,
export to word is ok,
if text is arial, export to pdf is ok




using System;
using System.Drawing;
using System.Windows.Forms;
using System.Data;
using Stimulsoft.Controls;
using Stimulsoft.Base.Drawing;
using Stimulsoft.Report;
using Stimulsoft.Report.Dialogs;
using Stimulsoft.Report.Components;

namespace Reports
{
public class Report : Stimulsoft.Report.StiReport
{
public Report()
{
this.InitializeComponent();
}

#region StiReport Designer generated code - do not modify
public Stimulsoft.Report.Components.StiPage Page1;
public Stimulsoft.Report.Components.StiText Text1;
public Stimulsoft.Report.Components.StiText Text2;
public Stimulsoft.Report.Components.StiText Text3;
public Stimulsoft.Report.Components.StiText Text4;
public Stimulsoft.Report.Components.StiText Text5;
public Stimulsoft.Report.Components.StiText Text6;
public Stimulsoft.Report.Components.StiText Text7;
public Stimulsoft.Report.Components.StiText Text8;
public Stimulsoft.Report.Components.StiText Text9;
public Stimulsoft.Report.Components.StiText Text10;
public Stimulsoft.Report.Components.StiText Text11;
public Stimulsoft.Report.Components.StiText Text12;
public Stimulsoft.Report.Components.StiText Text13;
public Stimulsoft.Report.Components.StiText Text14;
public Stimulsoft.Report.Components.StiText Text15;
public Stimulsoft.Report.Components.StiWatermark Page1_Watermark;
public Stimulsoft.Report.Print.StiPrinterSettings Report_PrinterSettings;

public void Text1__GetValue(object sender, Stimulsoft.Report.Events.StiGetValueEventArgs e)
{
e.Value = "TEXT";
}

public void Text2__GetValue(object sender, Stimulsoft.Report.Events.StiGetValueEventArgs e)
{
e.Value = "TEXT";
}

public void Text3__GetValue(object sender, Stimulsoft.Report.Events.StiGetValueEventArgs e)
{
e.Value = "TEXT / TEXT";
}

public void Text4__GetValue(object sender, Stimulsoft.Report.Events.StiGetValueEventArgs e)
{
e.Value = "TEXT";
}

public void Text5__GetValue(object sender, Stimulsoft.Report.Events.StiGetValueEventArgs e)
{
e.Value = "TEXT";
}

public void Text6__GetValue(object sender, Stimulsoft.Report.Events.StiGetValueEventArgs e)
{
e.Value = "TEXT / TEXT";
}

public void Text7__GetValue(object sender, Stimulsoft.Report.Events.StiGetValueEventArgs e)
{
e.Value = "Arial 9";
}

public void Text8__GetValue(object sender, Stimulsoft.Report.Events.StiGetValueEventArgs e)
{
e.Value = "Tahoma 9";
}

public void Text9__GetValue(object sender, Stimulsoft.Report.Events.StiGetValueEventArgs e)
{
e.Value = "TEXT";
}

public void Text10__GetValue(object sender, Stimulsoft.Report.Events.StiGetValueEventArgs e)
{
e.Value = "TEXT";
}

public void Text11__GetValue(object sender, Stimulsoft.Report.Events.StiGetValueEventArgs e)
{
e.Value = "TEXT / TEXT";
}

public void Text12__GetValue(object sender, Stimulsoft.Report.Events.StiGetValueEventArgs e)
{
e.Value = "Tahoma 10";
}

public void Text13__GetValue(object sender, Stimulsoft.Report.Events.StiGetValueEventArgs e)
{
e.Value = "Normal";
}

public void Text14__GetValue(object sender, Stimulsoft.Report.Events.StiGetValueEventArgs e)
{
e.Value = "Italic";
}

public void Text15__GetValue(object sender, Stimulsoft.Report.Events.StiGetValueEventArgs e)
{
e.Value = "Normal+Italic";
}

private void InitializeComponent()
{
this.NeedsCompiling = false;
this.EngineVersion = Stimulsoft.Report.Engine.StiEngineVersion.EngineV2;
this.ReferencedAssemblies = new System.String[] {
"System.Dll",
"System.Drawing.Dll",
"System.Windows.Forms.Dll",
"System.Data.Dll",
"System.Xml.Dll",
"Stimulsoft.Controls.Dll",
"Stimulsoft.Base.Dll",
"Stimulsoft.Report.Dll"};
this.ReportAlias = "Report";
//
// ReportChanged
//
this.ReportChanged = new DateTime(2011, 3, 31, 15, 33, 34, 133);
//
// ReportCreated
//
this.ReportCreated = new DateTime(2011, 3, 31, 15, 2, 55, 0);
this.ReportFile = "C:\\TextReport.mrt";
this.ReportGuid = "9f8b55b80df9427fb85fe20defdf2518";
this.ReportName = "Report";
this.ReportUnit = Stimulsoft.Report.StiReportUnitType.Centimeters;
this.ReportVersion = "2010.3.900";
this.ScriptLanguage = Stimulsoft.Report.StiReportLanguageType.CSharp;
//
// Page1
//
this.Page1 = new Stimulsoft.Report.Components.StiPage();
this.Page1.Guid = "cbc9e480ad164613acef5cf2b6847a53";
this.Page1.Name = "Page1";
this.Page1.PageHeight = 29.7;
this.Page1.PageWidth = 21;
this.Page1.Border = new Stimulsoft.Base.Drawing.StiBorder(Stimulsoft.Base.Drawing.StiBorderSides.None, System.Drawing.Color.Black, 2, Stimulsoft.Base.Drawing.StiPenStyle.Solid, false, 4, new Stimulsoft.Base.Drawing.StiSolidBrush(System.Drawing.Color.Black));
this.Page1.Brush = new Stimulsoft.Base.Drawing.StiSolidBrush(System.Drawing.Color.Transparent);
//
// Text1
//
this.Text1 = new Stimulsoft.Report.Components.StiText();
this.Text1.ClientRectangle = new Stimulsoft.Base.Drawing.RectangleD(4.2, 2.8, 1.6, 0.8);
this.Text1.Name = "Text1";
this.Text1.GetValue += new Stimulsoft.Report.Events.StiGetValueEventHandler(this.Text1__GetValue);
this.Text1.Type = Stimulsoft.Report.Components.StiSystemTextType.Expression;
this.Text1.Border = new Stimulsoft.Base.Drawing.StiBorder(((Stimulsoft.Base.Drawing.StiBorderSides.None | Stimulsoft.Base.Drawing.StiBorderSides.Top)
| Stimulsoft.Base.Drawing.StiBorderSides.Bottom), System.Drawing.Color.White, 1, Stimulsoft.Base.Drawing.StiPenStyle.Solid, false, 4, new Stimulsoft.Base.Drawing.StiSolidBrush(System.Drawing.Color.Black));
this.Text1.Brush = new Stimulsoft.Base.Drawing.StiSolidBrush(System.Drawing.Color.Transparent);
this.Text1.Font = new System.Drawing.Font("Arial", 9F);
this.Text1.Guid = null;
this.Text1.Interaction = null;
this.Text1.Margins = new Stimulsoft.Report.Components.StiMargins(0, 0, 0, 0);
this.Text1.TextBrush = new Stimulsoft.Base.Drawing.StiSolidBrush(System.Drawing.Color.Black);
this.Text1.TextOptions = new Stimulsoft.Base.Drawing.StiTextOptions(false, false, false, 0F, System.Drawing.Text.HotkeyPrefix.None, System.Drawing.StringTrimming.None);
//
// Text2
//
this.Text2 = new Stimulsoft.Report.Components.StiText();
this.Text2.ClientRectangle = new Stimulsoft.Base.Drawing.RectangleD(6.4, 2.8, 1.6, 0.8);
this.Text2.Guid = "e051afeaac324f1c89871fe40e489fd7";
this.Text2.Name = "Text2";
this.Text2.GetValue += new Stimulsoft.Report.Events.StiGetValueEventHandler(this.Text2__GetValue);
this.Text2.Type = Stimulsoft.Report.Components.StiSystemTextType.Expression;
this.Text2.Border = new Stimulsoft.Base.Drawing.StiBorder(((Stimulsoft.Base.Drawing.StiBorderSides.None | Stimulsoft.Base.Drawing.StiBorderSides.Top)
| Stimulsoft.Base.Drawing.StiBorderSides.Bottom), System.Drawing.Color.White, 1, Stimulsoft.Base.Drawing.StiPenStyle.Solid, false, 4, new Stimulsoft.Base.Drawing.StiSolidBrush(System.Drawing.Color.Black));
this.Text2.Brush = new Stimulsoft.Base.Drawing.StiSolidBrush(System.Drawing.Color.Transparent);
this.Text2.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Italic);
this.Text2.Interaction = null;
this.Text2.Margins = new Stimulsoft.Report.Components.StiMargins(0, 0, 0, 0);
this.Text2.TextBrush = new Stimulsoft.Base.Drawing.StiSolidBrush(System.Drawing.Color.Black);
this.Text2.TextOptions = new Stimulsoft.Base.Drawing.StiTextOptions(false, false, false, 0F, System.Drawing.Text.HotkeyPrefix.None, System.Drawing.StringTrimming.None);
//
// Text3
//
this.Text3 = new Stimulsoft.Report.Components.StiText();
this.Text3.AllowHtmlTags = true;
this.Text3.ClientRectangle = new Stimulsoft.Base.Drawing.RectangleD(8.8, 2.8, 2.4, 0.8);
this.Text3.Guid = "5ccf0049c6d1433fb89aa32b39a2c8ff";
this.Text3.Name = "Text3";
this.Text3.GetValue += new Stimulsoft.Report.Events.StiGetValueEventHandler(this.Text3__GetValue);
this.Text3.TextQuality = Stimulsoft.Report.Components.StiTextQuality.Wysiwyg;
this.Text3.Type = Stimulsoft.Report.Components.StiSystemTextType.Expression;
this.Text3.Border = new Stimulsoft.Base.Drawing.StiBorder(((Stimulsoft.Base.Drawing.StiBorderSides.None | Stimulsoft.Base.Drawing.StiBorderSides.Top)
| Stimulsoft.Base.Drawing.StiBorderSides.Bottom), System.Drawing.Color.White, 1, Stimulsoft.Base.Drawing.StiPenStyle.Solid, false, 4, new Stimulsoft.Base.Drawing.StiSolidBrush(System.Drawing.Color.Black));
this.Text3.Brush = new Stimulsoft.Base.Drawing.StiSolidBrush(System.Drawing.Color.Transparent);
this.Text3.Font = new System.Drawing.Font("Arial", 9F);
this.Text3.Interaction = null;
this.Text3.Margins = new Stimulsoft.Report.Components.StiMargins(0, 0, 0, 0);
this.Text3.TextBrush = new Stimulsoft.Base.Drawing.StiSolidBrush(System.Drawing.Color.Black);
this.Text3.TextOptions = new Stimulsoft.Base.Drawing.StiTextOptions(false, false, false, 0F, System.Drawing.Text.HotkeyPrefix.None, System.Drawing.StringTrimming.None);
//
// Text4
//
this.Text4 = new Stimulsoft.Report.Components.StiText();
this.Text4.ClientRectangle = new Stimulsoft.Base.Drawing.RectangleD(4.2, 4.4, 1.6, 0.8);
this.Text4.Guid = "ca01d26d39384f1da9d552a279d92ab7";
this.Text4.Name = "Text4";
this.Text4.GetValue += new Stimulsoft.Report.Events.StiGetValueEventHandler(this.Text4__GetValue);
this.Text4.Type = Stimulsoft.Report.Components.StiSystemTextType.Expression;
this.Text4.Border = new Stimulsoft.Base.Drawing.StiBorder(((Stimulsoft.Base.Drawing.StiBorderSides.None | Stimulsoft.Base.Drawing.StiBorderSides.Top)
| Stimulsoft.Base.Drawing.StiBorderSides.Bottom), System.Drawing.Color.White, 1, Stimulsoft.Base.Drawing.StiPenStyle.Solid, false, 4, new Stimulsoft.Base.Drawing.StiSolidBrush(System.Drawing.Color.Black));
this.Text4.Brush = new Stimulsoft.Base.Drawing.StiSolidBrush(System.Drawing.Color.Transparent);
this.Text4.Font = new System.Drawing.Font("Tahoma", 9F);
this.Text4.Interaction = null;
this.Text4.Margins = new Stimulsoft.Report.Components.StiMargins(0, 0, 0, 0);
this.Text4.TextBrush = new Stimulsoft.Base.Drawing.StiSolidBrush(System.Drawing.Color.Black);
this.Text4.TextOptions = new Stimulsoft.Base.Drawing.StiTextOptions(false, false, false, 0F, System.Drawing.Text.HotkeyPrefix.None, System.Drawing.StringTrimming.None);
//
// Text5
//
this.Text5 = new Stimulsoft.Report.Components.StiText();
this.Text5.ClientRectangle = new Stimulsoft.Base.Drawing.RectangleD(6.4, 4.4, 1.6, 0.8);
this.Text5.Guid = "5dcd96df0465434c82d59853786c9d2b";
this.Text5.Name = "Text5";
this.Text5.GetValue += new Stimulsoft.Report.Events.StiGetValueEventHandler(this.Text5__GetValue);
this.Text5.Type = Stimulsoft.Report.Components.StiSystemTextType.Expression;
this.Text5.Border = new Stimulsoft.Base.Drawing.StiBorder(((Stimulsoft.Base.Drawing.StiBorderSides.None | Stimulsoft.Base.Drawing.StiBorderSides.Top)
| Stimulsoft.Base.Drawing.StiBorderSides.Bottom), System.Drawing.Color.White, 1, Stimulsoft.Base.Drawing.StiPenStyle.Solid, false, 4, new Stimulsoft.Base.Drawing.StiSolidBrush(System.Drawing.Color.Black));
this.Text5.Brush = new Stimulsoft.Base.Drawing.StiSolidBrush(System.Drawing.Color.Transparent);
this.Text5.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Italic);
this.Text5.Interaction = null;
this.Text5.Margins = new Stimulsoft.Report.Components.StiMargins(0, 0, 0, 0);
this.Text5.TextBrush = new Stimulsoft.Base.Drawing.StiSolidBrush(System.Drawing.Color.Black);
this.Text5.TextOptions = new Stimulsoft.Base.Drawing.StiTextOptions(false, false, false, 0F, System.Drawing.Text.HotkeyPrefix.None, System.Drawing.StringTrimming.None);
//
// Text6
//
this.Text6 = new Stimulsoft.Report.Components.StiText();
this.Text6.AllowHtmlTags = true;
this.Text6.ClientRectangle = new Stimulsoft.Base.Drawing.RectangleD(8.8, 4.4, 2.4, 0.8);
this.Text6.Guid = "b09560d87ea143189d01f2a6e941e933";
this.Text6.Name = "Text6";
this.Text6.GetValue += new Stimulsoft.Report.Events.StiGetValueEventHandler(this.Text6__GetValue);
this.Text6.TextQuality = Stimulsoft.Report.Components.StiTextQuality.Wysiwyg;
this.Text6.Type = Stimulsoft.Report.Components.StiSystemTextType.Expression;
this.Text6.Border = new Stimulsoft.Base.Drawing.StiBorder(((Stimulsoft.Base.Drawing.StiBorderSides.None | Stimulsoft.Base.Drawing.StiBorderSides.Top)
| Stimulsoft.Base.Drawing.StiBorderSides.Bottom), System.Drawing.Color.White, 1, Stimulsoft.Base.Drawing.StiPenStyle.Solid, false, 4, new Stimulsoft.Base.Drawing.StiSolidBrush(System.Drawing.Color.Black));
this.Text6.Brush = new Stimulsoft.Base.Drawing.StiSolidBrush(System.Drawing.Color.Transparent);
this.Text6.Font = new System.Drawing.Font("Tahoma", 9F);
this.Text6.Interaction = null;
this.Text6.Margins = new Stimulsoft.Report.Components.StiMargins(0, 0, 0, 0);
this.Text6.TextBrush = new Stimulsoft.Base.Drawing.StiSolidBrush(System.Drawing.Color.Black);
this.Text6.TextOptions = new Stimulsoft.Base.Drawing.StiTextOptions(false, false, false, 0F, System.Drawing.Text.HotkeyPrefix.None, System.Drawing.StringTrimming.None);
//
// Text7
//
this.Text7 = new Stimulsoft.Report.Components.StiText();
this.Text7.ClientRectangle = new Stimulsoft.Base.Drawing.RectangleD(0.4, 2.8, 2.8, 0.6);
this.Text7.Name = "Text7";
this.Text7.GetValue += new Stimulsoft.Report.Events.StiGetValueEventHandler(this.Text7__GetValue);
this.Text7.Type = Stimulsoft.Report.Components.StiSystemTextType.Expression;
this.Text7.Border = new Stimulsoft.Base.Drawing.StiBorder(((Stimulsoft.Base.Drawing.StiBorderSides.None | Stimulsoft.Base.Drawing.StiBorderSides.Top)
| Stimulsoft.Base.Drawing.StiBorderSides.Bottom), System.Drawing.Color.White, 1, Stimulsoft.Base.Drawing.StiPenStyle.Solid, false, 4, new Stimulsoft.Base.Drawing.StiSolidBrush(System.Drawing.Color.Black));
this.Text7.Brush = new Stimulsoft.Base.Drawing.StiSolidBrush(System.Drawing.Color.Transparent);
this.Text7.Font = new System.Drawing.Font("Arial", 9F);
this.Text7.Guid = null;
this.Text7.Interaction = null;
this.Text7.Margins = new Stimulsoft.Report.Components.StiMargins(0, 0, 0, 0);
this.Text7.TextBrush = new Stimulsoft.Base.Drawing.StiSolidBrush(System.Drawing.Color.Black);
this.Text7.TextOptions = new Stimulsoft.Base.Drawing.StiTextOptions(false, false, false, 0F, System.Drawing.Text.HotkeyPrefix.None, System.Drawing.StringTrimming.None);
//
// Text8
//
this.Text8 = new Stimulsoft.Report.Components.StiText();
this.Text8.ClientRectangle = new Stimulsoft.Base.Drawing.RectangleD(0.4, 4.4, 2.8, 0.6);
this.Text8.Guid = "47eee4dfab334a19a1360abedbd72b8f";
this.Text8.Name = "Text8";
this.Text8.GetValue += new Stimulsoft.Report.Events.StiGetValueEventHandler(this.Text8__GetValue);
this.Text8.Type = Stimulsoft.Report.Components.StiSystemTextType.Expression;
this.Text8.Border = new Stimulsoft.Base.Drawing.StiBorder(((Stimulsoft.Base.Drawing.StiBorderSides.None | Stimulsoft.Base.Drawing.StiBorderSides.Top)
| Stimulsoft.Base.Drawing.StiBorderSides.Bottom), System.Drawing.Color.White, 1, Stimulsoft.Base.Drawing.StiPenStyle.Solid, false, 4, new Stimulsoft.Base.Drawing.StiSolidBrush(System.Drawing.Color.Black));
this.Text8.Brush = new Stimulsoft.Base.Drawing.StiSolidBrush(System.Drawing.Color.Transparent);
this.Text8.Font = new System.Drawing.Font("Tahoma", 9F);
this.Text8.Interaction = null;
this.Text8.Margins = new Stimulsoft.Report.Components.StiMargins(0, 0, 0, 0);
this.Text8.TextBrush = new Stimulsoft.Base.Drawing.StiSolidBrush(System.Drawing.Color.Black);
this.Text8.TextOptions = new Stimulsoft.Base.Drawing.StiTextOptions(false, false, false, 0F, System.Drawing.Text.HotkeyPrefix.None, System.Drawing.StringTrimming.None);
//
// Text9
//
this.Text9 = new Stimulsoft.Report.Components.StiText();
this.Text9.ClientRectangle = new Stimulsoft.Base.Drawing.RectangleD(4.2, 6, 1.6, 0.8);
this.Text9.Guid = "eac679bf16ab4c70bb5b9c2cbdc7b70b";
this.Text9.Name = "Text9";
this.Text9.GetValue += new Stimulsoft.Report.Events.StiGetValueEventHandler(this.Text9__GetValue);
this.Text9.Type = Stimulsoft.Report.Components.StiSystemTextType.Expression;
this.Text9.Border = new Stimulsoft.Base.Drawing.StiBorder(((Stimulsoft.Base.Drawing.StiBorderSides.None | Stimulsoft.Base.Drawing.StiBorderSides.Top)
| Stimulsoft.Base.Drawing.StiBorderSides.Bottom), System.Drawing.Color.White, 1, Stimulsoft.Base.Drawing.StiPenStyle.Solid, false, 4, new Stimulsoft.Base.Drawing.StiSolidBrush(System.Drawing.Color.Black));
this.Text9.Brush = new Stimulsoft.Base.Drawing.StiSolidBrush(System.Drawing.Color.Transparent);
this.Text9.Font = new System.Drawing.Font("Tahoma", 10F);
this.Text9.Interaction = null;
this.Text9.Margins = new Stimulsoft.Report.Components.StiMargins(0, 0, 0, 0);
this.Text9.TextBrush = new Stimulsoft.Base.Drawing.StiSolidBrush(System.Drawing.Color.Black);
this.Text9.TextOptions = new Stimulsoft.Base.Drawing.StiTextOptions(false, false, false, 0F, System.Drawing.Text.HotkeyPrefix.None, System.Drawing.StringTrimming.None);
//
// Text10
//
this.Text10 = new Stimulsoft.Report.Components.StiText();
this.Text10.ClientRectangle = new Stimulsoft.Base.Drawing.RectangleD(6.4, 6, 1.6, 0.8);
this.Text10.Guid = "45a3a1d48388406f988b11f9a1fe0b85";
this.Text10.Name = "Text10";
this.Text10.GetValue += new Stimulsoft.Report.Events.StiGetValueEventHandler(this.Text10__GetValue);
this.Text10.Type = Stimulsoft.Report.Components.StiSystemTextType.Expression;
this.Text10.Border = new Stimulsoft.Base.Drawing.StiBorder(((Stimulsoft.Base.Drawing.StiBorderSides.None | Stimulsoft.Base.Drawing.StiBorderSides.Top)
| Stimulsoft.Base.Drawing.StiBorderSides.Bottom), System.Drawing.Color.White, 1, Stimulsoft.Base.Drawing.StiPenStyle.Solid, false, 4, new Stimulsoft.Base.Drawing.StiSolidBrush(System.Drawing.Color.Black));
this.Text10.Brush = new Stimulsoft.Base.Drawing.StiSolidBrush(System.Drawing.Color.Transparent);
this.Text10.Font = new System.Drawing.Font("Tahoma", 10F, System.Drawing.FontStyle.Italic);
this.Text10.Interaction = null;
this.Text10.Margins = new Stimulsoft.Report.Components.StiMargins(0, 0, 0, 0);
this.Text10.TextBrush = new Stimulsoft.Base.Drawing.StiSolidBrush(System.Drawing.Color.Black);
this.Text10.TextOptions = new Stimulsoft.Base.Drawing.StiTextOptions(false, false, false, 0F, System.Drawing.Text.HotkeyPrefix.None, System.Drawing.StringTrimming.None);
//
// Text11
//
this.Text11 = new Stimulsoft.Report.Components.StiText();
this.Text11.AllowHtmlTags = true;
this.Text11.ClientRectangle = new Stimulsoft.Base.Drawing.RectangleD(8.8, 6, 2.4, 0.8);
this.Text11.Guid = "b980b78903e340eab1bc0769ee26397a";
this.Text11.Name = "Text11";
this.Text11.GetValue += new Stimulsoft.Report.Events.StiGetValueEventHandler(this.Text11__GetValue);
this.Text11.TextQuality = Stimulsoft.Report.Components.StiTextQuality.Wysiwyg;
this.Text11.Type = Stimulsoft.Report.Components.StiSystemTextType.Expression;
this.Text11.Border = new Stimulsoft.Base.Drawing.StiBorder(((Stimulsoft.Base.Drawing.StiBorderSides.None | Stimulsoft.Base.Drawing.StiBorderSides.Top)
| Stimulsoft.Base.Drawing.StiBorderSides.Bottom), System.Drawing.Color.White, 1, Stimulsoft.Base.Drawing.StiPenStyle.Solid, false, 4, new Stimulsoft.Base.Drawing.StiSolidBrush(System.Drawing.Color.Black));
this.Text11.Brush = new Stimulsoft.Base.Drawing.StiSolidBrush(System.Drawing.Color.Transparent);
this.Text11.Font = new System.Drawing.Font("Tahoma", 10F);
this.Text11.Interaction = null;
this.Text11.Margins = new Stimulsoft.Report.Components.StiMargins(0, 0, 0, 0);
this.Text11.TextBrush = new Stimulsoft.Base.Drawing.StiSolidBrush(System.Drawing.Color.Black);
this.Text11.TextOptions = new Stimulsoft.Base.Drawing.StiTextOptions(false, false, false, 0F, System.Drawing.Text.HotkeyPrefix.None, System.Drawing.StringTrimming.None);
//
// Text12
//
this.Text12 = new Stimulsoft.Report.Components.StiText();
this.Text12.ClientRectangle = new Stimulsoft.Base.Drawing.RectangleD(0.4, 6, 2.8, 0.6);
this.Text12.Guid = "fa65cf1bdbfe46629f8bfab919e8f9b6";
this.Text12.Name = "Text12";
this.Text12.GetValue += new Stimulsoft.Report.Events.StiGetValueEventHandler(this.Text12__GetValue);
this.Text12.Type = Stimulsoft.Report.Components.StiSystemTextType.Expression;
this.Text12.Border = new Stimulsoft.Base.Drawing.StiBorder(((Stimulsoft.Base.Drawing.StiBorderSides.None | Stimulsoft.Base.Drawing.StiBorderSides.Top)
| Stimulsoft.Base.Drawing.StiBorderSides.Bottom), System.Drawing.Color.White, 1, Stimulsoft.Base.Drawing.StiPenStyle.Solid, false, 4, new Stimulsoft.Base.Drawing.StiSolidBrush(System.Drawing.Color.Black));
this.Text12.Brush = new Stimulsoft.Base.Drawing.StiSolidBrush(System.Drawing.Color.Transparent);
this.Text12.Font = new System.Drawing.Font("Tahoma", 10F);
this.Text12.Interaction = null;
this.Text12.Margins = new Stimulsoft.Report.Components.StiMargins(0, 0, 0, 0);
this.Text12.TextBrush = new Stimulsoft.Base.Drawing.StiSolidBrush(System.Drawing.Color.Black);
this.Text12.TextOptions = new Stimulsoft.Base.Drawing.StiTextOptions(false, false, false, 0F, System.Drawing.Text.HotkeyPrefix.None, System.Drawing.StringTrimming.None);
//
// Text13
//
this.Text13 = new Stimulsoft.Report.Components.StiText();
this.Text13.ClientRectangle = new Stimulsoft.Base.Drawing.RectangleD(4.2, 1.6, 1.2, 0.6);
this.Text13.Guid = "8f2e3218c37b491b94cfb574ff74c4aa";
this.Text13.Name = "Text13";
this.Text13.GetValue += new Stimulsoft.Report.Events.StiGetValueEventHandler(this.Text13__GetValue);
this.Text13.Type = Stimulsoft.Report.Components.StiSystemTextType.Expression;
this.Text13.Border = new Stimulsoft.Base.Drawing.StiBorder(((Stimulsoft.Base.Drawing.StiBorderSides.None | Stimulsoft.Base.Drawing.StiBorderSides.Top)
| Stimulsoft.Base.Drawing.StiBorderSides.Bottom), System.Drawing.Color.White, 1, Stimulsoft.Base.Drawing.StiPenStyle.Solid, false, 4, new Stimulsoft.Base.Drawing.StiSolidBrush(System.Drawing.Color.Black));
this.Text13.Brush = new Stimulsoft.Base.Drawing.StiSolidBrush(System.Drawing.Color.Transparent);
this.Text13.Font = new System.Drawing.Font("Arial", 9F);
this.Text13.Interaction = null;
this.Text13.Margins = new Stimulsoft.Report.Components.StiMargins(0, 0, 0, 0);
this.Text13.TextBrush = new Stimulsoft.Base.Drawing.StiSolidBrush(System.Drawing.Color.Black);
this.Text13.TextOptions = new Stimulsoft.Base.Drawing.StiTextOptions(false, false, false, 0F, System.Drawing.Text.HotkeyPrefix.None, System.Drawing.StringTrimming.None);
//
// Text14
//
this.Text14 = new Stimulsoft.Report.Components.StiText();
this.Text14.ClientRectangle = new Stimulsoft.Base.Drawing.RectangleD(6.4, 1.6, 1.2, 0.6);
this.Text14.Guid = "14490a7e4fc744f5a56d37ba5a539746";
this.Text14.Name = "Text14";
this.Text14.GetValue += new Stimulsoft.Report.Events.StiGetValueEventHandler(this.Text14__GetValue);
this.Text14.Type = Stimulsoft.Report.Components.StiSystemTextType.Expression;
this.Text14.Border = new Stimulsoft.Base.Drawing.StiBorder(((Stimulsoft.Base.Drawing.StiBorderSides.None | Stimulsoft.Base.Drawing.StiBorderSides.Top)
| Stimulsoft.Base.Drawing.StiBorderSides.Bottom), System.Drawing.Color.White, 1, Stimulsoft.Base.Drawing.StiPenStyle.Solid, false, 4, new Stimulsoft.Base.Drawing.StiSolidBrush(System.Drawing.Color.Black));
this.Text14.Brush = new Stimulsoft.Base.Drawing.StiSolidBrush(System.Drawing.Color.Transparent);
this.Text14.Font = new System.Drawing.Font("Arial", 9F);
this.Text14.Interaction = null;
this.Text14.Margins = new Stimulsoft.Report.Components.StiMargins(0, 0, 0, 0);
this.Text14.TextBrush = new Stimulsoft.Base.Drawing.StiSolidBrush(System.Drawing.Color.Black);
this.Text14.TextOptions = new Stimulsoft.Base.Drawing.StiTextOptions(false, false, false, 0F, System.Drawing.Text.HotkeyPrefix.None, System.Drawing.StringTrimming.None);
//
// Text15
//
this.Text15 = new Stimulsoft.Report.Components.StiText();
this.Text15.ClientRectangle = new Stimulsoft.Base.Drawing.RectangleD(8.8, 1.6, 2.2, 0.6);
this.Text15.Guid = "f71615fa92a04dae92c1cb24ee712c23";
this.Text15.Name = "Text15";
this.Text15.GetValue += new Stimulsoft.Report.Events.StiGetValueEventHandler(this.Text15__GetValue);
this.Text15.Type = Stimulsoft.Report.Components.StiSystemTextType.Expression;
this.Text15.Border = new Stimulsoft.Base.Drawing.StiBorder(((Stimulsoft.Base.Drawing.StiBorderSides.None | Stimulsoft.Base.Drawing.StiBorderSides.Top)
| Stimulsoft.Base.Drawing.StiBorderSides.Bottom), System.Drawing.Color.White, 1, Stimulsoft.Base.Drawing.StiPenStyle.Solid, false, 4, new Stimulsoft.Base.Drawing.StiSolidBrush(System.Drawing.Color.Black));
this.Text15.Brush = new Stimulsoft.Base.Drawing.StiSolidBrush(System.Drawing.Color.Transparent);
this.Text15.Font = new System.Drawing.Font("Arial", 9F);
this.Text15.Interaction = null;
this.Text15.Margins = new Stimulsoft.Report.Components.StiMargins(0, 0, 0, 0);
this.Text15.TextBrush = new Stimulsoft.Base.Drawing.StiSolidBrush(System.Drawing.Color.Black);
this.Text15.TextOptions = new Stimulsoft.Base.Drawing.StiTextOptions(false, false, false, 0F, System.Drawing.Text.HotkeyPrefix.None, System.Drawing.StringTrimming.None);
this.Page1.ExcelSheetValue = null;
this.Page1.Interaction = null;
this.Page1.Margins = new Stimulsoft.Report.Components.StiMargins(1, 1, 1, 1);
this.Page1_Watermark = new Stimulsoft.Report.Components.StiWatermark();
this.Page1_Watermark.Font = new System.Drawing.Font("Arial", 100F);
this.Page1_Watermark.Image = null;
this.Page1_Watermark.TextBrush = new Stimulsoft.Base.Drawing.StiSolidBrush(System.Drawing.Color.FromArgb(50, 0, 0, 0));
this.Report_PrinterSettings = new Stimulsoft.Report.Print.StiPrinterSettings();
this.PrinterSettings = this.Report_PrinterSettings;
this.Page1.Report = this;
this.Page1.Watermark = this.Page1_Watermark;
this.Text1.Page = this.Page1;
this.Text1.Parent = this.Page1;
this.Text2.Page = this.Page1;
this.Text2.Parent = this.Page1;
this.Text3.Page = this.Page1;
this.Text3.Parent = this.Page1;
this.Text4.Page = this.Page1;
this.Text4.Parent = this.Page1;
this.Text5.Page = this.Page1;
this.Text5.Parent = this.Page1;
this.Text6.Page = this.Page1;
this.Text6.Parent = this.Page1;
this.Text7.Page = this.Page1;
this.Text7.Parent = this.Page1;
this.Text8.Page = this.Page1;
this.Text8.Parent = this.Page1;
this.Text9.Page = this.Page1;
this.Text9.Parent = this.Page1;
this.Text10.Page = this.Page1;
this.Text10.Parent = this.Page1;
this.Text11.Page = this.Page1;
this.Text11.Parent = this.Page1;
this.Text12.Page = this.Page1;
this.Text12.Parent = this.Page1;
this.Text13.Page = this.Page1;
this.Text13.Parent = this.Page1;
this.Text14.Page = this.Page1;
this.Text14.Parent = this.Page1;
this.Text15.Page = this.Page1;
this.Text15.Parent = this.Page1;
//
// Add to Page1.Components
//
this.Page1.Components.Clear();
this.Page1.Components.AddRange(new Stimulsoft.Report.Components.StiComponent[] {
this.Text1,
this.Text2,
this.Text3,
this.Text4,
this.Text5,
this.Text6,
this.Text7,
this.Text8,
this.Text9,
this.Text10,
this.Text11,
this.Text12,
this.Text13,
this.Text14,
this.Text15});
//
// Add to Pages
//
this.Pages.Clear();
this.Pages.AddRange(new Stimulsoft.Report.Components.StiPage[] {
this.Page1});
}
#endregion StiReport Designer generated code - do not modify
}
}

Tahoma Italic Text problem

Posted: Fri Apr 01, 2011 1:00 am
by Alex K.
Hello,

We couldn't reproduce this bug.
Please check the last prerelease build and let us know about the result.

Thank you.

Tahoma Italic Text problem

Posted: Fri Apr 01, 2011 5:29 am
by luczan
Thanks,
the last version (2011.1.923) is correct, my version was 2010.3.900

Marek

Tahoma Italic Text problem

Posted: Fri Apr 01, 2011 6:10 am
by Alex K.
Hello,

Ok.
Let us know if you need any additional help.

Tahoma Italic Text problem

Posted: Mon Apr 04, 2011 4:02 am
by luczan
hi, i have another problem, thank you



1. after calling of report.Render(false) in my service AccessViolationException is occured: {"Attempted to read or write protected memory. This is often an indication that other memory is corrupt."} - I detected that problem is with images in mrt file. Everything is ok, if image is loaded from a file. If image is loaded from a report code, error is occured.But i tested it in console application and everything is ok :( so i think problem is with treading or unmanaged code, or someting else..


System.AccessViolationException was unhandled
Message=Attempted to read or write protected memory. This is often an indication that other memory is corrupt.
Source=Stimulsoft.Base
StackTrace:
at Stimulsoft.Base.Drawing.StiImageConverter.ImageToBytes(Image image)
at Stimulsoft.Base.Drawing.StiImageConverter.ImageToString(Image image)
at Stimulsoft.Report.CodeDom.StiCodeDomSerializator.AddImage(String parent, String name, StiPropertyInfo prop)
at Stimulsoft.Report.CodeDom.StiCodeDomSerializator.SerializeProps(StiPropertyInfoCollection props, Boolean isList, String parentName, String referenceName)
at Stimulsoft.Report.CodeDom.StiCodeDomSerializator.SerializeProps(StiPropertyInfoCollection props, Boolean isList, String parentName, String referenceName)
at Stimulsoft.Report.CodeDom.StiCodeDomSerializator.SerializeProps(StiPropertyInfoCollection props, Boolean isList, String parentName, String referenceName)
at Stimulsoft.Report.CodeDom.StiCodeDomSerializator.SerializeProps(StiPropertyInfoCollection props, Boolean isList, String parentName, String referenceName)
at Stimulsoft.Report.CodeDom.StiCodeDomSerializator.SerializeProps(StiPropertyInfoCollection props, Boolean isList, String parentName, String referenceName)
at Stimulsoft.Report.CodeDom.StiCodeDomSerializator.SerializeProps(StiPropertyInfoCollection props, Boolean isList, String parentName, String referenceName)
at Stimulsoft.Report.CodeDom.StiCodeDomSerializator.SerializeProps(StiPropertyInfoCollection props, Boolean isList, String parentName, String referenceName)
at Stimulsoft.Report.CodeDom.StiCodeDomSerializator.Serialize(StiReport report, String name, StiLanguage language, Boolean serializeData, Boolean saveForInheritedReports, Object standaloneReportType)
at Stimulsoft.Report.CodeDom.StiCodeDomSerializator.Serialize(StiReport report, String name, StiLanguage language, Object standaloneReportType)
at Stimulsoft.Report.StiReport.ScriptUpdate(Object standaloneReportType, Boolean allowUseResources)
at Stimulsoft.Report.StiReport.Compile(String path, Stream stream, StiOutputType outputType, Boolean autoCreate, Object standaloneReportType)
at Stimulsoft.Report.StiReport.Compile(String path, Stream stream, StiOutputType outputType, Boolean autoCreate)
at Stimulsoft.Report.StiReport.Compile(String path, StiOutputType outputType, Boolean autoCreate)
at Stimulsoft.Report.StiReport.Compile(String path, StiOutputType outputType)
at Stimulsoft.Report.StiReport.Compile(StiOutputType outputType)
at Stimulsoft.Report.StiReport.Compile()
at Stimulsoft.Report.Engine.StiReportV2Builder.RenderSingleReport(StiReport masterReport, StiRenderState renderState)
at Stimulsoft.Report.StiReport.RenderReport(StiRenderState renderState)
at Stimulsoft.Report.StiReport.Render(StiRenderState renderState, StiGuiMode guiMode)
at Stimulsoft.Report.StiReport.Render(StiRenderState renderState)
at Stimulsoft.Report.StiReport.Render(Boolean showProgress, Int32 fromPage, Int32 toPage)
at Stimulsoft.Report.StiReport.Render(Boolean showProgress)
at Billien.DF.Service.DocumentGeneration.DocumentGenerationServiceLogic.GenerateDocument(DocumentOutputStyle documentOutputStyle, DocumentOutputType documentDataType, Byte[] documentXmlContent, Byte[] documentTemplate) in C:\Projekty\Kedros\Billien\Source\Billien.DF\Billien.DF.Service.DocumentGeneration\DocumentGenerationServiceLogic.cs:line 65
at GenerateDocument(Object , Object[] )
at AS.ProcessingUnit.ExecutionThreadBody(Object objCounters) in C:\Projekty\Kedros\Billien\Source\AS\AS.Core\ProcessingUnit.cs:line 424
at System.Threading.ExecutionContext.runTryCode(Object userData)
at System.Runtime.CompilerServices.RuntimeHelpers.ExecuteCodeWithGuaranteedCleanup(TryCode code, CleanupCode backoutCode, Object userData)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean ignoreSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Threading.ThreadHelper.ThreadStart(Object obj)
InnerException:






2. Stimulsoft Designer (version Stimulsoft Reports.Ultimate 2011.03.22): if i want to add new connection, following error is occured:

See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
System.NullReferenceException: Object reference not set to an instance of an object.
at Stimulsoft.Report.Controls.StiTreeView.HandleNotify(Message& m)
at Stimulsoft.Report.Controls.StiTreeView.WndProc(Message& msg)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


************** Loaded Assemblies **************
mscorlib
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.1 (RTMRel.030319-0100)
CodeBase: file:///C:/Windows/Microsoft.NET/Framework64/v4.0.30319/mscorlib.dll
----------------------------------------
Designer
Assembly Version: 2011.1.923.0
Win32 Version: 2011.1.923.0
CodeBase: file:///C:/Program%20Files%20(x86)/Stimulsoft%20Reports.Ultimate%202010.3/Bin/Designer.exe
----------------------------------------
Stimulsoft.Report
Assembly Version: 2011.1.923.0
Win32 Version: 2011.1.923.0
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/Stimulsoft.Report/2011.1.923.0__ebe6666cba19647a/Stimulsoft.Report.dll
----------------------------------------
System
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.1 built by: RTMRel
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
Stimulsoft.Base
Assembly Version: 2011.1.923.0
Win32 Version: 2011.1.923.0
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/Stimulsoft.Base/2011.1.923.0__ebe6666cba19647a/Stimulsoft.Base.dll
----------------------------------------
System.Windows.Forms
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.1 built by: RTMRel
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System.Drawing
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.1 built by: RTMRel
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
Stimulsoft.Report.Design
Assembly Version: 2011.1.923.0
Win32 Version: 2011.1.923.0
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/Stimulsoft.Report.Design/2011.1.923.0__ebe6666cba19647a/Stimulsoft.Report.Design.dll
----------------------------------------
Stimulsoft.Controls.Win
Assembly Version: 2011.1.923.0
Win32 Version: 2011.1.923.0
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/Stimulsoft.Controls.Win/2011.1.923.0__ebe6666cba19647a/Stimulsoft.Controls.Win.dll
----------------------------------------
System.Xml
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.1 built by: RTMRel
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
Accessibility
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.1 built by: RTMRel
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/Accessibility/v4.0_4.0.0.0__b03f5f7f11d50a3a/Accessibility.dll
----------------------------------------
Stimulsoft.Report.Check
Assembly Version: 2011.1.923.0
Win32 Version: 2011.1.923.0
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/Stimulsoft.Report.Check/2011.1.923.0__ebe6666cba19647a/Stimulsoft.Report.Check.dll
----------------------------------------
Stimulsoft.Report.Helper
Assembly Version: 2011.1.923.0
Win32 Version: 2011.1.923.0
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/Stimulsoft.Report.Helper/2011.1.923.0__ebe6666cba19647a/Stimulsoft.Report.Helper.dll
----------------------------------------
Stimulsoft.Report.Win
Assembly Version: 2011.1.923.0
Win32 Version: 2011.1.923.0
CodeBase: file:///C:/Program%20Files%20(x86)/Stimulsoft%20Reports.Ultimate%202010.3/Bin/Stimulsoft.Report.Win.DLL
----------------------------------------
Stimulsoft.Report.Design.WebViewer
Assembly Version: 2011.1.923.0
Win32 Version: 2011.1.923.0
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/Stimulsoft.Report.Design.WebViewer/2011.1.923.0__ebe6666cba19647a/Stimulsoft.Report.Design.WebViewer.dll
----------------------------------------
Stimulsoft.Report.Design.SLViewer
Assembly Version: 2011.1.923.0
Win32 Version: 2011.1.923.0
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/Stimulsoft.Report.Design.SLViewer/2011.1.923.0__ebe6666cba19647a/Stimulsoft.Report.Design.SLViewer.dll
----------------------------------------
Stimulsoft.Controls
Assembly Version: 2011.1.923.0
Win32 Version: 2011.1.923.0
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/Stimulsoft.Controls/2011.1.923.0__ebe6666cba19647a/Stimulsoft.Controls.dll
----------------------------------------
System.Data
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.1 (RTMRel.030319-0100)
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_64/System.Data/v4.0_4.0.0.0__b77a5c561934e089/System.Data.dll
----------------------------------------
System.Core
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.1 built by: RTMRel
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll
----------------------------------------
Stimulsoft.Editor
Assembly Version: 2011.1.923.0
Win32 Version: 2011.1.923.0
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/Stimulsoft.Editor/2011.1.923.0__ebe6666cba19647a/Stimulsoft.Editor.dll
----------------------------------------

************** JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.

For example:





When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box.

Tahoma Italic Text problem

Posted: Tue Apr 05, 2011 5:44 am
by Ivan
Hello,
luczan wrote:1. after calling of report.Render(false) in my service AccessViolationException is occured: {"Attempted to read or write protected memory. This is often an indication that other memory is corrupt."} - I detected that problem is with images in mrt file. Everything is ok, if image is loaded from a file. If image is loaded from a report code, error is occured.But i tested it in console application and everything is ok :( so i think problem is with treading or unmanaged code, or someting else..
If we diagnose the issue in the correct way, the problem is already fixed in the release 2011.1.
luczan wrote:2. Stimulsoft Designer (version Stimulsoft Reports.Ultimate 2011.03.22): if i want to add new connection, following error is occured:
We are working on this issue.
The fix will be available within one day.

Thank you.

Tahoma Italic Text problem

Posted: Tue Apr 05, 2011 8:36 am
by luczan
1. sorry, but same problem with new version (2011.1.1000.0):


System.AccessViolationException was unhandled
Message=Attempted to read or write protected memory. This is often an indication that other memory is corrupt.
Source=Stimulsoft.Base
StackTrace:
at Stimulsoft.Base.Drawing.StiImageConverter.ImageToBytes(Image image)
at Stimulsoft.Base.Drawing.StiImageConverter.ImageToString(Image image)
at Stimulsoft.Report.CodeDom.StiCodeDomSerializator.AddImage(String parent, String name, StiPropertyInfo prop)
at Stimulsoft.Report.CodeDom.StiCodeDomSerializator.SerializeProps(StiPropertyInfoCollection props, Boolean isList, String parentName, String referenceName)
at Stimulsoft.Report.CodeDom.StiCodeDomSerializator.SerializeProps(StiPropertyInfoCollection props, Boolean isList, String parentName, String referenceName)
at Stimulsoft.Report.CodeDom.StiCodeDomSerializator.SerializeProps(StiPropertyInfoCollection props, Boolean isList, String parentName, String referenceName)
at Stimulsoft.Report.CodeDom.StiCodeDomSerializator.SerializeProps(StiPropertyInfoCollection props, Boolean isList, String parentName, String referenceName)
at Stimulsoft.Report.CodeDom.StiCodeDomSerializator.SerializeProps(StiPropertyInfoCollection props, Boolean isList, String parentName, String referenceName)
at Stimulsoft.Report.CodeDom.StiCodeDomSerializator.SerializeProps(StiPropertyInfoCollection props, Boolean isList, String parentName, String referenceName)
at Stimulsoft.Report.CodeDom.StiCodeDomSerializator.SerializeProps(StiPropertyInfoCollection props, Boolean isList, String parentName, String referenceName)
at Stimulsoft.Report.CodeDom.StiCodeDomSerializator.Serialize(StiReport report, String name, StiLanguage language, Boolean serializeData, Boolean saveForInheritedReports, Object standaloneReportType)
at Stimulsoft.Report.CodeDom.StiCodeDomSerializator.Serialize(StiReport report, String name, StiLanguage language, Object standaloneReportType)
at Stimulsoft.Report.StiReport.ScriptUpdate(Object standaloneReportType, Boolean allowUseResources)
at Stimulsoft.Report.StiReport.Compile(String path, Stream stream, StiOutputType outputType, Boolean autoCreate, Object standaloneReportType)
at Stimulsoft.Report.StiReport.Compile(String path, Stream stream, StiOutputType outputType, Boolean autoCreate)
at Stimulsoft.Report.StiReport.Compile(String path, StiOutputType outputType, Boolean autoCreate)
at Stimulsoft.Report.StiReport.Compile(String path, StiOutputType outputType)
at Stimulsoft.Report.StiReport.Compile(StiOutputType outputType)
at Stimulsoft.Report.StiReport.Compile()
at Stimulsoft.Report.Engine.StiReportV2Builder.RenderSingleReport(StiReport masterReport, StiRenderState renderState)
at Stimulsoft.Report.StiReport.RenderReport(StiRenderState renderState)
at Stimulsoft.Report.StiReport.Render(StiRenderState renderState, StiGuiMode guiMode)
at Stimulsoft.Report.StiReport.Render(StiRenderState renderState)
at Stimulsoft.Report.StiReport.Render(Boolean showProgress, Int32 fromPage, Int32 toPage)
at Stimulsoft.Report.StiReport.Render(Boolean showProgress)
at Billien.DF.Service.DocumentGeneration.DocumentGenerationServiceLogic.GenerateDocument(DocumentOutputStyle documentOutputStyle, DocumentOutputType documentDataType, Byte[] documentXmlContent, Byte[] documentTemplate) in C:\Projekty\Kedros\Billien\Source\Billien.DF\Billien.DF.Service.DocumentGeneration\DocumentGenerationServiceLogic.cs:line 65
at GenerateDocument(Object , Object[] )
at AS.ProcessingUnit.ExecutionThreadBody(Object objCounters) in C:\Projekty\Kedros\Billien\Source\AS\AS.Core\ProcessingUnit.cs:line 424
at System.Threading.ExecutionContext.runTryCode(Object userData)
at System.Runtime.CompilerServices.RuntimeHelpers.ExecuteCodeWithGuaranteedCleanup(TryCode code, CleanupCode backoutCode, Object userData)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean ignoreSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Threading.ThreadHelper.ThreadStart(Object obj)
InnerException:

Tahoma Italic Text problem

Posted: Wed Apr 06, 2011 10:32 pm
by Andrew
Hello,

Please check, that in your application assemblies of the latest version 2011.1.1000.0 are connected.
In this assembly, in the Stimulsoft.Base.Drawing.StiImageConverter.ImageToBytes(Image image) method
the try..catch operators are added, and exception should not occur there.

Thank you.

Tahoma Italic Text problem

Posted: Thu Apr 07, 2011 3:19 am
by luczan
hello,
yes, version of dll (Stimulsoft.Base and Stimulsoft.Report) is 2011.1.1000.0


Tahoma Italic Text problem

Posted: Thu Apr 07, 2011 5:59 am
by Ivan
Hello,

We couldn't reproduce this bug.
In version 2011.1 in the ImageToBytes(Image image) method the try..catch operators are added, and exception should not occur there.
Please try to uninstall our product, find and remove all assemblies, clear GAC, and install our product again.
If the issue is still present, please send us a sample report with data or a simple test project, which reproduces the issue.

Thank you.