Fontspec의 LetterSpace 방해 탭(luatex에만 해당)

Fontspec의 LetterSpace 방해 탭(luatex에만 해당)

텍스트의 일부를 글자 간격으로 지정하면 fontspec다음 탭이 "들여쓰기"되지만 lualatex로 컴파일할 때만 가능합니다. xelatex는 예상된 결과를 생성합니다:

\documentclass{book}

\usepackage{fontspec}
\setromanfont{Junicode}

%%%%%%%%%%%%%%%%%%%%%%%

\begin{document}

\begin{tabbing}
test\qquad\=O ALLCAPS first part\qquad\=second part\\
test\>O {\addfontfeature{LetterSpace=10}ALLCAPS} first part\>second part\\
test\>O {ALLCAPS} first part\>second part\\
\end{tabbing}

\end{document} 

이는 버그인 것 같습니다. 해결 방법이나 수정 사항이 있습니까?

답변1

그것은 버그이므로 버그 보고서를 열었습니다.https://github.com/latex3/luaotfload/issues/167

해결 방법은 추가 상자를 추가하는 것입니다.

\documentclass{book}

\usepackage{fontspec}
\setromanfont{Junicode}

%%%%%%%%%%%%%%%%%%%%%%%

\begin{document}

\begin{tabbing}
test\qquad\=O ALLCAPS first part\qquad\=second part\\
test\>O {\mbox{\addfontfeature{LetterSpace=10}ALLCAPS}} first part\>second part\\
test\>O {ALLCAPS} first part\>second part\\
\end{tabbing}

\end{document} 


여기에 이미지 설명을 입력하세요

관련 정보