Pascal Georges wrote:

Hi!

> 2009/4/14, Alexander Wagner <[email protected]>:
>> Alexander Wagner wrote:
>>
>> Hi!
>>
>>> Just worked on smybolic NAGs today and rechecked if to use
>>> ASCII or UTF. For some reasons I'd actually prefer UTF chars
>>> (they need much less space in the annotations e.g.) and I'd
>>> come up with the list below.
>> Just committed the first version of this Symbolic NAG code
>> ot CVS. Please let me know if you find anything strange.
>>
>> For the Unix people here: please use a locale that is real a
>> UTF-8 one ;) Should be default on current Linux, however, I
>> myself use LANG=C in my login scripts which is definitly NOT
>> UTF.
> 
> I did not have a chance to try it, but does it work under
> Windows ? My experience shows it will certainly not be a
> piece of cake here.

I guess that, but testing exactly this is to someone who
_has_ a Windows. I don't.

However, just in case, I've also a translation table to pure
7bit ASCII using composed chars like (+) and so on. They
just take several chars for each NAG which does not look as
nice as the UTF ones, and it might have the drawback that
the string length for NAG entry (I think 20 chars) is a bit
short if you have to add e.g. !! [] <lt><lt><lt>

> Maybe this is useless, but in case : if there are problems
> handling Unicode chars, why not use images inserted as
> chars ?

I thought about this but agree with Michal that it might get
a bit uggly. Point is that you do not know the font size, I
guess you'd have to scale bitmaps or they're either to small
or to big.

> That is parse the text output and replace on the fly the
> $xx occurences by bitmaps ?

You'd run also even more into the above mentioned string
length problem as you'd have to write out something like

<button NAG08>

or whatever. And, unfortunately, Scid uses two ways to show
NAG coding. In browse windows it seems to use them literally
while in PGN window, with colouring enabled at least, it
interprets them in Scid-HTML.

-- 

Kind regards,                /                 War is Peace.
                             |            Freedom is Slavery.
Alexander Wagner            |         Ignorance is Strength.
                             |
                             | Theory     : G. Orwell, "1984"
                            /  In practice:   USA, since 2001

------------------------------------------------------------------------------
This SF.net email is sponsored by:
High Quality Requirements in a Collaborative Environment.
Download a free trial of Rational Requirements Composer Now!
http://p.sf.net/sfu/www-ibm-com
_______________________________________________
Scid-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/scid-users

Reply via email to