Forced discretionary ligatures

Does anyone know if it's possible to force discretionary ligatures in the feature code?

Comments

  • Please clarify what you mean. If they are forced, how are they discretionary?
  • You can put ligatures you want on by default into the "liga" feature, or ones that you want to not be able to be disabled by the user into the "rlig" feature. However, use with care, this should stem from necessity, not preference.
  • Tobias Kvant
    Tobias Kvant Posts: 20
    You can put ligatures you want on by default into the "liga" feature, or ones that you want to not be able to be disabled by the user into the "rlig" feature. However, use with care, this should stem from necessity, not preference.
    Thanks a bunch!
  • Tobias Kvant
    Tobias Kvant Posts: 20
    Please clarify what you mean. If they are forced, how are they discretionary?
    I ment ligatures outside of the standard liga feature. I will use rlig instead!
  • Thomas Phinney
    Thomas Phinney Posts: 2,896
    Just to clarify:
    - there is a specific feature called “discretionary ligatures” (code: "dlig”)
    - when talking about OpenType feature code, “discretionary” is used to mean features that are off by default, and turning them on is intended to be an optional user choice (“at their discretion”).

    If we had it to do over again we might have called them “optional” or some other more obvious phrase. Even the average native English speaker probably isn’t familiar with that word usage. That’s the problem with geeks naming this stuff and not thinking about their global audience at the time!   :p
  • Nick Shinn
    Nick Shinn Posts: 2,216
    I use <rlig> for the pseudo-random effect, because it continues to function beyond the narrow range of tracking observed by <liga>, <calt> and <dlig>. 
  • Ray Larabie
    Ray Larabie Posts: 1,435
    <calt> is affected by tracking?
  • John Hudson
    John Hudson Posts: 3,225
    beyond the narrow range of tracking observed by <liga>, <calt> and <dlig> 
    Probably worth mentioning that disabling of these feature beyond a certain range of tracking is app-specific—notably in InDesign—and not part of a general OpenType Layout specification.

  • Nick Shinn
    Nick Shinn Posts: 2,216
    @Ray Larabie
    <calt> is affected by tracking?
    In InDesign, at least, which is what I always check my fonts in.
  • Igor Freiberger
    Igor Freiberger Posts: 279
    edited April 5
    If we had it to do over again we might have called them “optional” or some other more obvious phrase. Even the average native English speaker probably isn’t familiar with that word usage. That’s the problem with geeks naming this stuff and not thinking about their global audience at the time!   :p
    I love your frank comments, Thomas. 😁
    In Portuguese, we have the same word (discricionário, discrição), but it's used with this meaning only in legal realm. Very similar situation with the Spanish (discrecional, discreción). I still remember the very first time I saw the feature name and didn't understand it.
    Maybe in a revision of OT specifications, the name could be changed. If it is done now, probably we can see it adopted in less than 30 years! 😉
  • You could just call them ligatures.

  • jeremy tribby
    jeremy tribby Posts: 251
    If we had it to do over again we might have called them “optional” or some other more obvious phrase.
    "optional" would have been a great choice. evidence that "discretionary" is confusing includes figma referring to dlig as "rare ligatures," which is pretty inaccurate
  • John Hudson
    John Hudson Posts: 3,225
    edited April 6
    .
  • Nick Shinn
    Nick Shinn Posts: 2,216
    My fave: “Quaints”
  • Mark Simonson
    Mark Simonson Posts: 1,739
    edited April 6
    I always took it to mean discretionary as in "to use at your discretion."
  • Thomas Phinney
    Thomas Phinney Posts: 2,896
    edited April 6
    That is absolutely what it means.

    But the average non-native speaker does not know it—and the related word “discretion” has a second meaning, arguably more common, relating to secrecy, lack of publicity, and keeping something from being widely known.
  • Now I'd like to see an app calling them "Private ligatures" :dizzy:
  • John Butler
    John Butler Posts: 297
    edited April 8
    IMO historical ſi ligatures should be in normal liga next to fi and the like, and the ſ rules, whether implemented dumb or contextual, should be in the hist feature. Visually ſ is just an uncrossed or half-crossed f, and the need for its ligatures is visual and not historical.
    Mrs Eaves and Dalliance come to mind immediately, because I’m biased toward them, but there are many other designs where the quaint ligatures à-là tied ct and st have multiplied, and some are froofier than others. Stuff like tt, gy, zy, ggy, zzy that are not as exuberant could be put in dlig, and I propose a new “froo” feature tag for froofier ligatures. The endgame would be some kind of variable froof axis.
  • Peter Baker
    Peter Baker Posts: 190
    IMO historical ſi ligatures should be in normal liga next to fi and the like, and the ſ rules, whether implemented dumb or contextual, should be in the hist feature. Visually ſ is just an uncrossed or half-crossed f, and the need for its ligatures is visual and not historical.
    This is what I do with both Junicode and Elstob. I even have a footnote in the documentation for Junicode explaining that hlig is for sequences that should ligature only in particular historical contexts (even if the elements are modern), while ſ should form a ligature everywhere (even though one or more of the elements is historical).