[XeTeX] using character variants as RawFeature

Baker, Peter S (psb6m) psb6m at virginia.edu
Sat May 16 19:37:51 CEST 2020


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.edu at tug.org> on behalf of Janusz S. Bień <jsbien at mimuw.edu.pl>
Sent: Saturday, May 16, 2020 11:46 AM
To: XeTeX discussion <xetex at 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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://tug.org/pipermail/xetex/attachments/20200516/b7b380f8/attachment.html>


More information about the XeTeX mailing list.