OpenType Features: Order of Precedence

Post general font related questions (e.g. how to install, convert and use fonts) and requests (looking for fonts, designers etc.) here.
Erwin Denissen
Moderator
Moderator
Posts: 7373
Joined: Fri Oct 04, 2002 12:41 am
Location: De Bilt, The Netherlands
Contact:

Re: OpenType Features: Order of Precedence

Post by Erwin Denissen » Mon May 29, 2017 11:27 am

Bhikkhu Pesala wrote:I am still trying to understand what Mike means by "a run of text."
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.
Erwin Denissen
High-Logic
Proven Font Technology

Erwin Denissen
Moderator
Moderator
Posts: 7373
Joined: Fri Oct 04, 2002 12:41 am
Location: De Bilt, The Netherlands
Contact:

Re: OpenType Features: Order of Precedence

Post by Erwin Denissen » Mon May 29, 2017 11:44 am

Would this work if both frac and ordn are activated:
fraction.png
fraction.png (13.03 KiB) Viewed 3448 times
Erwin Denissen
High-Logic
Proven Font Technology

Bhikkhu Pesala
Top Typographer
Top Typographer
Posts: 7470
Joined: Tue Oct 29, 2002 5:28 am
Location: Seven Kings, London UK
Contact:

Re: OpenType Features: Order of Precedence

Post by Bhikkhu Pesala » Mon May 29, 2017 11:54 am

Erwin Denissen wrote:Would this work if both frac and ordn are activated:
That looks fine to me. However, I am not too sure if the superscripted x in 2x would be expected.

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.
My FontsReviews: MainTypeFont CreatorHelpFC11.5 Pro + MT8.0 @ Win10 1803 build 17134.345

Alfred
Top Typographer
Top Typographer
Posts: 1006
Joined: Thu Apr 18, 2013 8:08 am

Re: OpenType Features: Order of Precedence

Post by Alfred » Mon May 29, 2017 1:50 pm

Bhikkhu Pesala wrote:That looks fine to me. However, I am not too sure if the superscripted x in 2x would be expected.
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:I think that Spanish ordinals ­­ªº are Latin-1 Supplement glyphs, and should not use ordinals either.
I think the same.
FC11.0 Pro (Help) + MT8.0 Pro (Help) • Windows 10

MikeW
Posts: 538
Joined: Mon May 20, 2013 2:51 pm

Re: OpenType Features: Order of Precedence

Post by MikeW » Mon May 29, 2017 1:58 pm

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).
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.

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.

Bhikkhu Pesala
Top Typographer
Top Typographer
Posts: 7470
Joined: Tue Oct 29, 2002 5:28 am
Location: Seven Kings, London UK
Contact:

Re: OpenType Features: Order of Precedence

Post by Bhikkhu Pesala » Mon May 29, 2017 6:21 pm

How about adding some standard fractions for powers?
Powers.png
Powers.png (25.27 KiB) Viewed 3428 times
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.
Separators.png
Separators.png (24.83 KiB) Viewed 3425 times
My FontsReviews: MainTypeFont CreatorHelpFC11.5 Pro + MT8.0 @ Win10 1803 build 17134.345

MikeW
Posts: 538
Joined: Mon May 20, 2013 2:51 pm

Re: OpenType Features: Order of Precedence

Post by MikeW » Mon May 29, 2017 8:07 pm

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?

Erwin Denissen
Moderator
Moderator
Posts: 7373
Joined: Fri Oct 04, 2002 12:41 am
Location: De Bilt, The Netherlands
Contact:

Re: OpenType Features: Order of Precedence

Post by Erwin Denissen » Mon May 29, 2017 9:36 pm

Bhikkhu Pesala wrote:How about adding some standard fractions for powers?
I don't think frac is intended for this.
Erwin Denissen
High-Logic
Proven Font Technology

PJMiller
Top Typographer
Top Typographer
Posts: 600
Joined: Tue Jun 16, 2015 8:12 pm
Location: Sheffield, South Yorkshire
Contact:

Re: OpenType Features: Order of Precedence

Post by PJMiller » Mon May 29, 2017 9:58 pm

I would be happy if the fractions feature just did fractions! :lol:

MikeW
Posts: 538
Joined: Mon May 20, 2013 2:51 pm

Re: OpenType Features: Order of Precedence

Post by MikeW » Mon May 29, 2017 10:12 pm

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.

Post Reply