Re: Unicode and Windows Vista (repost)

2010-05-03 Thread Devin Asay

On May 3, 2010, at 5:51 AM, Richmond Mathewson wrote:

  I am reposting this as it seems to have got lost
 amongst the recent cruft. It actually concerns
 an aspect of RunRev programming!

You should know better; this is the Rant and Rave About All Things 
Peripherally Related to Rev list. What you want is the How to Use Revolution 
list. ;-/
 
   
 
 -
 Yesterday I wrote:
 -
 
 Recently I had a slightly worrying post from a chap
 attempting to use my Devawriter on a computer
 running Windows Vista.
 
 The problem is that when Devawriter calls a Unicode
 character that is not meant to move the cursor/insert place
 forward, merely print something either above or beneath
 the preceding character it does not; while printing the
 character it also moves the insert forward so that
 everything comes out incorrectly.
 
 I tried to duplicate this problem on Mac and Windows XP
 (not having access to Vista) and was unable to. Luckily
 this chap managed to get hold of a machine running XP
 and has had no further problems.
 
 I would be extremely grateful if anybody has any ideas
 and/or advice regarding this problem, as it is a real
 problem. Obviously Vista does not play ball with
 Unicode fonts in RunRev in quite the same way that
 Mac and XP do.

Odd that you just ran into this with Win 7. Because I just noticed exactly the 
same problem in Snow Leopard. I have a stack that lists Russian vocabulary 
words, which has an option of showing the stressed syllables using one of these 
overstrike Unicode characters. Specifically, I use an acute accent from the 
unicode 03 section (Diacriticals, Greek, Coptic), character 0x301, or decimal 
769. It has the effect of placing the accent over the previous character.

But suddenly, in Snow Leopard, what has worked perfectly in Leopard and earlier 
and Win XP now places the accent over the *following*  character, which sounds 
just like what your Win 7 user is experiencing. 

So far this is just another data point that may help you figure out what's 
going on. I haven't come up with a solution yet. I do have a hunch, though. I 
wonder if both SnoLeo and Win 7 have fixed something in their unicode engines 
which slightly breaks Rev's unicode implementation.

I'll let you know if I figure anything out.

Regards,

Devin


Devin Asay
Humanities Technology and Research Support Center
Brigham Young University

___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Unicode and Windows Vista (repost)

2010-05-03 Thread Richmond Mathewson

 On 03/05/2010 18:52, Devin Asay wrote:

On May 3, 2010, at 5:51 AM, Richmond Mathewson wrote:


  I am reposting this as it seems to have got lost
amongst the recent cruft. It actually concerns
an aspect of RunRev programming!

You should know better; this is the Rant and Rave About All Things Peripherally Related to 
Rev list. What you want is the How to Use Revolution list. ;-/



-
Yesterday I wrote:
-

Recently I had a slightly worrying post from a chap
attempting to use my Devawriter on a computer
running Windows Vista.

The problem is that when Devawriter calls a Unicode
character that is not meant to move the cursor/insert place
forward, merely print something either above or beneath
the preceding character it does not; while printing the
character it also moves the insert forward so that
everything comes out incorrectly.

I tried to duplicate this problem on Mac and Windows XP
(not having access to Vista) and was unable to. Luckily
this chap managed to get hold of a machine running XP
and has had no further problems.

I would be extremely grateful if anybody has any ideas
and/or advice regarding this problem, as it is a real
problem. Obviously Vista does not play ball with
Unicode fonts in RunRev in quite the same way that
Mac and XP do.

Odd that you just ran into this with Win 7. Because I just noticed exactly the same 
problem in Snow Leopard. I have a stack that lists Russian vocabulary words, which has an 
option of showing the stressed syllables using one of these overstrike 
Unicode characters. Specifically, I use an acute accent from the unicode 03 section 
(Diacriticals, Greek, Coptic), character 0x301, or decimal 769. It has the effect of 
placing the accent over the previous character.

But suddenly, in Snow Leopard, what has worked perfectly in Leopard and earlier 
and Win XP now places the accent over the *following*  character, which sounds 
just like what your Win 7 user is experiencing.

So far this is just another data point that may help you figure out what's going on. I 
haven't come up with a solution yet. I do have a hunch, though. I wonder if both SnoLeo 
and Win 7 have fixed something in their unicode engines which slightly breaks 
Rev's unicode implementation.

I'll let you know if I figure anything out.

Regards,

Devin


Thank you very much.  The problem was spotted with Vista; I have had no 
feedback from a Win 7 user.

___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Unicode and Windows Vista (repost)

2010-05-03 Thread Devin Asay

On May 3, 2010, at 10:10 AM, Richmond Mathewson wrote:

 
 Thank you very much.  The problem was spotted with Vista; I have had no 
 feedback from a Win 7 user.

Sorry. My mistake. Of course I knew you said Vista, but we're on the brink of a 
pending changeover to Win 7 in our Windows labs and I'm afraid I have 7 on the 
brain. :-p

But that doesn't change the issue, does it? There may have been some change in 
the way both the Mac and Windows OS handle Unicode, which has rippled back into 
Rev's engine.

Do you know if any other of your Devawriter users are on SnoLeo, Vista or Win 
7. If so, are they seeing the same issues?

Devin


Devin Asay
Humanities Technology and Research Support Center
Brigham Young University

___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Unicode and Windows Vista (repost)

2010-05-03 Thread Richmond Mathewson

 On 03/05/2010 19:51, Devin Asay wrote:

On May 3, 2010, at 10:10 AM, Richmond Mathewson wrote:


