Skip to content
This repository has been archived by the owner on Jan 7, 2020. It is now read-only.

Type1 Fonts not working #47

Open
pgundlach opened this issue Jun 25, 2012 · 2 comments
Open

Type1 Fonts not working #47

pgundlach opened this issue Jun 25, 2012 · 2 comments

Comments

@pgundlach
Copy link
Contributor

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.
@mpg
Copy link
Collaborator

mpg commented Jun 25, 2012

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.

@pgundlach
Copy link
Contributor Author

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 :)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants