I moved from one workstation to another (both are Win7) and made exactly the same installation from the same source files: MikTeX 2.9.4813 + TeXstudio 2.6.4.
When compiling the same input *.tex files on the new workstation, I am getting the following messages in the log file:
"pdfTeX warning: pdflatex.exe (file C:/Windows/Fonts/verdana.ttf): glyph `a' not found"
and so on for all the letters.
The resulting pdf shows empty square symbols instead of all letters.
I tried newer versions of MikTeX (2.9.6069) as well as TeXstudio (2.11.2), no change.
I am using:
\usepackage[nofligs]{verdana}
\usepackage[T1]{fontenc}
If I comment out the first line, the result is fine, but not with the verdana font I would like.
How could I solve the problem?
@Ulrike Fischer: sorry for my late response.
1.I do not have the tex256.enc in my new latex installation.
2.If I put one in the same place as it was found on the old installation and do as you proposed, I get the default font in the resulting pdf, not verdana.
3.If I comment out the \fontfamily{verdana}\selectfont, I still get only squares.
4.Am I the first one to use verdana font on the "newer versions of the fonts in windows"? I would say no.
I found a working solution, thanks to Bernard's proposal: comment out the lines:
%\usepackage[nofligs]{verdana}
%\usepackage[T1]{fontenc}
add the lines:
\usepackage{fontspec}
\setmainfont[Ligatures=TeX]{Verdana}
and compile with XeLaTeX.
Best Answer
Here a rough draft what you can try to repair the problem:
tex256.enc
winfonts256.enc
/T1Encoding [
with/winfontsT1Encoding [
uniXXXX
where XXXX is the unicode number of the glyph, e.g./A
by/uni0041
and/a
by/uni0061
(there are 256 glyph, so it is some work involved.After some replacements you can test it like this:
I made two replacements and so get now this output:
You probably will have to do something similar for
ts1-winfonts.enc
. All the map entries that you will have to adapt can be found inpdftex.map
.