Re: [XeTeX] How to print a variation selectors?
On Fri, Oct 14 2022 at 8:16 +02, Janusz S. Bień wrote: > Hi! > > I just noticed, to my pleasant surprise, that my Emacs renders VS1 with > the glyph used in the standard; the glyph is taken from Noto Sans > Manichaean Regular (no idea why Emacs selected just this very font). > > Actually I was looking for a font which contains glyphs for variation > selectors, so I tried to print it. As this did not work, I tried check > whether the VS1 works in the intended context, i.e. with e.g. MANICHAEAN > LETTER DALETH, and I am quite confused --- sometimes it works and > sometimes it doesn't. > > Please have a look at the enclosed examples. I will appreciate very much > your comments. I just noticed that in the list archive the first attachment looks strange, so I repeat it inline: \documentclass{standalone} \usepackage{fontspec} \setmainfont{Noto Sans Manichaean} \begin{document} \thispagestyle{empty} \char"10AC5 \char"10AC5 ︀ \char"10AC5\char"FE00 ︀ \char"FE00 fe00 \end{document} %%% Local Variables: %%% coding: utf-8-unix %%% mode: latex %%% TeX-master: t %%% TeX-PDF-mode: t %%% TeX-engine: xetex %%% End: Regards JSB -- , Janusz S. Bien emeryt (emeritus) https://sites.google.com/view/jsbien
Re: [XeTeX] How to print a variation selectors?
On Sun, Oct 16 2022 at 17:40 +02, Janusz S. Bień wrote: > On Fri, Oct 14 2022 at 8:16 +02, Janusz S. Bień wrote: >> Hi! >> >> I just noticed, to my pleasant surprise, that my Emacs renders VS1 with >> the glyph used in the standard; the glyph is taken from Noto Sans >> Manichaean Regular (no idea why Emacs selected just this very font). >> >> Actually I was looking for a font which contains glyphs for variation >> selectors, so I tried to print it. As this did not work, I tried check >> whether the VS1 works in the intended context, i.e. with e.g. MANICHAEAN >> LETTER DALETH, and I am quite confused --- sometimes it works and >> sometimes it doesn't. >> >> Please have a look at the enclosed examples. I will appreciate very much >> your comments. > > I just noticed that in the list archive the first attachment looks > strange, so I repeat it inline: Unfortunately it doesn't help. So here is just plain text: --8<---cut here---start->8--- \documentclass{standalone} \usepackage{fontspec} \setmainfont{Noto Sans Manichaean} \begin{document} \thispagestyle{empty} \char"10AC5 \char"10AC5 ︀ \char"10AC5\char"FE00 ︀ \char"FE00 fe00 \end{document} %%% Local Variables: %%% coding: utf-8-unix %%% mode: latex %%% TeX-master: t %%% TeX-PDF-mode: t %%% TeX-engine: xetex %%% End: --8<---cut here---end--->8--- > > > Regards > > JSB -- , Janusz S. Bien emeryt (emeritus) https://sites.google.com/view/jsbien
[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
Re: [XeTeX] solved partially
Am Sun, 16 Oct 2022 18:47:30 +0200 schrieb Janusz S. Bień: > 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? With lualatex you can force the glyph with Renderer=base: \documentclass{article} \usepackage{fontspec} \setmainfont{Noto Sans Manichaean}[Renderer=Base] \begin{document} \thispagestyle{empty} \char"FE00 \end{document} With xelatex you can use the glyph slot: \documentclass{article} \usepackage{fontspec} \setmainfont{Noto Sans Manichaean}\begin{document} \thispagestyle{empty} \XeTeXglyph58 \end{document} The number 58 is font dependant (I found this one by looking in the font cache file created by lualatex) -- Ulrike Fischer http://www.troubleshooting-tex.de/
Re: [XeTeX] solved partially
On Sun, Oct 16 2022 at 21:25 +02, Ulrike Fischer wrote: Thank you very much for your comments! > Am Sun, 16 Oct 2022 18:47:30 +0200 schrieb Janusz S. Bień: > >> 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? > > With lualatex you can force the glyph with Renderer=base: > > \documentclass{article} > \usepackage{fontspec} > \setmainfont{Noto Sans Manichaean}[Renderer=Base] Or \setmainfont[RawFeature={-invisible}]{Noto Sans Manichaean} (pointed to me by Frank Mittelbach) which refers directly to the Unicode character property discussed in L2/02-368 (http://www.unicode.org/L2/L2002/02368-default-ignorable.pdf) and https://github.com/latex3/luaotfload/issues/63. > \begin{document} > \thispagestyle{empty} > > \char"FE00 > > \end{document} > > With xelatex you can use the glyph slot: > > \documentclass{article} > \usepackage{fontspec} > \setmainfont{Noto Sans Manichaean}\begin{document} > \thispagestyle{empty} > > \XeTeXglyph58 That's the command I need! Either I haven't noticed it at all or forgot about it :-( > > \end{document} > > The number 58 is font dependant (I found this one by looking in the > font cache file created by lualatex) Looks like it can be found in the ttx output in *.GlyphOrder.ttx, e.g. . Thanks once again! Best regards Janusz -- , Janusz S. Bien emeryt (emeritus) https://sites.google.com/view/jsbien