latex3 / fontspec

Font selection in LaTeX for XeTeX and LuaTeX
http://latex3.github.io/fontspec/
LaTeX Project Public License v1.3c
275 stars 33 forks source link

A bug in the documentation #483

Open niruvt opened 1 year ago

niruvt commented 1 year ago

Sorry mistakenly pressed enter and the issue got published without any content. I can't see any way to delete also. I will post the content of the issue soon.

niruvt commented 1 year ago

Gujarati output (third line) seen in the following screenshot is unexpected.

Screenshot_2023-02-24_23-49-10

A diacritic is misplaced, but maybe it is the font:

https://github.com/latex3/fontspec/blob/17f4b1b68cb2bf77d3f1ae06bf8546dbb608eec9/fontspec-doc-opentype.tex#L216

wspr commented 4 months ago

@niruvt — thanks for spotting this. Could you provide an example using a freely available font (even better if in TeX Live)? The text could be updated as well if you wish.

niruvt commented 4 months ago

@wspr thanks for the attention. I don't think any TL font (as of now) supports Gujarati script, but you can check out Mukta Vaani. In general, for most Indian scripts, the work of EkType can be considered de facto standard.

I think even Malayalam text is not rendered correctly.

These scripts require two settings enabled for correct typesetting. 1. Renderer=HarfBuzz 2. Script=XXXX (where XXXX stands for the script under consideration, Gujarati in this case). Is this the issue?