[prev in list] [next in list] [prev in thread] [next in thread] 

List:       xfree-fonts
Subject:    Re: [Fonts] Complex text layout and mapping screen coordinates
From:       Keyur Shroff <keyur_shroff () yahoo ! com>
Date:       2002-02-27 11:52:43
[Download RAW message or body]


--- Joseph Koshy <jkoshy@FreeBSD.ORG> wrote:
> 
> 
> >>>> "ks" == "Keyur Shroff" 
> 
> ks> So how can client decide which glyph is being used
> for a character?
> 
> You seem to have got the X font-encoding selection model
> the wrong way
> round.
> 
> The client /specifies/ the font encoding that it wishes
> to use when
> issuing an OpenFont request to the X server.  The manner
> it does so is
> specified in the ``X Logical Font Description
> Conventions'' document.

Even from this document it is not very much clear to me
what "values" to pass in PolyText requests? How can client
get glyph values from charset encoding?

Let me try to find solution from practical aspect. Suppose
I have a Unicode font for Devanagari script. The font is at
the server side. I am assuming that client is specifying
ISO10646 charaset encoding in OpenFont request. Then client
is expected to draw some string. Now my question is :

What value to pass in PolyText16 request to draw glyph for
U+0915 character?

If the "value" is glyph code, then how to get the glyph
code? Character codes are not necessarily same as glyph
codes for Indic fonts.

I think giving answers to these questions will clear my
doubts.

Thanks,
Keyur



__________________________________________________
Do You Yahoo!?
Yahoo! Greetings - Send FREE e-cards for every occasion!
http://greetings.yahoo.com
_______________________________________________
Fonts mailing list
Fonts@XFree86.Org
http://XFree86.Org/mailman/listinfo/fonts
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic