So in the last couple of weeks I've had some issues with the Linux Libertine font and package, both don't seem to work anymore on a completely up-to-date version of MacTeX (which is equivalent to TeX Live 2012). The issues don't appear on a Ubuntu 12.04 box which is running TeX Live 2009; I work on both computers regularly so it would be nice if any solution would work on both systems.
I'm compiling my files with pdflatex
.
As I have two problems (one with the package and one with the font itself) I'll split this question in two parts.
Libertine Package
I've always been using the libertine
package like this:
\documentclass{article}
\usepackage[osf]{libertine}
\usepackage[T1]{fontenc}
\begin{document}
The quick brown fox jumps over the sleazy dog, 0123456789.
\end{document}
This however gives me the following warning and error:
LaTeX Warning: You have requested package `libertine-type1',
but the package provides `LinuxLibertineO'.
! LaTeX Error: Unknown option `osf' for package `libertine-type1'.
When I ignore it, the output seems to be fine:
Libertine font
I've also been using this font directly in other documents, like this (cf. How do I use a particular font for a small section of text in my document?):
\documentclass{article}
\usepackage[T1]{fontenc}
\begin{document}
\fontfamily{fxlj}\selectfont
The quick brown fox jumps over the sleazy dog, 0123456789.
\end{document}
This gives the following warning:
LaTeX Font Warning: Font shape `OT1/fxlj/m/n' undefined
(Font) using `OT1/cmr/m/n' instead on input line 3.
And shows the following output: