> And “=on” can be omitted but there is no short form for disabling a feature. 

Yes, there is: `-liga` turns liga off.


---

** [issues:#5388] Enhancement request: enable OpenType features globally**

**Status:** New
**Created:** Wed Jul 18, 2018 12:54 PM UTC by pkx166h
**Last Updated:** Tue Sep 18, 2018 07:04 AM UTC
**Owner:** nobody


Currently, it’s only possible to \override the font-features list for every 
single grob (okay, you can use something like snippet 443 
http://lsr.di.unimi.it/LSR/Item?id=443 for automization) and for every single 
markup. It would be nice if you could set font features when selecting the font 
in the \paper block:

~~~
\paper {
   #(define fonts
     (set-global-fonts
      #:music "cadence"
      #:brace "cadence"
      #:roman "Vollkorn:liga=0&dlig&zero"
      #:factor (/ staff-height pt 20)))
}
~~~

This would set Vollkorn as roman font, disable liga (for example ff ligature), 
and enable dlig (for example st ligature) and slashed zero. 

The suggested syntax using : and & is how it’s done in LibreOffice.

Cheers,
Malte



---

Sent from sourceforge.net because [email protected] is 
subscribed to https://sourceforge.net/p/testlilyissues/issues/

To unsubscribe from further messages, a project admin can change settings at 
https://sourceforge.net/p/testlilyissues/admin/issues/options.  Or, if this is 
a mailing list, you can unsubscribe from the mailing list.
_______________________________________________
Testlilyissues-auto mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/testlilyissues-auto

Reply via email to