I was looking for a new font for the manuals of my LaTeX packages and found the Linux Libertine most pleasing. However it seems that it doesn't support italic correction (yet).
I assume that a font normally defines the correct italic correction for every character, but I would settle if any extra amount would be added after italic text. At the moment a text used in \meta{...} hits the closing angle symbol because of the missing italic correction:
\documentclass{article}
\usepackage[T1]{fontenc}
\usepackage{libertine}
\begin{document}
(\textit{X})
\def\metastyle{\textit}
\def\meta#1{{\metastyle {\ensuremath \langle #1\/\ensuremath \rangle }}}
\meta{X}
\end{document}
I had the idea of the very quick and very dirty trick \let\/\, which works in this case, but not for general \textit{...} uses. (\/ is for explicit italic correction and \, adds a small space, IIRC half a normal space)
Checking the definition of \textit revealed that it finally uses \@@italiccorr which is let to the original \/ primitive.
Defining this macro as well to \, seems to add the small space also on other places where it is not wanted.
Is there a better way to get some decent italic correction for this font? It doesn't have to be perfect, just better then the current one (i.e. literally "better than nothing").
After: 
\,seems to add the small space also on other places where it is not wanted"? – Hendrik Vogt Mar 14 '11 at 15:16\@@italiccorris placed before and after every\textXXmacro, so redefining it to a fixed space is not good. – Martin Scharrer Mar 14 '11 at 18:30\/? – Hendrik Vogt Mar 14 '11 at 18:39\/is used explicitly. The problem is that\/is a primitive and\@@italiccorris\letto it, so changing it afterwards doesn't affect it. – Martin Scharrer Mar 14 '11 at 18:46\/again revealed that it produces a zero kerning in non-italic fonts (because the italic correction in them is 0) and is therefore save to be used before and after the normal\textXXmacros. A manual redefinition doesn't know if italic correction should be applied or not :-( – Martin Scharrer Mar 14 '11 at 19:12