[tex-live] Kerning problems (?) with fixed-width fonts
Nikos Platis
nplatis at freemail.gr
Wed Feb 25 11:19:43 CET 2009
I was typesetting some code with XeLaTeX and I found out that some
fixed-width fonts exhibit strange kerning.
Here is some sample code:
%%%%%%%%%%%%%%%
\documentclass{article}
\usepackage{fontspec}
\begin{document}
{\fontspec{Consolas}array[i].get() --- Consolas}
{\fontspec{Andale Mono}array[i].get() --- Andale Mono}
{\fontspec{Courier New}array[i].get() --- Courier New}
\end{document}
%%%%%%%%%%%%%%%
You will notice that Consolas and Courier New produce two problems:
- in [i], i is not centered between the [ ]
- the text around the dot (.) is not in even distances, it looks as though
the dot is moved to the left
These problems do not happen with Andale Mono.
Also if you type this text in Word or OpenOffice.org, there is no problem
at all.
Any ideas on whose fault this is?
Thank you in advance.
Nikos Platis
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://tug.org/pipermail/tex-live/attachments/20090225/a0ecb97f/attachment-0001.html
More information about the tex-live
mailing list