The TextImage datatype allows for generation of an image of text based on settings (color, background, font, size, position, etc..)
It allows the use of server fonts as well as a custom font (TTF file) It appears on doctypes as a standard textbox, but generates an image file on save (displayed in a preview)
what is the scenarios of using this? i'm using font replacements technicks like cufon or font-face, but its look interesting. do you know if its working with other languages fonts like hebrew, etc?
I've tested it with several fonts (Chinese, Hebrew, Korean.. ) and it simply renders to an image. :)
I can be used if the design calls for a specific font face and you don't want users to download a font to view it. The datatype also stores the original text so you can set it as the Alt tag for SEO.
TextImage Datatype
Just a heads up..
The TextImage datatype has been submitted for testing.
Plans are to have it ready for release in the 2.1 Beta scheduled for 1/31/2011.
The TextImage datatype allows for generation of an image of text based on settings (color, background, font, size, position, etc..)
It allows the use of server fonts as well as a custom font (TTF file)
It appears on doctypes as a standard textbox, but generates an image file on save (displayed in a preview)
It saves xml:
DataType Editor:
DocumentType Property
Sample XSLT usage:
Whats the technology behind this? Is it using something like a mschart control?
It's using standard .Net libraries.
It generates a static image file in the media library (/media/TextImage/xxx.png)
looks cool.
what is the scenarios of using this? i'm using font replacements technicks like cufon or font-face, but its look interesting.
do you know if its working with other languages fonts like hebrew, etc?
Thanks,
Eran
I've tested it with several fonts (Chinese, Hebrew, Korean.. ) and it simply renders to an image. :)
I can be used if the design calls for a specific font face and you don't want users to download a font to view it. The datatype also stores the original text so you can set it as the Alt tag for SEO.
thanks, i will test it also in hebrew in the near future and let you know if i will found any problems.
Eran
is working on a reply...