[XeTeX] solved partially (was: How to print a variation selectors?)

Guido Herzog guido_herzog at hotmail.com
Mon Oct 24 17:35:03 CEST 2022


 I think it's not about the variation selector,
 but about the variant form of a character.

% XeTeX

\def\VSI{\char"FE00\char"FE00}

\font\1="[NotoSansManichaean-Regular.ttf]" at 36pt
\font\2="[NotoSansManichaean-Regular.ttf]:color=FF0000" at 36pt

\def\theGlyph#1{%
%%---------------
  \leavevmode
  \hbox to15mm{\tt                  #1\hss}%
  \hbox to15mm{\1\hss\char"#1\hss}\ %
  \hbox to30mm{\tt #1 plus VS1\hss}%
  \hbox to15mm{\2\hss\char"#1\VSI\hss}\bigskip
}
\2\XeTeXglyph\XeTeXcharglyph"FE00\bigskip

\theGlyph{10AC5}
\theGlyph{10AC6}
\theGlyph{10AD6}
\theGlyph{10AD7}
\theGlyph{10AE1}

\end

Guido Herzog

________________________________
Von: XeTeX <xetex-bounces+guido_herzog=hotmail.com at tug.org> im Auftrag von Janusz S. Bień <jsbien at mimuw.edu.pl>
Gesendet: Sonntag, 16. Oktober 2022 16:47
An: XeTeX discussion <xetex at tug.org>
Betreff: [XeTeX] solved partially (was: How to print a variation selectors?)

On Sun, Oct 16 2022 at 17:56 +02, Janusz S. Bień wrote:

Frank Mittelbach was kind enough to provide me with the relevant information:

On Sun, Oct 16 2022 at  9:21 -07, Frank Mittelbach wrote:
> I checked. In Unicode this slot is default-ignorable and both XeTeX
> and LuaTeX do not print glyphs with that attribute (probably because
> the aren't not meant for printing).
>
> In luaTeX (but not in XeTeX I think) you can change this behavior.

So the questions left are:

Is it really impossible to do it in XeTeX?

What are other, more commonly used, fonts with VS1 glyphs?

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/20221024/99cd9d99/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: vs2.pdf
Type: application/pdf
Size: 35178 bytes
Desc: vs2.pdf
URL: <https://tug.org/pipermail/xetex/attachments/20221024/99cd9d99/attachment-0001.pdf>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: vs2.tex
Type: application/x-tex
Size: 2697 bytes
Desc: vs2.tex
URL: <https://tug.org/pipermail/xetex/attachments/20221024/99cd9d99/attachment-0001.tex>


More information about the XeTeX mailing list.