[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: PuTTY: Some notes



Sayed,

I have a small request ! could you please avoid writing long lines in
your emails ? this makes it easier to reply and automatically have ">"
inserted in the beginning of the lines. Thanks.

On Sat, Nov 09, 2002 at 10:39:27AM +0200, alsayed wrote:
> plz be patient with me since i steal minutes to work on this issue,

Don't worray about it, Sayed. You are doing great so far.

> 1- Iam trying on GetGlyphOutLine() API and it doesont work with me ,
> but i going to try again.

Ok. Remember that the goal is to see how can we render one unicode
letter at a time. So in order to place glyphs next to each other, we
need to calculate the width of each one, and we need to figure out the
glyph index in a font for a given unicode character. Your job is to
figure out how to use the different windows APIs and demonstrate
through an "Ahlan Wasahlan" program that you can draw the string one
letter at a time.

> 2- i had made the generic win32 application and it renders the text
> good fro rtl or ltr using only TextOut.

Can you use that to draw "Ahlan wasahlan" , one letter at a time;
instead of giving the complete string to TextOut ?  It is perfectly ok
if you say that you could not find a way to do that. We will have to
find other ways to do what we want.

> 3- when displaying text on PuTTY is dispalys the text in some
> regions Perfect ! (i had noticed some words rendered correctly )
> and i think the problem is that the text is rendered in chunks.

I invite you to experiment more and understand the problem. You may be
able to find a very easy solution to the problem. In that case make
sure to let me know so that we will change direction and save time.
Things to try out : cat an arabic file, minimize the window, then
restore it, try to select (with the mouse) some arabic text, try to
hide some arabic text with another window then unhide it. In each case
observe whether the arabic text is still displayed or updated
correctly.

> 
> iam still working on GetGlyphOutLine() and please be patient with me
> :-)

Don't worry about it. Take your time, you are doing a great job.

> 
> you didnot tell me any thing about the glossary ?

I think I did mention that it would be great if you send it in text
format.

> 
> iam here on line in chat (#arabeyes) from 10 am until 3pm in cairo
> time .(i had skipped proxy :) )

I am here as well, different time zones, maybe we will catch one
another on irc one day.

Keep up the good work.
Best Regards,
Kamal