Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

ATSUI Question: Text and Numerics direction



Hi everyone,

I need your help in some ATSUI issues I am facing while trying to impose a text direction change. I am using ATSUI functions to get the contextual form of Arabic text in some textbox. I have noticed that ATSUI returns the glyph ids of Arabic numerics inverted in the exit array, since Arabic numerics are typed in the usual left to right direction unlike Arabic text.

I have put down code to change the direction of the text, testing both R2L and L2R cases. Inspite of my expectation, the exit glyph IDs and character offsets were identical no matter what the text direction specified was.

I need to know if I can make ATSUI return Arabic numerics in the same manner as Arabic characters. (i.e. without inverting)

Kindly tell me what I am missing here, and if it is possible to implement the functionality to get the Arabic text all in the same direction, regardless of numerics and special characters.

Regards,
Hagop Ohanessian
Developer / R&D Department
Layout Ltd.

Habis Technology Center
Street 50, Sector 2
Jisr El-Basha
Lebanon

P.O. Box 165479
Beirut, 1100 2040

Tel: +961 1 512572
Fax: +961 1 512570
Mob: +961 3 348260
Email:
email@hidden
Web: www.layoutltd.com
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Carbon-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/carbon-dev/email@hidden

This email sent to email@hidden



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.