The Shop > Electronics & IC Programing |
Text to G-code? |
<< < (3/4) > >> |
RussellT:
:clap: :clap: |
geoff_p:
Many, many thanks, VT. A brilliant piece of work :beer: Now about this Urdu .... I have to find the Thai characters the hard way - searching up and down and across my keyboard. which ain't made any easier by the thickness of crud on the keys. But I'm sure my Thai pals will know where their letters are, just as we know QWERTY etc. When I've 'just done this next mod' to my mill, I'll give your work a try, so as to show it to my friends. Meantime, I echo RussellT's sentiment :clap: :clap: Geoff |
vtsteam:
Happy to help Geoff. I've read about Thai keyboard stickers you can place over the keys. But maybe you can make them yourself? Maybe a print-out on label paper, and then cut them out? I don't know how frequently you will need them though -- if this is a small job, probably wouldn't be worthwhile to make them. |
Swarfing:
Only just read this thread and there is something that has not been mentioned. Where the fonts installed (assuming windoze OS)? Just copying the font files across is not enough. Right click them and install is needed which may (I use Linux exclusively) be the problem they are seen as '?????' if the cam software is looking at Windoze for the font mapping? just a thought |
vtsteam:
Swarfing, I use Linux, too, and I did a lot of checking running fonts in X and Wine, and in the usual Windows directories. I got the same results as Geoff no matter where they are put. The program appears to use a different on-screen font for input display than the working font used to generate the G-code (the Thai font). It then examines the input window and applies what it finds to the working font. So what happens is, using a Thai font and shifting to a Thai keyboard doesn't work because the program display font doesn't have characters in the high range. So it outputs question marks. Then the conversion process uses those literal input line characters (question marks) to look up how to display the output, and build the G-code. Since all the characters it looks up are the question marks it finds in the input line it does a perfect G-code program for a bunch of question marks. The Thai font, actually has English characters in the low ASCII range, and so there is no problem outputting question marks. I just moved the Thai characters to the low range. Because the input must be English, always, you have to use the English keyboard (or you'll get question marks again), and the input line will then be English characters. BUT when it goes to do the G-code it looks to the lower range again to output these characters, but finds in their place (and works with) the Thai characters we substituted. Since they were kept in order, they should (I hope) correspond with their usual position on the keyboard on a Thai computer. |
Navigation |
Message Index |
Next page |
Previous page |