> On 18 May 2016, at 09:55, Maruan Sahyoun <[email protected]> wrote:
> 
> Hi,
> 
> longer term I'd like to support word forming for languages such as Arabic for 
> form filling and annotations.
> 
> For that I'd like to understand if we already have access to the GSUB table 
> in OpenType fonts and discuss where the forming would best fit
> 
> - font.encode()
> - showText()
> - specific prior to these

showText() is a good choice, you could keep the existing behaviour as 
showUnshapedText(). What you’re
wanting to implement is “shaping”, which maps Unicode characters => glyph 
indexes + position deltas.
AWT represents the shaped glyphs as a GlyphVector, you might want to take 
inspiration from that API.

— John

> There is already some code at Apache FOP [1] where we could potentially work 
> with the colleagues.
> 
> BR
> Maruan  
> 
> 
> [1] 
> http://svn.apache.org/viewvc/xmlgraphics/fop/trunk/fop-core/src/main/java/org/apache/fop/complexscripts/
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to