<P>
<BR>
<BR>
<BR>
On Tue, 16 May 2006 Boris Gaertner wrote :<BR>
><BR>
>"Noname Myname" <gcdart_squeak@rediffmail.com> wrote:<BR>
><BR>
><BR>
> > I believe that True Type Font Support in Already there in SQUEAK.<BR>
>Yes, some support for True Type Fonts is available, but it is<BR>
>still incomplete.<BR>
><BR>
> > After seeing the Open Type specifications by microsoft and adobe ,<BR>
> > I think that to extended Support to Open Type fonts , is it just<BR>
> > nessacary to extract the extra tables present in the Open Type<BR>
> > font ( not CFF format ).<BR>
>Right. However, the extraction of the more advanced tables<BR>
>I find the specification for the tables GSUB, GPOS and GDEF quite<BR>
>difficult to follow. For indian scripts, you will certainly need full<BR>
>support for GSUB. In the "OpenTypeViewer" that you can<BR>
>download from SqueakMap you will find incomplete support for<BR>
>the GSUB table, but the subtables for contextual substitution<BR>
>are not read - the application is still incomplete.<BR>
><BR>
> > There was one Open Type font reader implemented, which<BR>
> > failed to work on Indian Languages ( mangal.ttf , latha.ttf<BR>
> > provided by microsoft ). Wat Xactly is the problem ?<BR>
><BR>
> > More Over , Even if i extract all the tables how xacty<BR>
> > shud i implement the script shaping ?<BR>
> > that is wer shud i implement it ?<BR>
>For several reasons this is the hard part of the exercise:<BR>
>1. The Open Type Format is very flexible and allows for<BR>
>a considerable difference in script shaping. You may not<BR>
>assume that two different TTF fonts for, say, Devanagari,<BR>
>will contain the same or similar glyph substitution rules.<BR>
>2. For script shaping support, you will have to rewrite<BR>
>most of the text formatting and display machinery.<BR>
>For text formatting and display the following classes<BR>
>cooperate (always with subclasses included):<BR>
> Text, DisplayText, Paragraph, NewParagraph,<BR>
>CharacterScanner, AbstractFont, TextStyle, TextLine,<BR>
>TextLineInterval.<BR>
><BR>
>3. I think that for script shaping you will have to implement<BR>
>a structure that maintains both a string of stored codepoints<BR>
>and a string that maintains the indices of the shaped glyphs<BR>
>to display. The mapping between these two strings is not a<BR>
>one-to-one mapping; due to script shaping several<BR>
>codepoints may merge into one display glyph, a ligature.<BR>
><BR>
><BR>
> Greetings, Boris<BR>
><BR>
<BR>
One more Question , shud the true type instructions in the Open Type files definitely be executed ?<BR>
<BR>
Or are they supported currently in SQUEAK ? Well if they are ... then wud'nt the display of characters be terribly slow ?<BR>
<BR>
Becuz you have to create an intrepreter inside another interpreter("SQUEAK") to understand the instructions and execute them.<BR>
<BR>
how does SQUEAK Handle the text display so efficiently or am i missing something very basic .... ?
</P>
<br><br>
<a href="http://adworks.rediff.com/cgi-bin/AdWorks/sigclick.cgi/www.rediff.com/signature-home.htm/1507191490@Middle5?PARTNER=3"><IMG SRC="http://adworks.rediff.com/cgi-bin/AdWorks/sigimpress.cgi/www.rediff.com/signature-home.htm/1963059423@Middle5?OAS_query=null&PARTNER=3" BORDER=0 VSPACE=0 HSPACE=0></a>