<font name=xxx> not working

TeeChart VCL for Borland/CodeGear/Embarcadero RAD Studio, Delphi and C++ Builder.
Post Reply
Charles
Newbie
Newbie
Posts: 5
Joined: Tue Dec 21, 2010 12:00 am

<font name=xxx> not working

Post by Charles » Mon Apr 18, 2011 4:07 pm

Hello,

I have some TAnnotationTool which contains text with different colors:

Code: Select all

<font color=#FF0000 name=Symbol>First red line in Symbol</font>
<font color=#0000FF name=Arial>Second blue line in Arial</font>
etc.
The font color is correctly applied, but the font name is not applied: the whole annotation is using the default font.

The goal is to be able to draw mathematical symbols in my annotations (delta, alpha, etc.)

Any idea ?

Thank you

Charles
Newbie
Newbie
Posts: 5
Joined: Tue Dec 21, 2010 12:00 am

Re: <font name=xxx> not working

Post by Charles » Mon Apr 18, 2011 4:08 pm

One additional information:
I'm using TeeChart Pro v2010.01.11004 Win32

Sandra
Site Admin
Site Admin
Posts: 3132
Joined: Fri Nov 07, 2008 12:00 am

Re: <font name=xxx> not working

Post by Sandra » Tue Apr 19, 2011 9:19 am

Hello Charles,

Currently there are in Customer Download page a new update of TeeChartVCL. Please download it and check again if problem persist. If this is still appears please let me know.

Thanks,
Best Regards,
Sandra Pazos / Development & Support
Steema Software
Avinguda Montilivi 33, 17003 Girona, Catalonia
Tel: 34 972 218 797
http://www.steema.com
Image Image Image Image Image Image
Instructions - How to post in this forum

Charles
Newbie
Newbie
Posts: 5
Joined: Tue Dec 21, 2010 12:00 am

Re: <font name=xxx> not working

Post by Charles » Wed Apr 20, 2011 1:54 pm

Hi Sandra,

Yes same problem with version 2011.03.

To reproduce the problem, you can do the following :

- Create a chart
- Add an annotation tool
- Set the annotation text as follow "<font name=Symbol color=#FF0000>D</font>"
- Set the TAnnotationTool.Shape.TextFormat := ttfHtml

The D is correctly shown in red, but the font is not applied (it should be a mathematical Delta sign).

In TeeHtml.pas, the keywords 'NAME' and 'FAMILY' are recognized, and the font is applied to the Canvas, but it seems that it doesn't work.

Yeray
Site Admin
Site Admin
Posts: 9612
Joined: Tue Dec 05, 2006 12:00 am
Location: Girona, Catalonia
Contact:

Re: <font name=xxx> not working

Post by Yeray » Fri Apr 22, 2011 9:23 am

Hello,

You are right. I could reproduce it so I've added it to the wish list to be revised for future releases (TV52015542).
Thanks for reporting it.
Best Regards,
ImageYeray Alonso
Development & Support
Steema Software
Av. Montilivi 33, 17003 Girona, Catalonia (SP)
Image Image Image Image Image Image Please read our Bug Fixing Policy

Charles
Newbie
Newbie
Posts: 5
Joined: Tue Dec 21, 2010 12:00 am

Re: <font name=xxx> not working

Post by Charles » Fri Jun 10, 2011 8:45 am

Hello Yeray,

Do you already have a workaround for this problem ?

Thank you and best regards

Yeray
Site Admin
Site Admin
Posts: 9612
Joined: Tue Dec 05, 2006 12:00 am
Location: Girona, Catalonia
Contact:

Re: <font name=xxx> not working

Post by Yeray » Fri Jun 10, 2011 12:29 pm

Hello Charles,

I'm afraid this hasn't been revised yet. I recommend you to be aware at this forum or subscribe to our RSS news feed for new release announcements and what's implemented on them.
Best Regards,
ImageYeray Alonso
Development & Support
Steema Software
Av. Montilivi 33, 17003 Girona, Catalonia (SP)
Image Image Image Image Image Image Please read our Bug Fixing Policy

Post Reply