mannybmanago Posted February 5, 2020 Share Posted February 5, 2020 Gentlemen, I need to write to a text (maybe a utf-8, I am not sure) file all the arabic street names from AutoCAD. They are written using Xarab.shx and some are also written using true type fonts. I can't seem to find a way...please extend some help. The routine will write a database for many parcels and many sites. this is the only thing that is keeping me on being able to complete the tasks. BR, Manny Quote Link to comment Share on other sites More sharing options...
asos2000 Posted February 5, 2020 Share Posted February 5, 2020 I am Arabian Tell me how can I help you in this issue Quote Link to comment Share on other sites More sharing options...
asos2000 Posted February 5, 2020 Share Posted February 5, 2020 This is the font be note that this font use English keyboard to type Arabic letters. For example {vH[ Give this word XARAB.SHX Quote Link to comment Share on other sites More sharing options...
BIGAL Posted February 5, 2020 Share Posted February 5, 2020 (edited) asos2000 you will know better than me but if I export text to a file and then say in word set the font to the correct true type font I will see the font correctly, had a TTF with hundreds of symbols. Would need to convert the shx text style to TTF, I am suggesting don't use shx. Edited February 6, 2020 by BIGAL Quote Link to comment Share on other sites More sharing options...
mannybmanago Posted February 6, 2020 Author Share Posted February 6, 2020 The Lisp program I was working on can't export the the Arabic Text properly (in *.shx and *.ttf) into a text file. Copy paste works but not through lisp. Have you guys found a way to do it? Quote Link to comment Share on other sites More sharing options...
Tharwat Posted February 6, 2020 Share Posted February 6, 2020 8 hours ago, mannybmanago said: The Lisp program I was working on can't export the the Arabic Text properly (in *.shx and *.ttf) into a text file. Copy paste works but not through lisp. Have you guys found a way to do it? Can you upload a sample drawing along with the font file to take a close look ? Quote Link to comment Share on other sites More sharing options...
mannybmanago Posted February 8, 2020 Author Share Posted February 8, 2020 Dear Tharwat, Attached is an e-transmit file so it will show the fonts properly. new block1 - Standard.zip Quote Link to comment Share on other sites More sharing options...
asos2000 Posted February 8, 2020 Share Posted February 8, 2020 As I see you want to copy string which using XARAB.SHX and paste as Arabic letters in Word XARAB.SHX uses English letters and shows as Arabic letters (as I mentioned in previous reply) So If you want to copy and paste (in word for example) you have to replace English letters with Arabic letters . Try something like this: https://ar.wiktionary.org/wiki/ميدياويكي:Gadget-searchlang.js Regards Quote Link to comment Share on other sites More sharing options...
BIGAL Posted February 9, 2020 Share Posted February 9, 2020 asos2000 it should be possible to do a key remap of the text from the shx to a Arabic TTF bit involved though. What happens when you change the text style to an Arabic one. Do they match. "ahVU uvQ 18 ljV" Quote Link to comment Share on other sites More sharing options...
asos2000 Posted February 9, 2020 Share Posted February 9, 2020 3 hours ago, BIGAL said: asos2000 it should be possible to do a key remap of the text from the shx to a Arabic TTF bit involved though. What happens when you change the text style to an Arabic one. Do they match. "ahVU uvQ 18 ljV" This is the string with 2 different fonts Quote Link to comment Share on other sites More sharing options...
asos2000 Posted February 9, 2020 Share Posted February 9, 2020 Why is the Arabian use this font type?! We can use Arial font type in Multitext using Arabic Keyboard, but when we plot in PDF (for example) the output is not correct. Of course there is solution but not every one knows this solution, we have to change plotter configuration. for example Quote Link to comment Share on other sites More sharing options...
mannybmanago Posted February 10, 2020 Author Share Posted February 10, 2020 (edited) @asos2000, you are exactly right. they use this for directly printing the AutoCAD to the plotter/printer or even in PDF without changing the printer configurations. Also the DWG to PDF.pc3 doesn't support the solutions for the true type fonts. I am not good in usinMOH_SITE_NAME - P200.pdfg "js" and I am still stuck in how to write the codes output a text file or csv for all my data. The main goal is to automate the "Parcels" land deeds in an A4 format as attached. I was able to bring the Arabic text close to the parcel for visual cues and print it later. Also, it should be fed into a database or CSV file at the moment. The printing also shows that the TTF issue using the DWG to PDF.pc3. I can't find a way to Automate the printing using the Adobe or bluebeam pc3. Printing happens per parcel. BR, Manny Edited February 10, 2020 by mannybmanago Quote Link to comment Share on other sites More sharing options...
asos2000 Posted February 10, 2020 Share Posted February 10, 2020 1 hour ago, mannybmanago said: @asos2000, you are exactly right. they use this for directly printing the AutoCAD to the plotter/printer or even in PDF without changing the printer configurations. Also the DWG to PDF.pc3 doesn't support the solutions for the true type fonts. I am not good in usinMOH_SITE_NAME - P200.pdfg "js" and I am still stuck in how to write the codes output a text file or csv for all my data. The main goal is to automate the "Parcels" land deeds in an A4 format as attached. I was able to bring the Arabic text close to the parcel for visual cues and print it later. Also, it should be fed into a database or CSV file at the moment. The printing also shows that the TTF issue using the DWG to PDF.pc3. I can't find a way to Automate the printing using the Adobe or bluebeam pc3. Printing happens per parcel. BR, Manny There is one solution we use in repeated data (such as title) We explode using Express menu > Text > Explode Text. Could you upload CAD file. Refer to the lisp you coding, what is the relation between arabic and the data you extract? Quote Link to comment Share on other sites More sharing options...
mannybmanago Posted February 10, 2020 Author Share Posted February 10, 2020 @asos2000 the requirement is to output the files in CSV or a text file so it can be put in a database. The A4 print I sent will be the equivalent pdf for documentations. For now, I was able to extract and automate the task to to the layout per parcel. But to have an equivalent CSV or text file is the issue because of the Arabic text. The output is "ahVU uvQ 18 ljV" "ahVU uvQ 18 ljV" and not correct. Quote Link to comment Share on other sites More sharing options...
asos2000 Posted February 10, 2020 Share Posted February 10, 2020 Some thing like this may help you https://ar.wiktionary.org/wiki/ميدياويكي:Gadget-searchlang.js Quote Link to comment Share on other sites More sharing options...
hosyn Posted June 18, 2020 Share Posted June 18, 2020 (edited) Hello mannybmanago Nice topic and I was getting impressed and curious that Did you found out a way to do for extracting arabic SHX font?? Edited June 18, 2020 by hosyn Quote Link to comment Share on other sites More sharing options...
KumKum Posted April 26, 2021 Share Posted April 26, 2021 On 2/10/2020 at 11:06 AM, asos2000 said: Some thing like this may help you https://ar.wiktionary.org/wiki/ميدياويكي:Gadget-searchlang.js Hi asos2000 , Could you plz tell us how to use this gadget,, i am badly in need of this converter ,, plz Quote Link to comment Share on other sites More sharing options...
asos2000 Posted October 8, 2021 Share Posted October 8, 2021 Sorry KumKum I do not know how to use but for plotting Arabic letters first Start Printing Ctrl + P Then follow this Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.