View Issue Details

IDProjectCategoryView StatusLast Update
0000619luatexluatex bugpublic2011-05-10 08:56
ReporterKazuki Maeda Assigned ToTaco  
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionfixed 
PlatformCore 2 DuoOSGentoo Linux 
Fixed in Version0.70.0 
Summary0000619: wrong font name is embedded for not font subsets
DescriptionWhen the key 'embedding' of a font table is set to 'no' or 'full', LuaTeX (rev 4233) writes the wrong font name '+' .. <font name> in the result PDF. The attached patch fixes this.
TagsNo tags attached.

Activities

Kazuki Maeda

2011-05-01 12:25

reporter  

writefont.patch (627 bytes)   
Index: source/texk/web2c/luatexdir/font/writefont.w
===================================================================
--- source/texk/web2c/luatexdir/font/writefont.w	(revision 4234)
+++ source/texk/web2c/luatexdir/font/writefont.w	(working copy)
@@ -211,9 +211,10 @@
         l1 = strlen(fd->subset_tag);
     l2 = strlen(fd->fontname);
     p = s = xmalloc(l1 + l2 + 2);
-    if (l1 > 0)
+    if (l1 > 0) {
         p += snprintf(p, l1 + 1, fd->subset_tag);
-    p += snprintf(p, 2, "+");
+        p += snprintf(p, 2, "+");
+    }
     snprintf(p, l2 + 1, fd->fontname);
     pdf_dict_add_name(pdf, key, s);
     xfree(s);
writefont.patch (627 bytes)   

Taco

2011-05-01 12:31

administrator   ~0000831

applied, thanks

Issue History

Date Modified Username Field Change
2011-05-01 12:25 Kazuki Maeda New Issue
2011-05-01 12:25 Kazuki Maeda File Added: writefont.patch
2011-05-01 12:28 Taco Status new => assigned
2011-05-01 12:28 Taco Assigned To => Taco
2011-05-01 12:31 Taco Note Added: 0000831
2011-05-01 12:31 Taco Status assigned => resolved
2011-05-01 12:31 Taco Resolution open => fixed
2011-05-10 08:56 Taco Fixed in Version => 0.70.0
2011-05-10 08:56 Taco Status resolved => closed