PDA

View Full Version : Problems with some characters with IC.OverlayBitmap



Unregistered
April 4, 2003, 16:37:05
Dear all;
I'm developing a subtitle-videosimulation software- that means:
subtitles are shown on live video with IC.OverlayBitmap.
In general it works fine but now I found out that there are a few characters that will not be shown correct - these characters are "regular" characters of Windoes fonts such as Arial...

These characters are: and the smal r with "Hatschek".

Some other similar characters are shown without problems:


Who knows why? It's curious and amazing....

Best regards, Andreas Wirth

Johannes Vogel
April 11, 2003, 18:23:38
Hello,

We are investigating this problem. If you could send a little example project that demonstrates the problem to support@imagingcontrol.com , we would be able to find a solution faster.

Best regards
Johannes
IC Support

Stefan Geissler
April 14, 2003, 10:19:40
Hello,

The only way i found to use these characters, is to draw them as single chars to the overlay:

ob.DrawText RGB(255, 0, 0), 10, 30, ChrB(140)

Very important is to use the function "ChrB". You can not add the strings, created with ChrB() to other strings, because Visual Basic will convert them.
The decimal codes for the characters are
= 156
= 140
= 138
= 154

I do not know, what a small "r" with a "Hatschek" is.

If you would use the VC6 class library, you would not have any problems with these characters.