Re: [XeTeX] XeTeX and "ignore sub" substitution rules

2011-11-30 Thread Apostolos Syropoulos
> > On further testing, I don't think Apostolos's font works with XeTeX > either.  It may appear to at first glance, just because the effect of the > "ignore sub" rules in that font is very subtle, but if I modify the > alternate glyphs to be more obviously different, it's clear that they are > be

Re: [XeTeX] Diacritics in color

2011-11-30 Thread mskala
On Wed, 30 Nov 2011, msk...@ansuz.sooke.bc.ca wrote: > In the Korean fonts I'm currently working on, some syllables are converted > to single precomposed glyphs by ligature substitution, and others are > built up by overlaying zero-width glyphs, and the difference between the I was interested to t

Re: [XeTeX] Diacritics in color

2011-11-30 Thread mskala
On Wed, 30 Nov 2011, Khaled Hosny wrote: > processed by the layout engine, which would require keeping account of > character to glyph mapping (which is doable, all text editing GUI's have > to do it). It will, of course, have to do something sensible (even if that just means complain) should the

Re: [XeTeX] Diacritics in color

2011-11-30 Thread Khaled Hosny
On Wed, Nov 30, 2011 at 09:47:31PM +0100, Keith J. Schultz wrote: > Hi Khaled, > > I am afraid you are completely misconceived about what the subject matter is > here. > 1) adding a diacritic mark(glyph) is composing a a glyph, You are able > to output it > on its own. > >

Re: [XeTeX] Diacritics in color

2011-11-30 Thread Khaled Hosny
On Wed, Nov 30, 2011 at 02:17:07PM -0500, Aleksandr Andreev wrote: > Khaled Hosny writes: > > > use/build an OpenType font with proper combining > > mark positioning and apply the colors to individual glyphs à la what > > FireFox/LuaTeX and may be many other does. > > What I get out of this comme

Re: [XeTeX] Diacritics in color

2011-11-30 Thread Keith J. Schultz
Hi Khaled, I am afraid you are completely misconceived about what the subject matter is here. 1) adding a diacritic mark(glyph) is composing a a glyph, You are able to output it on its own. 2) There is a difference between the glyph ä and adding the diactirc mark of

Re: [XeTeX] Diacritics in color

2011-11-30 Thread Ross Moore
Hi Heiko, and others On 30/11/2011, at 8:56 PM, Heiko Oberdiek wrote: > The PDF stuff: > > % without color: > 0 -99.63 Td[<0024>]TJ > 54.19 15.57 Td[<0301>]TJ > > % with color: > -54.19 -115.2 Td[<0024>]TJ > ET 1 0 0 RG 1 0 0 rg BT /F1 99.626 Tf > 59.3 -278.84 Td[<0301>]TJ > > % with c

Re: [XeTeX] Diacritics in color

2011-11-30 Thread Aleksandr Andreev
Khaled Hosny writes: > use/build an OpenType font with proper combining > mark positioning and apply the colors to individual glyphs à la what > FireFox/LuaTeX and may be many other does. What I get out of this comment and the post by Heiko Oberdiek is that this should be possible to accomplish i

Re: [XeTeX] Diacritics in color

2011-11-30 Thread Khaled Hosny
On Wed, Nov 30, 2011 at 11:10:11AM +0100, Keith J. Schultz wrote: > Hi All, > > I jump back in. I will cite anybody because what has been said is correct. > > But, > > 1) trying to compare a browser, XeTex engine and LuaTeX will not help > as they have different methods of compo

Re: [XeTeX] Diacritics in color

2011-11-30 Thread Keith J. Schultz
Hi All, I jump back in. I will cite anybody because what has been said is correct. But, 1) trying to compare a browser, XeTex engine and LuaTeX will not help as they have different methods of composing their output. That is how they compose and position their gly

Re: [XeTeX] Diacritics in color

2011-11-30 Thread Heiko Oberdiek
On Wed, Nov 30, 2011 at 05:10:07AM +0200, Khaled Hosny wrote: > > A\textcolor{red}{0308}\\ % (3) > It seems Charis SIL composes accented glyphs, try Gentium Basic instead > (GenBasR.ttf). Thanks, the result is correct, the box contents after luacolor's processing is: \EU2/GentiumBasic