
Allen R. Walden의 "The New Yorker" 글꼴을 사용하려면 어떻게 해야 합니까?글꼴 공간) 일반 LaTeX(LuLaTeX 또는 XeLaTeX가 아님)에서.
답변1
이를 수행하는 방법에는 두 가지가 있습니다.
새로운 학교
autoinst
에 사용하세요 NEWYORKR.TTF
. (pdf)LaTeX에서 글꼴을 사용하는 데 필요한 모든 파일을 생성합니다. 다음과 같이 호출할 수 있습니다.
autoinst -encoding=T1 \
-ts1 \
-noupdmap \
-nooldstyle \
-noproportional \
-nosmallcaps \
-noswash \
-notitling \
-nosuperior \
-noinferiors \
-nofractions \
-noornaments \
-target=./Install \
-verbose \
NEWYORKR.TTF
올바르게 설치되면 다음과 같은 결과를 얻을 수 있습니다.
\documentclass{article}
\usepackage{fonttable,textcomp}
\usepackage[T1]{fontenc}
\usepackage{NewYorker}
\begin{document}
\xfonttable{T1}{NewYorker-TLF}{m}{n}
\clearpage
\xfonttable{TS1}{NewYorker-TLF}{m}{n}
\end{document}
오래된 학교
-file 에서 afm
및 파일을 생성 하고 다소 더 복잡한 것을 사용합니다. 다음과 같은 파일을 작성해야 합니다 .pfb
ttf
fontinst
drv
\input fontinst.sty
\needsfontinstversion{1.926}
\recordtransforms{fny-rec.tex}
\substitutesilent{bx}{m}
\substitutesilent{b}{m}
\transformfont{fnyr8r}{\reencodefont{8r}{\fromafm{NewYorker}}}
\installfonts
\installfamily{T1}{fny}{}
\installfont{fnyr8t}{fnyr8r,newlatin}{t1}{T1}{fny}{m}{n}{}
\endinstallfonts
\installfonts
\installfamily{TS1}{fny}{}
\installfont{fnyr8c}{fnyr8r,textcomp}{ts1}{TS1}{fny}{m}{n}{}
\endinstallfonts
\endrecordtransforms
\bye
그리고 다음 map
과 같은 생성기 파일이 있습니다:
\input finstmsc.sty
\resetstr{PSfontsuffix}{.pfb}
\adddriver{dvips}{fny.map}
\input fny-rec.tex
\donedrivers
\bye
그런 다음 및 파일과 함께 tex
다음을 실행해야 합니다 .drv
map
for filename in *.pl; do pltotf $filename; done
for filename in *.vpl; do vptovf $filename; done
올바르게 설치하면 다음을 얻을 수 있습니다.
\documentclass{article}
\usepackage{fonttable,textcomp}
\usepackage[T1]{fontenc}
\renewcommand*{\rmdefault}{fny}
\renewcommand*{\familydefault}{\rmdefault}
\begin{document}
\xfonttable{T1}{fny}{m}{n}
\clearpage
\xfonttable{TS1}{fny}{m}{n}
\end{document}
다음은 이름이 예상 과 일치하지 않는 fontinst
글꼴에서 쓰기 글리프를 가져오는 방법을 가르치는 것입니다 .afm
fontinst