View Issue Details

IDProjectCategoryView StatusLast Update
0000281luatexluatex bugpublic2009-10-27 17:55
ReporterDohyun KimAssigned ToTaco 
PrioritynormalSeverityminorReproducibilityhave not tried
Status closedResolutionfixed 
Product Version0.43.0 
Target VersionFixed in Version0.44.0 
Summary0000281: embedding="no" of opentype or truetype fonts
DescriptionTrying to get a pdf with non-embedded fonts fails with an assertion error.

\input luatex-fonts
\directlua{
callback.register('define_font',function(name,size)
  local fontdata = fonts.define.read(name,size)
  fontdata.embedding = 'no'
  return fontdata
end)
}
\font\tenrm=lmroman10-regular at 10pt \tenrm
abc.
\bye

The error message is:

luatex: ../../../source/texk/web2c/luatexdir/font/writefont.c:460: write_fontfile: Assertion `(((fd->fm)->type & 0x01) != 0)' failed.
TagsNo tags attached.

Activities

Taco

2009-10-19 13:34

administrator   ~0000301

bug fixed in revision 3073 (but note that not embedding fonts is dangerous)

Issue History

Date Modified Username Field Change
2009-10-19 13:15 Dohyun Kim New Issue
2009-10-19 13:34 Taco Status new => resolved
2009-10-19 13:34 Taco Resolution open => fixed
2009-10-19 13:34 Taco Assigned To => Taco
2009-10-19 13:34 Taco Note Added: 0000301
2009-10-27 17:55 Taco Status resolved => closed
2009-10-27 17:55 Taco Fixed in Version => 0.44.0