Here's the syntax that worked for me:

\usepackage{fontspec}

\setmainfont{JuniusX}[RawFeature={+cv16=3}]

I didn't try to use the "Path" argument, rather had the font in 
.local/share/fonts and ran fc-cache on that directory.

Peter

Department of English
University of Virginia
P.O. Box 400121
Charlottesville, Virginia 22904-4121
________________________________
From: XeTeX <xetex-bounces+peterbaker=virginia....@tug.org> on behalf of Janusz 
S. Bień <jsb...@mimuw.edu.pl>
Sent: Saturday, May 16, 2020 11:46 AM
To: XeTeX discussion <xetex@tug.org>
Subject: [XeTeX] using character variants as RawFeature

Hi!

I try to test the character variants introduced a few days ago to
JuniusX as the result of the following issue:

https://github.com/psb1558/Junicode-New/issues/3

Here is my last test:

--8<---------------cut here---------------start------------->8---
\documentclass{article}
\usepackage{fontspec}
\begin{document}
\fontspec[Path=../fonts/,RawFeature={cv16=4}]{JuniusX-Regular.ttf}
      ø
\end{document}
--8<---------------cut here---------------end--------------->8---

I get the default variant of the letter and the log contains

"Unknown feature `cv16=4' in font."

What is wrong?

Best regards

Janusz

--
             ,
Janusz S. Bien
emeryt (emeritus)
https://sites.google.com/view/jsbien

Reply via email to