luaotfload icon indicating copy to clipboard operation
luaotfload copied to clipboard

Type1 Fonts not working

Open pgundlach opened this issue 12 years ago • 2 comments

luaotfload is seemingly unable to load type1 fonts

\input luaotfload.sty
\font\foo={file:fxlr}
\foo
bla bla 
\bye

with all possible combinations with path, with extension, local directory, ... fail:

! Font \foo=file:fxlr not loadable: metric data not found or bad.

pgundlach avatar Jun 25 '12 06:06 pgundlach

Yep, luaotfload is designed to load Opentype fonts (hence Truetype fonts) but that's all. The main code for font loading is written by Hans, and I doubt he's interested in loading Type 1 fonts.

However, Type 1 fonts can still be loaded the old way if they have matching tfm files, but then the encoding must be handled the old way too.

mpg avatar Jun 25 '12 07:06 mpg

There is no technical reason whatsoever that a font loader for LuaTeX should not be able to handle Type1 in the same way as it supports OpenType (minus the features,..., of course). There is no need to use the legacy 8-bit system anymore. IIRC even ConTeXt handles the type1 fonts the same way as OpenType fonts. So I don't see why this is an issue for the luaotf-loader.

I might be wrong of course and even ConTeXt doesn't handle type1 fonts that way. But still this is one of the most annoying limitation for me that luaotfload doesn't handle type1 fonts transparently :)

pgundlach avatar Jun 25 '12 07:06 pgundlach