.png)
특정 장소에서 LobsterTwo 글꼴을 사용하는 맞춤형 라텍스 기사 양식이 있습니다. 나는 이 특정 글꼴이 내 Mac이나 뒷면에서 작동하지 않는다는 것을 알았습니다. (homebrew에서 texlive 2022를 다시 설치했는데 동일한 결과가 나타납니다.) pdflatex로 문서를 컴파일하면 오류 메시지가 표시되지 않지만 경고 메시지가 표시되며 다른 글꼴로 대체됩니다.
\documentclass[10pt,a5paper]{scrbook}
\usepackage[T1]{fontenc}
\usepackage[ngerman]{babel}
\newcommand*{\LobsterTwo}{\fontfamily{LobsterTwo-LF}\selectfont}
\title{\LobsterTwo{\fontsize{80}{60}\selectfont Texte}}
%\author{{\LobsterTwo Alexander Deisting} }
\author{\fontfamily{LobsterTwo-LF}\selectfont{Alexander Deisting}}
\begin{document}
\maketitle
\end{document}
여기에 경고가 있습니다.
LaTeX Font Warning: Font shape `T1/LobsterTwo-LF/bx/n' undefined
(Font) using `T1/cmr/m/n' instead on input line 13.
LaTeX Font Warning: Font shape `T1/LobsterTwo-LF/bx/n' in size <80> not availab
le
(Font) size <35.83> substituted on input line 13.
LaTeX Font Warning: Font shape `T1/LobsterTwo-LF/m/n' undefined
(Font) using `T1/cmr/m/n' instead on input line 13.
[1{/usr/local/Cellar/texlive/20220321_3/share/texmf-dist/fonts/map/pdftex/updma
p/pdftex.map}] (./fonttest.aux)
LaTeX Font Warning: Size substitutions with differences
(Font) up to 44.17pt have occurred.
LaTeX Font Warning: Some font shapes were not available, defaults substituted.
내 컴퓨터에서 일반적으로 글꼴이 누락되었을 수 있는지 확인했지만 예상 경로에서 발견했습니다(이전 texlive 2020 설치 기준). 예를 들어 /usr/local/Cellar/texlive/20220321_3/share/texmf-dist/fonts/map/dvips/lobster2/
존재합니다. 불행히도 일부 Google 검색은 도움이 되지 않았으므로 여기에 질문이 있습니다. (Overleaf에도 같은 문제가 있습니다. 현재 다시 테스트할 이전 버전의 기계가 없으므로 이전에는 작동했다는 제 말을 믿어야 합니다.) ) 어떤 아이디어가 있습니까?
답변1
라텍스 제품군 이름은 Lbstr-LF입니다.
kpsewhich T1Lbstr-LF.fd
/usr/local/texlive/2022/texmf-dist/tex/latex/lobster2/T1Lbstr-LF.fd
\documentclass[10pt,a5paper]{scrbook}
\usepackage[T1]{fontenc}
\usepackage[ngerman]{babel}
\newcommand*{\LobsterTwo}{\fontfamily{Lbstr-LF}\selectfont}
\title{\LobsterTwo{\fontsize{80}{60}\selectfont Texte}}
%\author{{\LobsterTwo Alexander Deisting} }
\author{\fontfamily{Lbstr-LF}\selectfont{Alexander Deisting}}
\begin{document}
\maketitle
\end{document}