TeeChart 2015 export to PDF unicode characters support? - delphi

How to export TeeChart with Unicode characters to PDF?
This option seems doesn't work out of the box.
Region settings for non-Unicode applications doesn't help either.
I have tested it on TeeChart v2015, latest release.

You may try to export the TeeChart content into a TMetaFile, then render it using our Open Source SynPDF library.
The library supports Font-Fallback and Uniscribe, so has good Unicode abilities.

Related

Firemonkey Unicode support for XP

Am developing a Delphi firemonkey desktop application with XE5.
I use Unicode characters to localize the application (Asian language call Sinhala).
Everything is perfect with windows 7 (We haven't tested it with Vista). But when we test it with windows XP, it display every character as a box (except in title bar).
What is the problem? Is delphi firemonkey support unicode in XP?
Is there any way to get it display correctly on XP?
(This happens only with firemonkey, everything is OK with VCL. Since am going to make it support for MAC, I have to use firemonkey.)
AFAIK FireMonkey does not implement the so-called Font fall-back mechanism. It does not use the Uniscribe API.
I suspect the font you are using (e.g. Tahoma) does not contain the needed characters in XP - whereas the TTF file included with Seven/Vista does contain them. So FireMonkey is not able to display the text as expected in XP.
Change the font to one having all needed glyphs. You may have "Arial Unicode MS" available, even on XP, if you have MSOffice installed.
By default, the VCL renderer uses the ExtTextOut GDI API which does implement font fall-back, so it automagically searches the installed fonts for the missing glyphs.
To properly use/display Unicode the OS has to support unicode strings and you have to have fonts installed that can display the Unicode characters. Since their are 65000+ characters not all font manufacturers include every Unicode character.
I think the FireMonkey app uses a font that does not contain Sinhala characters. Play with the font used by the app.
If you need a Sinhala font, the wonderful Alan Wood’s Unicode Resources has a section Large, multi-script Unicode fonts for Windows computers. The South Asian font page names several fonts you can try.
Alternatively, Googing "sinhala unicode font" will also give you plenty of suggestions.
I have checked all these suggestions - but there is no useful turnout of my problem. I have found out the following facts.
Changing the font to Arial MS Unicode or replacing Tahoma with a TTF file from Windows 7 doesn’t work.
Changing the font to “Iskole Pota”, a font which support Sinhala Unicode symbols , solved the problem for TEdit component.
All the components which are descendents of TTextControl don’t work with “Iskole Potha” solution.
I have further noticed that changing the font to something like “Wingdings” for TTextControl descendants don’t show appropriate symbols either. They still show English.

TeeChart ActiveX CodeUTF8String and DecodeUTF8String

I am trying to update from TeeChart ActiveX 7 to TeeChart 2012/2013. My old TeeChart files were written with a version that saved Unicode strings coded with a "#U#" prefix. I wanted to use the DecodeUTF8String in the new "real-Unicode" version to convert these saved strings to ordinary Unicode strings. However, both the code and decode functions appear to have no effect. Am I missing something? How can I deal with this problem?
Would be great if I could get some help on this!
Being real unicode, these functions don't convert the texts anymore. However, I understand in cases like yours it could still be necessary to do that decodification.
We'll study if we can offer some built-in way to decode the strings coded in older versions. In the meanwhile, the only way I can think on is to manually replace in your TeeChart .tee files (save them as text, not as binary) the coded strings with decoded strings, so you'll have unicode tee files that should be correctly imported in newer TeeChart ActiveX versions.

How to display Unicode in TChart labels

I have a TChart object where I want to be able to display Unicode characters for the axis labels.
Any help would be appreciated.
Addendum : Delphi 5.0
One option is to write a simple TChart yourself and use code from the TMS Unicode (formerly known ans TNT Unicode) component collection code. The TMS package supports Delphi 6 and higher, but the source code is included. Maybe the original TNT source code is still somewhere on the Internet, it was open source.
Unicode support wasn't introduced in Delphi until 2009 version so you should use TeeChart for Delphi 2009 or above to get native Unicode support.

Delphi unicode ShellListView filenames

Delphi 7 and ShellListView it is possible with unicode?
I tried ShellListView, LMD, bsSkinFileListView and TMS Unicode Component. In list i see unicode filenames as i.e.: "????????.txt". Noting works.
Anyone have some idea how to list files/dirs as Windows Explorer with normal visible filenames?
Thanks
Delphi 7 doesn't support Unicode VCL components. You need to upgrade to the latest version of Delphi where all the available shell components have good support for Unicode. Trying to do this in Delphi 7 is simply impractical and nobody is going to invest time doing that nowadays.

Is there a hex editor component for recent Delphi versions?

I've been able to find a few hex controls by searching online, but none that will compile under Unicode. Does anyone know if there is one available?
Alexey Torgashin's ATBinHex and ATViewer . Did not tried it with unicode delphi versions, but it supports Delphi 2009.
I think that KHexEditor has support for D2009 and D2010, but not tried, I'm currently using D2007...
I think SynEditPlus also has a hex editor control:
http://sourceforge.net/apps/mediawiki/synedit/index.php?title=SynEdit_Home_Page

Resources