Re: Converting visual to logical string
Behdad Esfahbod <[email protected]>
| Newsgroups | gmane.comp.internationalization.fribidi |
|---|---|
| Message-ID | <[email protected]> |
On Tue, 16 Aug 2005, Kenneth M Horan wrote: > >I don't understand what you're talking about. We don't have > >anything like that in FriBidi! > > Ah yes, that was my retarded evil twin typing. I hate it when he gets > onto my computer! The files that he was testing with contained examples > showing how Arabic handwriting often has obviously misplaced dots. For > some reason he decided fribidi was generating those correction messages, > when in fact it was really just printing out the documents. *sigh* Very funny indeed :). > So far it looks like this does the trick. > fribidi --nopad --nobreak --nomirror Nice. > I've looked over a couple files side-by-side with ParsNegar and Word XP > and they seem to match up so far, however there are some problems > particularly with dates. For example, on a RTL line the date "12/23/2004" > becomes "2004/23/12". Unfortunately these documents are littered with > dates so this is a problem. I'll keep playing with it and see if I can > come up with anything, but dates have always been a headache for me. Dates are not easy to get right even in log2vis, let alone vis2log... If you really want to fix it, you can change the bidi type of the '/' character in FriBidi sources and retry. If you are using fribidi-0.10.15, you need to change the file fribidi_tab_char_type_2.i, in the first table, third row, last entry, it's "ES" right now. Try changing it to "ET" and recompile. Humm, are you using 0.10.5 or 0.10.4? With 0.10.5 the dates should not get reordered as far as I understand. > Ken Horan --behdad http://behdad.org/