Hi,

I am looking for a way to get the contectual forms from Arabic Script.

If you use a richtextbox in VB.net, and you fill it with a a unicode string
which contains the isolated characters, the control takes care of the
"shaping", it shows the approriate glyphs ( isolated, final, initial or
medial )

I would like to do the same in code, input isolated chars and output correct
glyphs.

For example : arabic letter BEEH (067B) when used at the end of a word
(final) becomes FB53.

Wat is the correct way for doing this ?

* the new stringinfo class ?
* uniscribe ?
* ....

Any help would be appriciated !!

Greetings.

Re: StringInfo class by Clive

Clive
Thu Jan 12 06:45:02 CST 2006

I'm not sure why you would want to do this. The answer I would have thought
is that you should use only isolated characters and leave it up to the UI to
display correctly. As I understand it, the Arabic presentation forms (and
equivalents for other alphabets/abjads/abugidas etc.) are really only in
Unicode for backward compatibility.

"Wilfried Van Baelen" <wilfried.vanbaelen@pandora.be> wrote in message
news:oHrxf.96477$kP6.6146184@phobos.telenet-ops.be...
> Hi,
>
> I am looking for a way to get the contectual forms from Arabic Script.
>
> If you use a richtextbox in VB.net, and you fill it with a a unicode
> string which contains the isolated characters, the control takes care of
> the "shaping", it shows the approriate glyphs ( isolated, final, initial
> or medial )
>
> I would like to do the same in code, input isolated chars and output
> correct glyphs.
>
> For example : arabic letter BEEH (067B) when used at the end of a word
> (final) becomes FB53.
>
> Wat is the correct way for doing this ?
>
> * the new stringinfo class ?
> * uniscribe ?
> * ....
>
> Any help would be appriciated !!
>
> Greetings.
>
>
>



Re: StringInfo class by Wilfried

Wilfried
Thu Jan 12 07:03:25 CST 2006

Clive,
I have to get hold of the presentation forms to use the converted string in
a program ( .DLL ) that does not convert the characters like for example
RichTextBox does ( labelprinter software ).


"Clive Dixon" <clived.noluncheonmeat@digita.noluncheonmeat.com> wrote in
message news:eVAPFY3FGHA.312@TK2MSFTNGP09.phx.gbl...
> I'm not sure why you would want to do this. The answer I would have
> thought is that you should use only isolated characters and leave it up to
> the UI to display correctly. As I understand it, the Arabic presentation
> forms (and equivalents for other alphabets/abjads/abugidas etc.) are
> really only in Unicode for backward compatibility.
>
> "Wilfried Van Baelen" <wilfried.vanbaelen@pandora.be> wrote in message
> news:oHrxf.96477$kP6.6146184@phobos.telenet-ops.be...
>> Hi,
>>
>> I am looking for a way to get the contectual forms from Arabic Script.
>>
>> If you use a richtextbox in VB.net, and you fill it with a a unicode
>> string which contains the isolated characters, the control takes care of
>> the "shaping", it shows the approriate glyphs ( isolated, final, initial
>> or medial )
>>
>> I would like to do the same in code, input isolated chars and output
>> correct glyphs.
>>
>> For example : arabic letter BEEH (067B) when used at the end of a word
>> (final) becomes FB53.
>>
>> Wat is the correct way for doing this ?
>>
>> * the new stringinfo class ?
>> * uniscribe ?
>> * ....
>>
>> Any help would be appriciated !!
>>
>> Greetings.
>>
>>
>>
>
>



Re: StringInfo class by Clive

Clive
Thu Jan 12 07:02:42 CST 2006

Sorry I think I partially misunderstood your question and thought you wanted
to convert a string containing isolated characters to one containing
presentation forms and then pass to the UI. This you certainly do not want
to do. Leave the string alone and leave it up to the rendering engine to
display correctly. Have a look into Uniscribe (I don't know myself what it's
all about or what its capabilities are).

"Clive Dixon" <clived.noluncheonmeat@digita.noluncheonmeat.com> wrote in
message news:eVAPFY3FGHA.312@TK2MSFTNGP09.phx.gbl...
> I'm not sure why you would want to do this. The answer I would have
> thought is that you should use only isolated characters and leave it up to
> the UI to display correctly. As I understand it, the Arabic presentation
> forms (and equivalents for other alphabets/abjads/abugidas etc.) are
> really only in Unicode for backward compatibility.
>
> "Wilfried Van Baelen" <wilfried.vanbaelen@pandora.be> wrote in message
> news:oHrxf.96477$kP6.6146184@phobos.telenet-ops.be...
>> Hi,
>>
>> I am looking for a way to get the contectual forms from Arabic Script.
>>
>> If you use a richtextbox in VB.net, and you fill it with a a unicode
>> string which contains the isolated characters, the control takes care of
>> the "shaping", it shows the approriate glyphs ( isolated, final, initial
>> or medial )
>>
>> I would like to do the same in code, input isolated chars and output
>> correct glyphs.
>>
>> For example : arabic letter BEEH (067B) when used at the end of a word
>> (final) becomes FB53.
>>
>> Wat is the correct way for doing this ?
>>
>> * the new stringinfo class ?
>> * uniscribe ?
>> * ....
>>
>> Any help would be appriciated !!
>>
>> Greetings.
>>
>>
>>
>
>