Re: [XeTeX] combine 2 glyphs with xelatex

2024-03-11 Thread Zdenek Wagner
Thank you, removing the "script" solves the problem: \documentclass{article} \usepackage{fontspec} \setmainfont{FreeSans} \begin{document} ऽे \end{document} Zdeněk Wagner https://www.zdenek-wagner.eu/ po 11. 3. 2024 v 11:13 odesílatel Antonis Tsolomitis napsal: > > > > What you ask is easy, at

Re: [XeTeX] combine 2 glyphs with xelatex

2024-03-11 Thread Antonis Tsolomitis
What you ask is easy, at least with NewComputerModern fonts. For this task you just need to disable the Script. It is the Script that puts the dotted circle not the font or xelatex. Now since what you want is not supported by the Script for Devanagari you may need some horizontal adjustment

Re: [XeTeX] combine 2 glyphs with xelatex

2024-03-11 Thread John Was
Hello Hmm. Would it work if in the \overstrike argument you put in a ghost consonant by enclosing it in \phantom{} - so it is present as far as TeX is concerned but not actually output visibly? But alas, I have no experience of handling these exotic fonts. Best John * * Слава Україні! *

Re: [XeTeX] combine 2 glyphs with xelatex

2024-03-11 Thread Zdenek Wagner
I'm afraid not or at least not easily. The matras are present in the font without the dotted circle but the circle is present in the font as a glyph which is inserted by the shaping engine if matra is used without the consonant. Thus the solution suggested by John Waś will not work because you

Re: [XeTeX] combine 2 glyphs with xelatex

2024-03-11 Thread François Patte
Le 2024-03-11 00:11, Zdenek Wagner a écrit : Bonjour avagraha is an independent vowel thus it IMHO cannot be combined with a matra but it works fine with consonants, try this: Thank you for this answer. I would like to reproduce the sign used to note a pluta in devanagari text (I attach an

Re: [XeTeX] combine 2 glyphs with xelatex

2024-03-11 Thread John Was
Hello The more language-specific elegant solution has I think been provided by Zdenek Wagner, but if it's ever desired to superimpose glyphs that don't naturally coalesce, I use the following (in plain XeTeX but it should work in LaTeX too): \def\overstrike#1#2{\leavevmode