suggestion: right-to-left writing of text

Started by Alex Lowes, Thu 17/04/2003 00:42:44

Previous topic - Next topic

Alex Lowes

wait a minute you missunderstood my explanation I think.
my brother told me that it is posible,very(he wants the AGS source code (but I know chris won't trust me of course and I respect that :D).
Now let me explain it in my originall way  ;D:
click start,programs,accessories,system tools,character map when you get to it choose click on the advanced view first choose from the top of the screen a hebrew ttf(I repeate ttf)click on an english letter E for example now and watch the bottom part of the screen you will se a code
named:U+0045 or:character Code 0X45
when this gets to AGS the english part of the font works(or will work) because AGS is told in some sort of programing way that this space(where it is places in the map itself) of letter exists.
if only there was a way telling AGS(has to do with the code I wrote above)to see all the rest of the spaces it will be possible to use any language and not only hebrew fonts .
chris if you have any question about it please mail my brother at:
(I will give you his address in a private message).
and he will give you a full and correct explenation if you need it.

Gilbert

I'm not quite sure, but I think AGS currently supports only font # within the first 128 range to be displayed (at least for SCI fonts, dunno about TTF, but they would be converted to an Allegro/AGS native format before use I think, so the result may still be the same), if it can be made to break teh barrier, even Chinese font sets can be displayed without modifications. ;D
I think that all depends on how CJ script the functions and what Allegro provides.

am

Yes, this is the font problem - hebrew fonts are above the 127 ASCII, and this is also what Alex is reffering to.

Enabeling ASCII above 127 shall solve this problem so Hebrew characters can be printed.

However, there are 2 more problems I mentioned earlier:
1. When translating a game into hebrew the exact format for writting must be pre-detrmined (easy to solve when all other problems are solved) + The fonts used in the game must be replased with hebrew fonts.

2. The end of line problem (see my explanations above).

Alex Lowes

make a note that some hebrew fonts are only written in hebrew and when I will be able to  use my  labtop again I will check if theese fonts work (can be seen) cause theire level of ascII is where the English letters are.
but the thing is the  most of the standart fonts are on a  higher level of ascii.
I will report my test results later on ::)

Pumaman

AGS only supports up to ASCII 127 with SCI fonts; however, with TTF fonts the full 256 characters are supported (but not unicode, sorry).

I'll see how much work it would be to have an option for the line break going backwards.

SMF spam blocked by CleanTalk