Thank you very much.  The problem was spotted with Vista; I have had no
feedback from a Win 7 user.

Sorry. My mistake. Of course I knew you said Vista, but we're on the brink of a 
pending changeover to Win 7 in our Windows labs and I'm afraid I have 7 on the 
brain. :-p

But that doesn't change the issue, does it? There may have been some change in 
the way both the Mac and Windows OS handle Unicode, which has rippled back into 
Rev's engine.

Do you know if any other of your Devawriter users are on SnoLeo, Vista or Win 
7. If so, are they seeing the same issues?

Devin


I do know that various versions of Devawriter have been downloaded at 
least 7000 times; how many of those
are repeats I have no way of knowing; but considering at one time I was 
popping out upgrades every 2 days
probably quite a few. I am absolutely sure the vast majority of those 
downloads were by people who were
curious to see a 'funny' Indian writing system rather than having an 
interest in Sanskrit as such (let's face

it, it is not everybody's cup of tea).

Feedback has been thin; a few nice notes from Profs of Sanskrit who, 
while being experts at Sanskrit are

probably not well-versed in computers.

The chap using Vista is the first corresponding critic I have had, and 
he has proven most informative and
helpful (especially as he is encoding a fairly large collection of his 
grandfather's Sanskrit poems, so knows
what he is doing with the language as well as feeling reasonably 
comfortable with a PC).


Initially there was some odd feedback on versiontracker:

I tried converting the Font from PC to Mac TTF but does not work for me!
OS: Snow Leopard 10.6.2  

Yes, I had the same issue. I downloaded the font and Devawriter would 
not recognize it. I assume it's because of Snow Leopards new font 
requirements. So, I converted the font from windows ttf to mac ttf and 
now it works.


they are both from Snow Leopard users; whether they got as far as the 
Vista chap I don't know: I offered

off-line correspondence to these 2 and have had nothing back.
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Unicode and Windows Vista (repost)

2010-05-03 Thread Devin Asay

On May 3, 2010, at 11:27 AM, Richmond Mathewson wrote:

  On 03/05/2010 19:51, Devin Asay wrote:

snip

 Do you know if any other of your Devawriter users are on SnoLeo, Vista or 
 Win 7. If so, are they seeing the same issues?
 
 I do know that various versions of Devawriter have been downloaded at 
 least 7000 times; how many of those
 are repeats I have no way of knowing; but considering at one time I was 
 popping out upgrades every 2 days
 probably quite a few. I am absolutely sure the vast majority of those 
 downloads were by people who were
 curious to see a 'funny' Indian writing system rather than having an 
 interest in Sanskrit as such (let's face
 it, it is not everybody's cup of tea).
 
 Feedback has been thin; a few nice notes from Profs of Sanskrit who, 
 while being experts at Sanskrit are
 probably not well-versed in computers.
 
 The chap using Vista is the first corresponding critic I have had, and 
 he has proven most informative and
 helpful (especially as he is encoding a fairly large collection of his 
 grandfather's Sanskrit poems, so knows
 what he is doing with the language as well as feeling reasonably 
 comfortable with a PC).
 
 Initially there was some odd feedback on versiontracker:

snip

 they are both from Snow Leopard users; whether they got as far as the 
 Vista chap I don't know: I offered
 off-line correspondence to these 2 and have had nothing back.

Interesting. I only recently switched to Snow Leopard. Out of curiosity I just 
downloaded Devawriter. (Beautifully done, by the way.) Unfortunately my 
knowledge of Sanskrit is nil, so I don't really know what I'm doing. 

However, I can report that Devawriter launched without a hitch. And I had no 
problem at all with the font; the Devanagari characters appear just as they are 
on the virtual keyboard. In addition, the vowel markings on the Vowels keyboard 
seem to insert themselves properly above or beneath the previous character. If 
you know exactly what problem your Vista user was, I'd like to try to duplicate 
it in SnoLeo. At the very least it might be possible to isolate it to Vista.

Incidentally, what method are you using to type the unicode characters into 
the composition field? In my (much more static and rudimentary) Russian vocab 
tutor app, I resorted to using html unicode entities to switch accented 
characters off and on. Essentially I stored the original Cyrillic word lists as 
UTF8, with discrete acute accent chars as place markers for accented 
syllables. Something like this (hope the unicode comes through in email:)

аспи´рант

Then I would convert them to Unicode UTF 16 and store them in a field and grab 
the htmlText. After that I would do a straight replace of a #180; or a acute; 
with a #769;, a unicode char that's supposed to overtype the preceding 
character. My code to switch accents on and off looks like this:

 put the HTMLText of fld pFldName into htmlholder
  
  replace Lucida Grande with Geneva CY in htmlholder
  if the hilite of btn showstress of cd main then
replace /fontacute; with #769;/font in htmlholder ## Could be 
conditionally deleted if want to turn accents off
replace #180; with #769; in htmlholder
  else
replace acute; with  in htmlholder ## Could be conditionally deleted 
if want to turn accents off
replace #180; with  in htmlholder
replace #769; with  in htmlholder
  end if

Clunky-looking, I know. But until Snow Leopard it has worked perfectly, 
overtyping the preceding Cyrillic char with the acute accent. In SnoLeo it 
instead places the accent over the following char. When I saw your post I 
wondered if both your and my issues have the same root cause.

Anyway, hope this might jog something in your brain or mine that could lead to 
a fix.

Regards,

Devin

Devin Asay
Humanities Technology and Research Support Center
Brigham Young University

___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution