With this new release we have introduced few new features.
Embedding fonts in Visifire - With this new feature you can embed fonts which can be applied to the FontFamily of any Text element. Let’s take a look at the example below
<vc:Title Text="Visifire Charts" FontFamily="Mtcorsva.ttf#Monotype Corsiva" />
Here FontFamily is set in the Title element, the font file that I have used is "Mtcorsva.ttf". This file is located in ClientBin folder. It can be present anywhere in the same application domain. The font file can be a " *.ttf " or " *.zip " file.
The format followed to specify the font has two parts : font file name followed by a hash (#) and the comma separated list of fonts.
FontFamily="<font_file> # <font_name_1>,< font_name_2>"
Until the font file gets downloaded default font will be applied. You can also put an archived font file with the same syntax:<vc:Title Text="Visifire Charts" FontFamily="Mtcorsva.zip#Monotype Corsiva" />
This format is applicable where ever FontFamily is used. Have a look at the Documentation for more details.
The following is the screenshot of "Embedded Font" example.
Multi-Line Text - This feature will help you to display text in multiple lines. All you need to do is just put "\n" in the text property of any Text attribute of an element as shown below:
<vc:Title Text="Athens 2004 \n Olympics"/>
Multi-Line text is applicable to all text content in Visifire. Have a look at the Documentation for more details.
The following is the screenshot of "Multi-Line Text" example.