On 2-3-2011 1:47, Khaled Hosny wrote:
With last betas (minimals) I can't use CFF flavoured OpenType fonts with
more than 1000 em units, the backed reports the error:
!LuaTeX error (file /pth/to/file.otf): Invalid font type
It appears this error is reported when luatex encounters a non TTF
flavoured font when it expects one (a more explicit error message or at
least reporting the invalid type would be more helpful, I think).
Checking ConTeXt, I see in font-otf.lua:
if units> 1000 then
fileformat = "truetype"
end
Which IMO don't make sense at all since CFF fonts can very well have>
1000 em units. I think this was to work around the bug reported earlier
about TTF fonts with .otf file extension, but this is likely to break
more other fonts. Renaming the other font is easier, meanwhile neither
file extension nor em units is a reliable way to detect spline type
(which I think is already known, since Taco has a tracker item for
that).
ok, so we can assume that the backend will deal with it and stay away
from checking at the frontend, in the meantime we advise users to rename
Hans
-----------------------------------------------------------------
Hans Hagen | PRAGMA ADE
Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
| www.pragma-pod.nl
-----------------------------------------------------------------
_______________________________________________
dev-context mailing list
dev-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/dev-context