OpenType layout features are processed per "run of text". This means text is divided into smaller segments. Each new line will cause such split, but also a switch between Scripts, e.g. if Latin and Hebrew text is mixed, they will be split into separate segments. That is why kerning pairs between different scripts will never work.Bhikkhu Pesala wrote:I am still trying to understand what Mike means by "a run of text."
OpenType Features: Order of Precedence
-
- Moderator
- Posts: 11229
- Joined: Fri Oct 04, 2002 12:41 am
- Location: Bilthoven, The Netherlands
- Contact:
Re: OpenType Features: Order of Precedence
-
- Moderator
- Posts: 11229
- Joined: Fri Oct 04, 2002 12:41 am
- Location: Bilthoven, The Netherlands
- Contact:
Re: OpenType Features: Order of Precedence
Would this work if both frac and ordn are activated:
-
- Top Typographer
- Posts: 9890
- Joined: Tue Oct 29, 2002 5:28 am
- Location: Seven Kings, London UK
- Contact:
Re: OpenType Features: Order of Precedence
That looks fine to me. However, I am not too sure if the superscripted x in 2x would be expected.Erwin Denissen wrote:Would this work if both frac and ordn are activated:
As far as I know, only d, h, n, r, s, t, è and ú are valid for ordinal numbers, but there may be others in other languages.
Abbreviations like Mlle for Mademoiselle are not Ordinals.
I think that Spanish ordinals ªº are Latin-1 Supplement glyphs, and should not use ordinals either.
Re: OpenType Features: Order of Precedence
I am sure that the superscripted x in 2x would not be expected. In normal mathematical notation, 2x means "2 times x" but 2 followed by a superscript x means "2 to the power x" (i.e. 2 multiplied by itself x times).Bhikkhu Pesala wrote:That looks fine to me. However, I am not too sure if the superscripted x in 2x would be expected.
I think the same.Bhikkhu Pesala wrote:I think that Spanish ordinals ªº are Latin-1 Supplement glyphs, and should not use ordinals either.
Re: OpenType Features: Order of Precedence
In setting math equations without the benefit of MathType or one of the other equation editors (I rarely got Word's equations), the /x would have not been next to the 2 if it had been meant for a multiplication operator. If there is no space type it is meant as a "power of" operator.Alfred wrote:...
I am sure that the superscripted x in 2x would not be expected. In normal mathematical notation, 2x means "2 times x" but 2 followed by a superscript x means "2 to the power x" (i.e. 2 multiplied by itself x times).
Setting equations is by far the most laborious of any layout work. It gets checked, double & triple checked throughout the editing process by multiple parties. Even so, there is almost always a mistake (well, more than one) somewhere in a book.
-
- Top Typographer
- Posts: 9890
- Joined: Tue Oct 29, 2002 5:28 am
- Location: Seven Kings, London UK
- Contact:
Re: OpenType Features: Order of Precedence
How about adding some standard fractions for powers?
I also looked for ways to accommodate thousand separators and periods. I have a kerning class that includes period, comma, and ellipsis. By adding a substitution for that with hair space, numerators work OK, but denominators break the fraction.
I also looked for ways to accommodate thousand separators and periods. I have a kerning class that includes period, comma, and ellipsis. By adding a substitution for that with hair space, numerators work OK, but denominators break the fraction.
Re: OpenType Features: Order of Precedence
Never seen a real world use of large fractions with a separator before. Are separators used in the UK or the Continent with large fractions?
-
- Moderator
- Posts: 11229
- Joined: Fri Oct 04, 2002 12:41 am
- Location: Bilthoven, The Netherlands
- Contact:
Re: OpenType Features: Order of Precedence
I don't think frac is intended for this.Bhikkhu Pesala wrote:How about adding some standard fractions for powers?
-
- Top Typographer
- Posts: 977
- Joined: Tue Jun 16, 2015 8:12 pm
- Location: Sheffield, South Yorkshire
- Contact:
Re: OpenType Features: Order of Precedence
I would be happy if the fractions feature just did fractions!
Re: OpenType Features: Order of Precedence
It does just do fractions...but the feature is dumb, not smart. Which is why we are all going through this fun exercise to fool the end applications to do our bidding without user intervention.
We all can be smarter than what most/many applications are capable of using. When we find an application that fails in processing our fonts and their instructions, we all ought to be contacting those application makers about the problem...after we make sure that our coding is correct anyway. This works for a few companies, not so well with a particular monolithic company.
It's sort of a chicken and egg thing. If we don't stretch what is currently possible and complain, they won't fix their stuff. On the other hand, unless users make use of such features then those companies see no compelling reason to fix or even expand their OT Feature support. InDesign has spotty feature support, QXP has a larger feature support and is still growing (both ID & QXP as regads westers scripts, but ID supports middle eastern languages and Q doesn't natively yet) . AD has the most complete and functional support for western scripts and makes a great test bed.
We all can be smarter than what most/many applications are capable of using. When we find an application that fails in processing our fonts and their instructions, we all ought to be contacting those application makers about the problem...after we make sure that our coding is correct anyway. This works for a few companies, not so well with a particular monolithic company.
It's sort of a chicken and egg thing. If we don't stretch what is currently possible and complain, they won't fix their stuff. On the other hand, unless users make use of such features then those companies see no compelling reason to fix or even expand their OT Feature support. InDesign has spotty feature support, QXP has a larger feature support and is still growing (both ID & QXP as regads westers scripts, but ID supports middle eastern languages and Q doesn't natively yet) . AD has the most complete and functional support for western scripts and makes a great test bed.