TransWikia.com

Trajan font not displayed properly

TeX - LaTeX Asked on June 4, 2021

My codes are follows:

documentclass{book}
usepackage[T1]{fontenc}
usepackage{trajan}

begin{document}
This texttrjn{is} for test
end{document}

Above code works fine, but in the .log file, error shows as:

(C:Program FilesMiKTeXtex/latex/trajant1trjn.fd)
Missing character: There is no i in font trjnr10!
Missing character: There is no s in font trjnr10!

and the text doesn’t show in the output, please suggest how can I fix this?

I’m using MikTeX 2.9 in Windows10 (3.141592653-2.6-1.40.22 (MiKTeX 21.3)) and using LaTeX -> dvips -> PS2PDF

Also, please confirm any one that is there Trajan Bold available?

One Answer

The .fd file is simple:

DeclareFontFamily{T1}{trjn}{}
  DeclareFontShape{T1}{trjn}{m}{n}{ <-> trjnr10 }{}
  DeclareFontShape{T1}{trjn}{bx}{n}{ <-> sub * trjn/m/n }{}
  DeclareFontShape{T1}{trjn}{b}{n}{ <-> sub * trjn/m/n }{}
  DeclareFontShape{T1}{trjn}{m}{sl}{ <-> trjnsl10 }{}
  DeclareFontShape{T1}{trjn}{m}{it}{ <-> sub * trjn/m/sl }{}
endinput

and this hints that there are only the medium weight fonts, available in upright and slanted shapes. No boldface.

Now run pdflatex nfssfont and at the prompt type in trjnr10, hitting return and again hitting return at the next prompt. The output you get is

enter image description here

Oh! The font only has the uppercase letters and a few punctuation signs.

Correct answer by egreg on June 4, 2021

Add your own answers!

Ask a Question

Get help from others!

© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP