Faking Font Faces in XeTeX

I wanted to use Linux Biolinum, specifically a bold italic face, in XeTeX. Unfortunately it only has faces for bold and italic, not both. So this is how you fake it:

 BoldFont={Linux Biolinum O Bold}, 
 ItalicFont={Linux Biolinum O Italic},
]{Linux Biolinum O}


The problem with using AutoFakeBold and AutoFakeSlant was that the produced fake used the regular face as a base, giving fake-looking letter forms for 'a', 'f' etc.

In one hand it's annoying that you have to worry about things like this, in the other hand it's great that you can do things exactly how you want.

No comments:

Post a comment