Skip to content
This repository was archived by the owner on Sep 27, 2019. It is now read-only.
This repository was archived by the owner on Sep 27, 2019. It is now read-only.

TTC index parsing is fragile  #392

@wspr

Description

@wspr

I don't have much to test this with, but on my Mac I'm seeing the following behaviour:

\ifdefined\directlua
  \input luaotfload.sty
  \font\1="/System/Library/Fonts/Optima.ttc(3)"\1  bold
\else
  \font\1="[/System/Library/Fonts/Optima.ttc:2]"\1 italic
\fi
\bye

Is this a font bug, or is it expected behaviour?

Since I believe TTC indexing is a new feature in luaotfload, would it be possible to change it to be consistent with XeTeX? Otherwise I either have to document awkwardly in the fontspec documentation, or make the correction internally in fontspec; neither is appealing to me :)

Metadata

Metadata

Assignees

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions