|
|
Mozy Online Backup: 2GB Free. Automatic. Secure.
Subject: Re: chain mark positioning? - msg#00006
List: fonts.fontforge.user
Hi Khaled,
On Sat, 02 Feb 2008 06:58:56 -0700, Khaled Hosny <khaledhosny@xxxxxxxxx>
wrote:
> On Fri, Feb 01, 2008 at 02:54:19PM -0700, Idris Samawi Hamid wrote:
> > Hi all,
> >
> > I've been working with GPOS for a few days, and have two problems I'ld
> > like to get feedback on:
> >
> > 1. Given a string <base><mark1><mark2>, how can I position both marks
> > with
> > repect to the singe base? A <base><mark1> lookup will not help me with
> > <mark2> and a <base><mark2> lookup will not help with mark1.
> >
> > For example, consider the letter 'a' followed by a tilda and an
> > underscore. I want the result to be an a with a tilda above and an
> > underscore below. Of course the results will be different for, say, 'b',
> > so mark-to-mark can not help.
> This shouldn't be a problem I guess. I've marks that go above base
> base and marks that go bellow it, each has a different lookup and I can
> use to marks with the single base, one above and one bellow. I use this
> manly to but a shaddah over Arabic glyph and kasra bellow the glyph, and
> it does work. Isn't this what you want? (I test my fonts with Pango
> only).
Is that font available? If not, could you export the feature info and send
me that (or just those lines that cover this if you prefer)? Do you use
the IgnoreMarks flag or no?
I've tried separate lookups as well (with and without IgnoreMarks) but
they don't seem to work with Uniscribe. As I mentioned in my reply to
Behdad it's not clear to me whether it's Uniscribe at fault here.
===============
lookup vowelmarkshigh {
lookupflag RightToLeft;
# lookupflag IgnoreMarks, RightToLeft;
mark Mark1 <anchor x1 y1>;
pos Glyph1 <anchor x2 y2> mark Mark1;
} vowelmarkshigh
lookup vowelmarkshigh {
lookupflag RightToLeft;
# lookupflag IgnoreMarks, RightToLeft;
mark Mark2 <anchor x3 y3>;
pos Glyph2 <anchor x4 y4> mark Mark2;
} vowelmarkshigh
feature \mark {
script arab;
language dflt ;
lookup vowelmarkshigh;
lookup vowelmarkslow;
} \mark;
===============
Question: Are there any Windows text editors that use Pango?
> > 2. Related: Let's say I have already defined a mark position for tilda
> > with respect to 'a', which I have previously defined as a composite
> > character (let's call it 'atilda'). Now I can easily use a mark-to-base
> > lookup to add a another diacritic to atilda, say, a macron. But suppose
> > I
> > want a rule such that, if I add a macron to atilda, the tilda will be
> > positioned different from the default positioning defined in the
> > original
> > lookup where the a-tilda relation was specified.
>
> You might try to make a ligature of macron and tilda, a simple bot not
> very flexible solution.
As I said at the end of my first message:
> > (PS I'm not actually interested in 'a' etc. but just using latin to
> > illustrate the problem).
If necessary we can do this in luaTeX code but I want to save this as a
very last resort.
Thank you for your reply and your advice!
Best wishes
Idris
--
Professor Idris Samawi Hamid, Editor-in-Chief
International Journal of Shi`i Studies
Department of Philosophy
Colorado State University
Fort Collins, CO 80523
--
Using Opera's revolutionary e-mail client: http://www.opera.com/mail/
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
Was this page helpful?
Thread at a glance:
Previous Message by Date:
click to view message preview
Re: chain mark positioning?
On Fri, Feb 01, 2008 at 02:54:19PM -0700, Idris Samawi Hamid wrote:
> Hi all,
>
> I've been working with GPOS for a few days, and have two problems I'ld
> like to get feedback on:
>
> 1. Given a string <base><mark1><mark2>, how can I position both marks with
> repect to the singe base? A <base><mark1> lookup will not help me with
> <mark2> and a <base><mark2> lookup will not help with mark1.
>
> For example, consider the letter 'a' followed by a tilda and an
> underscore. I want the result to be an a with a tilda above and an
> underscore below. Of course the results will be different for, say, 'b',
> so mark-to-mark can not help.
This shouldn't be a problem I guess. I've marks that go above base
base and marks that go bellow it, each has a different lookup and I can
use to marks with the single base, one above and one bellow. I use this
manly to but a shaddah over Arabic glyph and kasra bellow the glyph, and
it does work. Isn't this what you want? (I test my fonts with Pango only).
>
> 2. Related: Let's say I have already defined a mark position for tilda
> with respect to 'a', which I have previously defined as a composite
> character (let's call it 'atilda'). Now I can easily use a mark-to-base
> lookup to add a another diacritic to atilda, say, a macron. But suppose I
> want a rule such that, if I add a macron to atilda, the tilda will be
> positioned different from the default positioning defined in the original
> lookup where the a-tilda relation was specified.
You might try to make a ligature of macron and tilda, a simple bot not
very flexible solution.
--
Khaled Hosny
signature.asc
Description: Digital signature
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/_______________________________________________
Fontforge-users mailing list
Fontforge-users@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/fontforge-users
Next Message by Date:
click to view message preview
Re: chain mark positioning?
On Sat, Feb 02, 2008 at 10:47:00AM -0700, Idris Samawi Hamid wrote:
> Hi Khaled,
>
> On Sat, 02 Feb 2008 06:58:56 -0700, Khaled Hosny <khaledhosny@xxxxxxxxx>
> wrote:
[...]
> Is that font available? If not, could you export the feature info and
> send me that (or just those lines that cover this if you prefer)? Do you
> use the IgnoreMarks flag or no?
I've several fonts, you can take look at my Thabit font
http://cvs.arabeyes.org/viewcvs/*checkout*/art/khotot/web/ae_Thabit.sfd
It has only one mark2base lookup with 2 anchor points; above and bellow.
[...]
> Question: Are there any Windows text editors that use Pango?
[...]
Any GTK+2 applications does.
--
Khaled Hosny
signature.asc
Description: Digital signature
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/_______________________________________________
Fontforge-users mailing list
Fontforge-users@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/fontforge-users
Previous Message by Thread:
click to view message preview
Re: chain mark positioning?
On Fri, Feb 01, 2008 at 02:54:19PM -0700, Idris Samawi Hamid wrote:
> Hi all,
>
> I've been working with GPOS for a few days, and have two problems I'ld
> like to get feedback on:
>
> 1. Given a string <base><mark1><mark2>, how can I position both marks with
> repect to the singe base? A <base><mark1> lookup will not help me with
> <mark2> and a <base><mark2> lookup will not help with mark1.
>
> For example, consider the letter 'a' followed by a tilda and an
> underscore. I want the result to be an a with a tilda above and an
> underscore below. Of course the results will be different for, say, 'b',
> so mark-to-mark can not help.
This shouldn't be a problem I guess. I've marks that go above base
base and marks that go bellow it, each has a different lookup and I can
use to marks with the single base, one above and one bellow. I use this
manly to but a shaddah over Arabic glyph and kasra bellow the glyph, and
it does work. Isn't this what you want? (I test my fonts with Pango only).
>
> 2. Related: Let's say I have already defined a mark position for tilda
> with respect to 'a', which I have previously defined as a composite
> character (let's call it 'atilda'). Now I can easily use a mark-to-base
> lookup to add a another diacritic to atilda, say, a macron. But suppose I
> want a rule such that, if I add a macron to atilda, the tilda will be
> positioned different from the default positioning defined in the original
> lookup where the a-tilda relation was specified.
You might try to make a ligature of macron and tilda, a simple bot not
very flexible solution.
--
Khaled Hosny
signature.asc
Description: Digital signature
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/_______________________________________________
Fontforge-users mailing list
Fontforge-users@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/fontforge-users
Next Message by Thread:
click to view message preview
Re: chain mark positioning?
On Sat, Feb 02, 2008 at 10:47:00AM -0700, Idris Samawi Hamid wrote:
> Hi Khaled,
>
> On Sat, 02 Feb 2008 06:58:56 -0700, Khaled Hosny <khaledhosny@xxxxxxxxx>
> wrote:
[...]
> Is that font available? If not, could you export the feature info and
> send me that (or just those lines that cover this if you prefer)? Do you
> use the IgnoreMarks flag or no?
I've several fonts, you can take look at my Thabit font
http://cvs.arabeyes.org/viewcvs/*checkout*/art/khotot/web/ae_Thabit.sfd
It has only one mark2base lookup with 2 anchor points; above and bellow.
[...]
> Question: Are there any Windows text editors that use Pango?
[...]
Any GTK+2 applications does.
--
Khaled Hosny
signature.asc
Description: Digital signature
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/_______________________________________________
Fontforge-users mailing list
Fontforge-users@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/fontforge-users
|
|