TransWikia.com

Incompatibility between LuaLatex font feature and Graphite?

TeX - LaTeX Asked on September 30, 2021

when I use LuaLaTeX to modify my font (for example here kerning) at the same time as Graphite, there seems to be a problem because nothing happens. Everything seems to go well when I’m not using Graphite.

How can this be remedied? Is there an incompatibility between Graphite and fonts.handlers.otf.addfeature?

documentclass{article}
usepackage{fontspec}

directlua{fonts.handlers.otf.addfeature{
name = "mykerning",
type = "kern",
data = {["I"] = {["I"] = -100,}}
}}

%setmainfont{Linux Libertine G}
setmainfont{Linux Libertine G}[Renderer=Graphite]


begin{document}


Huge{addfontfeature{RawFeature=+mykerning} II} II

end{document}

Add your own answers!

Ask a Question

Get help from others!

© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP