Hi 🙂 , In middle east countries we are using irregular font called xarb.shx
this font can not be converted from Arial to Xarb or opposite directly
What i found there is translation like "f" is ب "a" is ش and so on
i am ready to do dictionary of translation letter inside lisp to match every letter with equal language.
but i want a routine that First ,change font language from arabic to english as first step during Arial style
then Second ,altering letters from arabic to english keyboard
"ا" is "h"
"ل "is "g"
"ع" is "u"
"ر" is "v"
"ب " is "f"
"ي" is "d"
"ة" is "m"
"ئ" is "z"
"ء" is "x"
"ؤ" is "c"
"لا" is "b"
"ى" is "n"
"ة" is "m"
"و" is ","
"ط" is " ' "
"ظ" is "/"
"ز" is shift keyboard +"."
"ت" is "j"
"م" is "l"
"ك" is ":"
"s" is "س"
"a" is "ش"
"q" is "ض"
"w" is "ص"
"e" is "ض"
"r" is "ق"
"t" is "ف"
"y" is "غ"
"i" is "ه"
"o" is "خ"
"p" is "ح"
"ج" is "{"
"د" is "}"
then Third ,changing font style from Arial to xarb
Please this will save us a lot of tedious time in the office i am working on sometime the office is re type the whole paragraph of 100 lines to match the Arial but in xarb font.
Can you upload the xarb.shx file? Are there western alphabets in this shx? If not, you have to use other font to shown western letters.
i do not know if there is western alphabets usually they are using it only for arabic(eastern) letter but here is xarb.shx file in attachment.
I have tried use vl-string-translate but for unkown reason, a few letters are not translated successfully.
Alternatively, you can combine all single lines texts into a Mtext, copy the content to MS Word, then set up a macro to replace characters. In worst case, if you don't know how to set up macro in MS Word, just use Find and Replace letters one by one, either in MS Word or in AutoCAD.
In response to 3wood ,What if i have name of rooms that disperse everywhere in my 6 floor plan if there is way to copy ,paste in place , that is ok with me but i think there is no way,
Second, if there are a few letters are not translated successfully that is mean that other letters are successful
if you could provide me the code please ?
Regarding Find& Replace
Why not using it inside autocad using lisp ?
by making list of find and replace letters
and then changing style i just need example code of listing character and changing style.
Can't find what you're looking for? Ask the community or share your knowledge.