Page 1 of 1
<font name=xxx> not working
Posted: Mon Apr 18, 2011 4:07 pm
by 16558207
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
Re: <font name=xxx> not working
Posted: Mon Apr 18, 2011 4:08 pm
by 16558207
One additional information:
I'm using TeeChart Pro v2010.01.11004 Win32
Re: <font name=xxx> not working
Posted: Tue Apr 19, 2011 9:19 am
by 10050769
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,
Re: <font name=xxx> not working
Posted: Wed Apr 20, 2011 1:54 pm
by 16558207
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.
Re: <font name=xxx> not working
Posted: Fri Apr 22, 2011 9:23 am
by yeray
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.
Re: <font name=xxx> not working
Posted: Fri Jun 10, 2011 8:45 am
by 16558207
Hello Yeray,
Do you already have a workaround for this problem ?
Thank you and best regards
Re: <font name=xxx> not working
Posted: Fri Jun 10, 2011 12:29 pm
by yeray
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.